@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.
- package/actionsEnvironmentSecret.d.ts +0 -37
- package/actionsEnvironmentSecret.js +17 -54
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsEnvironmentVariable.d.ts +5 -5
- package/actionsEnvironmentVariable.js +21 -21
- package/actionsEnvironmentVariable.js.map +1 -1
- package/actionsHostedRunner.d.ts +250 -0
- package/actionsHostedRunner.js +158 -0
- package/actionsHostedRunner.js.map +1 -0
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +2 -2
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +7 -7
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +2 -2
- package/actionsOrganizationPermissions.js +13 -13
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +6 -39
- package/actionsOrganizationSecret.js +21 -55
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +2 -2
- package/actionsOrganizationSecretRepositories.js +10 -10
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsOrganizationSecretRepository.d.ts +89 -0
- package/actionsOrganizationSecretRepository.js +86 -0
- package/actionsOrganizationSecretRepository.js.map +1 -0
- package/actionsOrganizationVariable.d.ts +4 -4
- package/actionsOrganizationVariable.js +19 -19
- package/actionsOrganizationVariable.js.map +1 -1
- package/actionsRepositoryAccessLevel.d.ts +5 -2
- package/actionsRepositoryAccessLevel.js +13 -10
- package/actionsRepositoryAccessLevel.js.map +1 -1
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +3 -3
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +13 -13
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsRepositoryPermissions.d.ts +2 -2
- package/actionsRepositoryPermissions.js +13 -13
- package/actionsRepositoryPermissions.js.map +1 -1
- package/actionsRunnerGroup.d.ts +5 -4
- package/actionsRunnerGroup.js +25 -24
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +6 -21
- package/actionsSecret.js +19 -35
- package/actionsSecret.js.map +1 -1
- package/actionsVariable.d.ts +3 -3
- package/actionsVariable.js +16 -16
- package/actionsVariable.js.map +1 -1
- package/appInstallationRepositories.d.ts +3 -2
- package/appInstallationRepositories.js +11 -10
- package/appInstallationRepositories.js.map +1 -1
- package/appInstallationRepository.d.ts +5 -4
- package/appInstallationRepository.js +14 -13
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +11 -6
- package/branch.js +23 -22
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +4 -1
- package/branchDefault.js +15 -13
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +9 -9
- package/branchProtection.js +39 -39
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.d.ts +58 -1
- package/branchProtectionV3.js +79 -22
- package/branchProtectionV3.js.map +1 -1
- package/codespacesOrganizationSecret.d.ts +2 -39
- package/codespacesOrganizationSecret.js +18 -55
- package/codespacesOrganizationSecret.js.map +1 -1
- package/codespacesOrganizationSecretRepositories.d.ts +2 -2
- package/codespacesOrganizationSecretRepositories.js +10 -10
- package/codespacesOrganizationSecretRepositories.js.map +1 -1
- package/codespacesSecret.d.ts +3 -21
- package/codespacesSecret.js +17 -35
- package/codespacesSecret.js.map +1 -1
- package/codespacesUserSecret.d.ts +2 -21
- package/codespacesUserSecret.js +15 -34
- package/codespacesUserSecret.js.map +1 -1
- package/config/index.js +1 -1
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +8 -9
- package/config/vars.js +9 -5
- package/config/vars.js.map +1 -1
- package/dependabotOrganizationSecret.d.ts +2 -39
- package/dependabotOrganizationSecret.js +18 -55
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.d.ts +3 -3
- package/dependabotOrganizationSecretRepositories.js +11 -11
- package/dependabotOrganizationSecretRepositories.js.map +1 -1
- package/dependabotSecret.d.ts +3 -21
- package/dependabotSecret.js +17 -35
- package/dependabotSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +3 -4
- package/emuGroupMapping.js +12 -13
- package/emuGroupMapping.js.map +1 -1
- package/enterpriseActionsPermissions.d.ts +137 -0
- package/enterpriseActionsPermissions.js +102 -0
- package/enterpriseActionsPermissions.js.map +1 -0
- package/enterpriseActionsRunnerGroup.d.ts +190 -0
- package/enterpriseActionsRunnerGroup.js +113 -0
- package/enterpriseActionsRunnerGroup.js.map +1 -0
- package/enterpriseActionsWorkflowPermissions.d.ts +113 -0
- package/enterpriseActionsWorkflowPermissions.js +97 -0
- package/enterpriseActionsWorkflowPermissions.js.map +1 -0
- package/enterpriseOrganization.d.ts +11 -2
- package/enterpriseOrganization.js +22 -19
- package/enterpriseOrganization.js.map +1 -1
- package/enterpriseSecurityAnalysisSettings.d.ts +162 -0
- package/enterpriseSecurityAnalysisSettings.js +116 -0
- package/enterpriseSecurityAnalysisSettings.js.map +1 -0
- package/getActionsEnvironmentPublicKey.d.ts +80 -0
- package/getActionsEnvironmentPublicKey.js +56 -0
- package/getActionsEnvironmentPublicKey.js.map +1 -0
- package/getActionsEnvironmentSecrets.d.ts +3 -3
- package/getActionsEnvironmentSecrets.js +9 -4
- package/getActionsEnvironmentSecrets.js.map +1 -1
- package/getActionsEnvironmentVariables.d.ts +3 -3
- package/getActionsEnvironmentVariables.js +9 -4
- package/getActionsEnvironmentVariables.js.map +1 -1
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +1 -1
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js +3 -2
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsOrganizationPublicKey.d.ts +1 -1
- package/getActionsOrganizationPublicKey.js +3 -2
- package/getActionsOrganizationPublicKey.js.map +1 -1
- package/getActionsOrganizationRegistrationToken.d.ts +1 -1
- package/getActionsOrganizationRegistrationToken.js +3 -2
- package/getActionsOrganizationRegistrationToken.js.map +1 -1
- package/getActionsOrganizationSecrets.d.ts +1 -1
- package/getActionsOrganizationSecrets.js +3 -2
- package/getActionsOrganizationSecrets.js.map +1 -1
- package/getActionsOrganizationVariables.d.ts +1 -1
- package/getActionsOrganizationVariables.js +3 -2
- package/getActionsOrganizationVariables.js.map +1 -1
- package/getActionsPublicKey.d.ts +1 -1
- package/getActionsPublicKey.js +5 -2
- package/getActionsPublicKey.js.map +1 -1
- package/getActionsRegistrationToken.d.ts +1 -1
- package/getActionsRegistrationToken.js +5 -2
- package/getActionsRegistrationToken.js.map +1 -1
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +1 -1
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js +5 -2
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsSecrets.d.ts +1 -1
- package/getActionsSecrets.js +7 -2
- package/getActionsSecrets.js.map +1 -1
- package/getActionsVariables.d.ts +1 -1
- package/getActionsVariables.js +7 -2
- package/getActionsVariables.js.map +1 -1
- package/getAppToken.d.ts +13 -9
- package/getAppToken.js +19 -10
- package/getAppToken.js.map +1 -1
- package/getBranch.d.ts +3 -3
- package/getBranch.js +8 -4
- package/getBranch.js.map +1 -1
- package/getBranchProtectionRules.d.ts +1 -1
- package/getBranchProtectionRules.js +5 -2
- package/getBranchProtectionRules.js.map +1 -1
- package/getCodespacesOrganizationPublicKey.d.ts +1 -1
- package/getCodespacesOrganizationPublicKey.js +3 -2
- package/getCodespacesOrganizationPublicKey.js.map +1 -1
- package/getCodespacesOrganizationSecrets.d.ts +1 -1
- package/getCodespacesOrganizationSecrets.js +3 -2
- package/getCodespacesOrganizationSecrets.js.map +1 -1
- package/getCodespacesPublicKey.d.ts +1 -1
- package/getCodespacesPublicKey.js +5 -2
- package/getCodespacesPublicKey.js.map +1 -1
- package/getCodespacesSecrets.d.ts +1 -1
- package/getCodespacesSecrets.js +7 -2
- package/getCodespacesSecrets.js.map +1 -1
- package/getCodespacesUserPublicKey.d.ts +1 -1
- package/getCodespacesUserPublicKey.js +3 -2
- package/getCodespacesUserPublicKey.js.map +1 -1
- package/getCodespacesUserSecrets.d.ts +1 -1
- package/getCodespacesUserSecrets.js +3 -2
- package/getCodespacesUserSecrets.js.map +1 -1
- package/getCollaborators.d.ts +13 -1
- package/getCollaborators.js +9 -2
- package/getCollaborators.js.map +1 -1
- package/getDependabotOrganizationPublicKey.d.ts +1 -1
- package/getDependabotOrganizationPublicKey.js +3 -2
- package/getDependabotOrganizationPublicKey.js.map +1 -1
- package/getDependabotOrganizationSecrets.d.ts +1 -1
- package/getDependabotOrganizationSecrets.js +3 -2
- package/getDependabotOrganizationSecrets.js.map +1 -1
- package/getDependabotPublicKey.d.ts +1 -1
- package/getDependabotPublicKey.js +5 -2
- package/getDependabotPublicKey.js.map +1 -1
- package/getDependabotSecrets.d.ts +1 -1
- package/getDependabotSecrets.js +7 -2
- package/getDependabotSecrets.js.map +1 -1
- package/getEnterprise.d.ts +5 -1
- package/getEnterprise.js +5 -2
- package/getEnterprise.js.map +1 -1
- package/getExternalGroups.d.ts +1 -1
- package/getExternalGroups.js +3 -2
- package/getExternalGroups.js.map +1 -1
- package/getGithubApp.d.ts +1 -1
- package/getGithubApp.js +5 -2
- package/getGithubApp.js.map +1 -1
- package/getIpRanges.d.ts +1 -1
- package/getIpRanges.js +3 -2
- package/getIpRanges.js.map +1 -1
- package/getIssueLabels.d.ts +1 -1
- package/getIssueLabels.js +5 -2
- package/getIssueLabels.js.map +1 -1
- package/getMembership.d.ts +1 -1
- package/getMembership.js +6 -2
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +14 -5
- package/getOrganization.js +8 -2
- package/getOrganization.js.map +1 -1
- package/getOrganizationCustomProperties.d.ts +134 -0
- package/getOrganizationCustomProperties.js +62 -0
- package/getOrganizationCustomProperties.js.map +1 -0
- package/getOrganizationCustomRole.d.ts +5 -1
- package/getOrganizationCustomRole.js +9 -2
- package/getOrganizationCustomRole.js.map +1 -1
- package/getOrganizationExternalIdentities.d.ts +1 -1
- package/getOrganizationExternalIdentities.js +3 -2
- package/getOrganizationExternalIdentities.js.map +1 -1
- package/getOrganizationIpAllowList.d.ts +1 -1
- package/getOrganizationIpAllowList.js +3 -2
- package/getOrganizationIpAllowList.js.map +1 -1
- package/getOrganizationRepositoryRole.d.ts +82 -0
- package/getOrganizationRepositoryRole.js +54 -0
- package/getOrganizationRepositoryRole.js.map +1 -0
- package/getOrganizationRepositoryRoles.d.ts +65 -0
- package/getOrganizationRepositoryRoles.js +66 -0
- package/getOrganizationRepositoryRoles.js.map +1 -0
- package/getOrganizationRole.d.ts +82 -0
- package/getOrganizationRole.js +50 -0
- package/getOrganizationRole.js.map +1 -0
- package/getOrganizationRoleTeams.d.ts +85 -0
- package/getOrganizationRoleTeams.js +68 -0
- package/getOrganizationRoleTeams.js.map +1 -0
- package/getOrganizationRoleUsers.d.ts +81 -0
- package/getOrganizationRoleUsers.js +64 -0
- package/getOrganizationRoleUsers.js.map +1 -0
- package/getOrganizationRoles.d.ts +63 -0
- package/getOrganizationRoles.js +64 -0
- package/getOrganizationRoles.js.map +1 -0
- package/getOrganizationSecurityManagers.d.ts +45 -0
- package/getOrganizationSecurityManagers.js +46 -0
- package/getOrganizationSecurityManagers.js.map +1 -0
- package/getOrganizationTeamSyncGroups.d.ts +1 -1
- package/getOrganizationTeamSyncGroups.js +3 -2
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +1 -1
- package/getOrganizationTeams.js +8 -2
- package/getOrganizationTeams.js.map +1 -1
- package/getOrganizationWebhooks.d.ts +1 -1
- package/getOrganizationWebhooks.js +3 -2
- package/getOrganizationWebhooks.js.map +1 -1
- package/getRef.d.ts +3 -3
- package/getRef.js +9 -4
- package/getRef.js.map +1 -1
- package/getRelease.d.ts +64 -2
- package/getRelease.js +71 -2
- package/getRelease.js.map +1 -1
- package/getRepositories.d.ts +3 -3
- package/getRepositories.js +10 -4
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +3 -1
- package/getRepository.js +9 -2
- package/getRepository.js.map +1 -1
- package/getRepositoryAutolinkReferences.d.ts +1 -1
- package/getRepositoryAutolinkReferences.js +5 -2
- package/getRepositoryAutolinkReferences.js.map +1 -1
- package/getRepositoryBranches.d.ts +1 -1
- package/getRepositoryBranches.js +7 -2
- package/getRepositoryBranches.js.map +1 -1
- package/getRepositoryCustomProperties.d.ts +64 -0
- package/getRepositoryCustomProperties.js +50 -0
- package/getRepositoryCustomProperties.js.map +1 -0
- package/getRepositoryDeployKeys.d.ts +1 -1
- package/getRepositoryDeployKeys.js +5 -2
- package/getRepositoryDeployKeys.js.map +1 -1
- package/getRepositoryDeploymentBranchPolicies.d.ts +7 -3
- package/getRepositoryDeploymentBranchPolicies.js +12 -4
- package/getRepositoryDeploymentBranchPolicies.js.map +1 -1
- package/getRepositoryEnvironmentDeploymentPolicies.d.ts +75 -0
- package/getRepositoryEnvironmentDeploymentPolicies.js +54 -0
- package/getRepositoryEnvironmentDeploymentPolicies.js.map +1 -0
- package/getRepositoryEnvironments.d.ts +1 -1
- package/getRepositoryEnvironments.js +5 -2
- package/getRepositoryEnvironments.js.map +1 -1
- package/getRepositoryFile.d.ts +3 -3
- package/getRepositoryFile.js +9 -4
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +3 -3
- package/getRepositoryMilestone.js +9 -4
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +1 -1
- package/getRepositoryPullRequest.js +7 -2
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +3 -3
- package/getRepositoryPullRequests.js +13 -4
- package/getRepositoryPullRequests.js.map +1 -1
- package/getRepositoryTeams.d.ts +1 -1
- package/getRepositoryTeams.js +7 -2
- package/getRepositoryTeams.js.map +1 -1
- package/getRepositoryWebhooks.d.ts +1 -1
- package/getRepositoryWebhooks.js +5 -2
- package/getRepositoryWebhooks.js.map +1 -1
- package/getRestApi.d.ts +1 -1
- package/getRestApi.js +5 -2
- package/getRestApi.js.map +1 -1
- package/getSshKeys.d.ts +1 -1
- package/getSshKeys.js +3 -2
- package/getSshKeys.js.map +1 -1
- package/getTeam.d.ts +5 -3
- package/getTeam.js +8 -2
- package/getTeam.js.map +1 -1
- package/getTree.d.ts +17 -17
- package/getTree.js +23 -18
- package/getTree.js.map +1 -1
- package/getUser.d.ts +5 -1
- package/getUser.js +9 -2
- package/getUser.js.map +1 -1
- package/getUserExternalIdentity.d.ts +1 -1
- package/getUserExternalIdentity.js +5 -2
- package/getUserExternalIdentity.js.map +1 -1
- package/getUsers.d.ts +3 -1
- package/getUsers.js +7 -2
- package/getUsers.js.map +1 -1
- package/index.d.ts +76 -6
- package/index.js +126 -13
- package/index.js.map +1 -1
- package/issue.d.ts +17 -10
- package/issue.js +36 -29
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +20 -3
- package/issueLabel.js +34 -18
- package/issueLabel.js.map +1 -1
- package/issueLabels.d.ts +5 -16
- package/issueLabels.js +12 -23
- package/issueLabels.js.map +1 -1
- package/membership.d.ts +3 -3
- package/membership.js +13 -13
- package/membership.js.map +1 -1
- package/organizationBlock.d.ts +1 -1
- package/organizationBlock.js +7 -7
- package/organizationBlock.js.map +1 -1
- package/organizationCustomProperties.d.ts +199 -0
- package/organizationCustomProperties.js +143 -0
- package/organizationCustomProperties.js.map +1 -0
- package/organizationCustomRole.d.ts +7 -3
- package/organizationCustomRole.js +19 -15
- package/organizationCustomRole.js.map +1 -1
- package/organizationProject.d.ts +6 -1
- package/organizationProject.js +14 -9
- package/organizationProject.js.map +1 -1
- package/organizationRepositoryRole.d.ts +121 -0
- package/organizationRepositoryRole.js +92 -0
- package/organizationRepositoryRole.js.map +1 -0
- package/organizationRole.d.ts +121 -0
- package/organizationRole.js +89 -0
- package/organizationRole.js.map +1 -0
- package/organizationRoleTeam.d.ts +83 -0
- package/organizationRoleTeam.js +80 -0
- package/organizationRoleTeam.js.map +1 -0
- package/organizationRoleTeamAssignment.d.ts +94 -0
- package/organizationRoleTeamAssignment.js +91 -0
- package/organizationRoleTeamAssignment.js.map +1 -0
- package/organizationRoleUser.d.ts +83 -0
- package/organizationRoleUser.js +80 -0
- package/organizationRoleUser.js.map +1 -0
- package/organizationRuleset.d.ts +92 -3
- package/organizationRuleset.js +109 -20
- package/organizationRuleset.js.map +1 -1
- package/organizationSecurityManager.d.ts +10 -3
- package/organizationSecurityManager.js +15 -8
- package/organizationSecurityManager.js.map +1 -1
- package/organizationSettings.d.ts +18 -16
- package/organizationSettings.js +73 -71
- package/organizationSettings.js.map +1 -1
- package/organizationWebhook.d.ts +22 -3
- package/organizationWebhook.js +33 -14
- package/organizationWebhook.js.map +1 -1
- package/package.json +4 -3
- package/projectCard.d.ts +24 -10
- package/projectCard.js +37 -23
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +10 -2
- package/projectColumn.js +19 -11
- package/projectColumn.js.map +1 -1
- package/provider.d.ts +24 -11
- package/provider.js +22 -14
- package/provider.js.map +1 -1
- package/release.d.ts +91 -6
- package/release.js +54 -29
- package/release.js.map +1 -1
- package/repository.d.ts +64 -11
- package/repository.js +110 -88
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +1 -0
- package/repositoryAutolinkReference.js +15 -14
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +3 -28
- package/repositoryCollaborator.js +16 -41
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryCollaborators.d.ts +28 -38
- package/repositoryCollaborators.js +19 -39
- package/repositoryCollaborators.js.map +1 -1
- package/repositoryCustomProperty.d.ts +115 -0
- package/repositoryCustomProperty.js +98 -0
- package/repositoryCustomProperty.js.map +1 -0
- package/repositoryDependabotSecurityUpdates.d.ts +5 -4
- package/repositoryDependabotSecurityUpdates.js +10 -9
- package/repositoryDependabotSecurityUpdates.js.map +1 -1
- package/repositoryDeployKey.d.ts +6 -16
- package/repositoryDeployKey.js +20 -30
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryDeploymentBranchPolicy.d.ts +10 -1
- package/repositoryDeploymentBranchPolicy.js +18 -13
- package/repositoryDeploymentBranchPolicy.js.map +1 -1
- package/repositoryEnvironment.d.ts +7 -4
- package/repositoryEnvironment.js +25 -22
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryEnvironmentDeploymentPolicy.d.ts +54 -11
- package/repositoryEnvironmentDeploymentPolicy.js +49 -19
- package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
- package/repositoryFile.d.ts +72 -13
- package/repositoryFile.js +63 -34
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.d.ts +1 -1
- package/repositoryMilestone.js +19 -19
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.d.ts +6 -1
- package/repositoryProject.js +17 -13
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.d.ts +2 -2
- package/repositoryPullRequest.js +31 -31
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryRuleset.d.ts +50 -11
- package/repositoryRuleset.js +67 -25
- package/repositoryRuleset.js.map +1 -1
- package/repositoryTopics.d.ts +4 -4
- package/repositoryTopics.js +12 -12
- package/repositoryTopics.js.map +1 -1
- package/repositoryWebhook.d.ts +8 -8
- package/repositoryWebhook.js +20 -21
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +2 -1
- package/team.js +24 -23
- package/team.js.map +1 -1
- package/teamMembers.d.ts +9 -10
- package/teamMembers.js +17 -18
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +7 -4
- package/teamMembership.js +18 -15
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +6 -19
- package/teamRepository.js +17 -30
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +8 -5
- package/teamSettings.js +17 -14
- package/teamSettings.js.map +1 -1
- package/teamSyncGroupMapping.d.ts +18 -1
- package/teamSyncGroupMapping.js +26 -9
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/index.js +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +360 -74
- package/types/input.js +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +495 -84
- package/types/output.js +1 -1
- package/types/output.js.map +1 -1
- package/userGpgKey.d.ts +2 -3
- package/userGpgKey.js +9 -10
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.d.ts +5 -7
- package/userInvitationAccepter.js +11 -13
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.d.ts +5 -3
- package/userSshKey.js +15 -13
- package/userSshKey.js.map +1 -1
- package/utilities.d.ts +0 -4
- package/utilities.js +20 -30
- package/utilities.js.map +1 -1
- package/workflowRepositoryPermissions.d.ts +98 -0
- package/workflowRepositoryPermissions.js +82 -0
- package/workflowRepositoryPermissions.js.map +1 -0
- package/package.json.bak +0 -27
- package/repositoryTagProtection.d.ts +0 -93
- package/repositoryTagProtection.js +0 -84
- package/repositoryTagProtection.js.map +0 -1
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
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.getOrganizationCustomRoleOutput = exports.getOrganizationCustomRole = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > **Note:** This data source is deprecated, please use the `github.OrganizationRepositoryRole` data source instead.
|
|
10
|
+
*
|
|
9
11
|
* Use this data source to retrieve information about a custom role in a GitHub Organization.
|
|
10
12
|
*
|
|
11
13
|
* > Note: Custom roles are currently only available in GitHub Enterprise Cloud.
|
|
@@ -29,6 +31,8 @@ function getOrganizationCustomRole(args, opts) {
|
|
|
29
31
|
}
|
|
30
32
|
exports.getOrganizationCustomRole = getOrganizationCustomRole;
|
|
31
33
|
/**
|
|
34
|
+
* > **Note:** This data source is deprecated, please use the `github.OrganizationRepositoryRole` data source instead.
|
|
35
|
+
*
|
|
32
36
|
* Use this data source to retrieve information about a custom role in a GitHub Organization.
|
|
33
37
|
*
|
|
34
38
|
* > Note: Custom roles are currently only available in GitHub Enterprise Cloud.
|
|
@@ -45,7 +49,10 @@ exports.getOrganizationCustomRole = getOrganizationCustomRole;
|
|
|
45
49
|
* ```
|
|
46
50
|
*/
|
|
47
51
|
function getOrganizationCustomRoleOutput(args, opts) {
|
|
48
|
-
|
|
52
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
53
|
+
return pulumi.runtime.invokeOutput("github:index/getOrganizationCustomRole:getOrganizationCustomRole", {
|
|
54
|
+
"name": args.name,
|
|
55
|
+
}, opts);
|
|
49
56
|
}
|
|
50
57
|
exports.getOrganizationCustomRoleOutput = getOrganizationCustomRoleOutput;
|
|
51
58
|
//# sourceMappingURL=getOrganizationCustomRole.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganizationCustomRole.js","sourceRoot":"","sources":["../getOrganizationCustomRole.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getOrganizationCustomRole.js","sourceRoot":"","sources":["../getOrganizationCustomRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC;AAkCD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAAiC;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kEAAkE,EAAE;QACnG,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0EAKC"}
|
|
@@ -40,4 +40,4 @@ export interface GetOrganizationExternalIdentitiesResult {
|
|
|
40
40
|
* const all = github.getOrganizationExternalIdentities({});
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
43
|
-
export declare function getOrganizationExternalIdentitiesOutput(opts?: pulumi.
|
|
43
|
+
export declare function getOrganizationExternalIdentitiesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationExternalIdentitiesResult>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
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.getOrganizationExternalIdentitiesOutput = exports.getOrganizationExternalIdentities = void 0;
|
|
@@ -37,7 +37,8 @@ exports.getOrganizationExternalIdentities = getOrganizationExternalIdentities;
|
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
39
|
function getOrganizationExternalIdentitiesOutput(opts) {
|
|
40
|
-
|
|
40
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
41
|
+
return pulumi.runtime.invokeOutput("github:index/getOrganizationExternalIdentities:getOrganizationExternalIdentities", {}, opts);
|
|
41
42
|
}
|
|
42
43
|
exports.getOrganizationExternalIdentitiesOutput = getOrganizationExternalIdentitiesOutput;
|
|
43
44
|
//# sourceMappingURL=getOrganizationExternalIdentities.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganizationExternalIdentities.js","sourceRoot":"","sources":["../getOrganizationExternalIdentities.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getOrganizationExternalIdentities.js","sourceRoot":"","sources":["../getOrganizationExternalIdentities.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,iCAAiC,CAAC,IAA2B;IACzE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kFAAkF,EAAE,EAChH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8EAIC;AAeD;;;;;;;;;;;;GAYG;AACH,SAAgB,uCAAuC,CAAC,IAAiC;IACrF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kFAAkF,EAAE,EACtH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0FAIC"}
|
|
@@ -43,4 +43,4 @@ export interface GetOrganizationIpAllowListResult {
|
|
|
43
43
|
* const all = github.getOrganizationIpAllowList({});
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
|
-
export declare function getOrganizationIpAllowListOutput(opts?: pulumi.
|
|
46
|
+
export declare function getOrganizationIpAllowListOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationIpAllowListResult>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
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.getOrganizationIpAllowListOutput = exports.getOrganizationIpAllowList = void 0;
|
|
@@ -39,7 +39,8 @@ exports.getOrganizationIpAllowList = getOrganizationIpAllowList;
|
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
function getOrganizationIpAllowListOutput(opts) {
|
|
42
|
-
|
|
42
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
43
|
+
return pulumi.runtime.invokeOutput("github:index/getOrganizationIpAllowList:getOrganizationIpAllowList", {}, opts);
|
|
43
44
|
}
|
|
44
45
|
exports.getOrganizationIpAllowListOutput = getOrganizationIpAllowListOutput;
|
|
45
46
|
//# sourceMappingURL=getOrganizationIpAllowList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganizationIpAllowList.js","sourceRoot":"","sources":["../getOrganizationIpAllowList.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getOrganizationIpAllowList.js","sourceRoot":"","sources":["../getOrganizationIpAllowList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,0BAA0B,CAAC,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE,EAClG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gEAIC;AAgBD;;;;;;;;;;;;;GAaG;AACH,SAAgB,gCAAgC,CAAC,IAAiC;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE,EACxG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,4EAIC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Lookup a custom organization repository role.
|
|
4
|
+
*
|
|
5
|
+
* > **Note**: Custom organization repository roles are currently only available in GitHub Enterprise Cloud.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as github from "@pulumi/github";
|
|
12
|
+
*
|
|
13
|
+
* const example = github.getOrganizationRepositoryRole({
|
|
14
|
+
* roleId: 1234,
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getOrganizationRepositoryRole(args: GetOrganizationRepositoryRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationRepositoryRoleResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getOrganizationRepositoryRole.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetOrganizationRepositoryRoleArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The ID of the organization repository role.
|
|
25
|
+
*/
|
|
26
|
+
roleId: number;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* A collection of values returned by getOrganizationRepositoryRole.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetOrganizationRepositoryRoleResult {
|
|
32
|
+
/**
|
|
33
|
+
* The system role from which this role inherits permissions.
|
|
34
|
+
*/
|
|
35
|
+
readonly baseRole: string;
|
|
36
|
+
/**
|
|
37
|
+
* The description of the organization repository role.
|
|
38
|
+
*/
|
|
39
|
+
readonly description: string;
|
|
40
|
+
/**
|
|
41
|
+
* The provider-assigned unique ID for this managed resource.
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* The name of the organization repository role.
|
|
46
|
+
*/
|
|
47
|
+
readonly name: string;
|
|
48
|
+
/**
|
|
49
|
+
* The permissions included in this role.
|
|
50
|
+
*/
|
|
51
|
+
readonly permissions: string[];
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the organization repository role.
|
|
54
|
+
*/
|
|
55
|
+
readonly roleId: number;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Lookup a custom organization repository role.
|
|
59
|
+
*
|
|
60
|
+
* > **Note**: Custom organization repository roles are currently only available in GitHub Enterprise Cloud.
|
|
61
|
+
*
|
|
62
|
+
* ## Example Usage
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as github from "@pulumi/github";
|
|
67
|
+
*
|
|
68
|
+
* const example = github.getOrganizationRepositoryRole({
|
|
69
|
+
* roleId: 1234,
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare function getOrganizationRepositoryRoleOutput(args: GetOrganizationRepositoryRoleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationRepositoryRoleResult>;
|
|
74
|
+
/**
|
|
75
|
+
* A collection of arguments for invoking getOrganizationRepositoryRole.
|
|
76
|
+
*/
|
|
77
|
+
export interface GetOrganizationRepositoryRoleOutputArgs {
|
|
78
|
+
/**
|
|
79
|
+
* The ID of the organization repository role.
|
|
80
|
+
*/
|
|
81
|
+
roleId: pulumi.Input<number>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getOrganizationRepositoryRoleOutput = exports.getOrganizationRepositoryRole = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Lookup a custom organization repository role.
|
|
10
|
+
*
|
|
11
|
+
* > **Note**: Custom organization repository roles are currently only available in GitHub Enterprise Cloud.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as github from "@pulumi/github";
|
|
18
|
+
*
|
|
19
|
+
* const example = github.getOrganizationRepositoryRole({
|
|
20
|
+
* roleId: 1234,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getOrganizationRepositoryRole(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("github:index/getOrganizationRepositoryRole:getOrganizationRepositoryRole", {
|
|
27
|
+
"roleId": args.roleId,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getOrganizationRepositoryRole = getOrganizationRepositoryRole;
|
|
31
|
+
/**
|
|
32
|
+
* Lookup a custom organization repository role.
|
|
33
|
+
*
|
|
34
|
+
* > **Note**: Custom organization repository roles are currently only available in GitHub Enterprise Cloud.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as github from "@pulumi/github";
|
|
41
|
+
*
|
|
42
|
+
* const example = github.getOrganizationRepositoryRole({
|
|
43
|
+
* roleId: 1234,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getOrganizationRepositoryRoleOutput(args, opts) {
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invokeOutput("github:index/getOrganizationRepositoryRole:getOrganizationRepositoryRole", {
|
|
50
|
+
"roleId": args.roleId,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getOrganizationRepositoryRoleOutput = getOrganizationRepositoryRoleOutput;
|
|
54
|
+
//# sourceMappingURL=getOrganizationRepositoryRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOrganizationRepositoryRole.js","sourceRoot":"","sources":["../getOrganizationRepositoryRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0EAA0E,EAAE;QACrG,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sEAKC;AAyCD;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAAiC;IAChI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0EAA0E,EAAE;QAC3G,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kFAKC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Lookup all custom repository roles in an organization.
|
|
5
|
+
*
|
|
6
|
+
* > **Note**: Custom organization repository roles are currently only available in GitHub Enterprise Cloud.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as github from "@pulumi/github";
|
|
13
|
+
*
|
|
14
|
+
* const example = github.getOrganizationRepositoryRoles({});
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Nested Schema for `roles`
|
|
18
|
+
*
|
|
19
|
+
* ### Read-Only
|
|
20
|
+
*
|
|
21
|
+
* - `roleId` (Number) The ID of the organization repository role.
|
|
22
|
+
* - `name` (String) The name of the organization repository role.
|
|
23
|
+
* - `description` (String) The description of the organization repository role.
|
|
24
|
+
* - `baseRole` (String) The system role from which this role inherits permissions.
|
|
25
|
+
* - `permissions` (Set of String) The permissions included in this role.
|
|
26
|
+
*/
|
|
27
|
+
export declare function getOrganizationRepositoryRoles(opts?: pulumi.InvokeOptions): Promise<GetOrganizationRepositoryRolesResult>;
|
|
28
|
+
/**
|
|
29
|
+
* A collection of values returned by getOrganizationRepositoryRoles.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetOrganizationRepositoryRolesResult {
|
|
32
|
+
/**
|
|
33
|
+
* The provider-assigned unique ID for this managed resource.
|
|
34
|
+
*/
|
|
35
|
+
readonly id: string;
|
|
36
|
+
/**
|
|
37
|
+
* (Set of Object, see schema) Available organization repository roles.
|
|
38
|
+
*/
|
|
39
|
+
readonly roles: outputs.GetOrganizationRepositoryRolesRole[];
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Lookup all custom repository roles in an organization.
|
|
43
|
+
*
|
|
44
|
+
* > **Note**: Custom organization repository roles are currently only available in GitHub Enterprise Cloud.
|
|
45
|
+
*
|
|
46
|
+
* ## Example Usage
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as github from "@pulumi/github";
|
|
51
|
+
*
|
|
52
|
+
* const example = github.getOrganizationRepositoryRoles({});
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* ## Nested Schema for `roles`
|
|
56
|
+
*
|
|
57
|
+
* ### Read-Only
|
|
58
|
+
*
|
|
59
|
+
* - `roleId` (Number) The ID of the organization repository role.
|
|
60
|
+
* - `name` (String) The name of the organization repository role.
|
|
61
|
+
* - `description` (String) The description of the organization repository role.
|
|
62
|
+
* - `baseRole` (String) The system role from which this role inherits permissions.
|
|
63
|
+
* - `permissions` (Set of String) The permissions included in this role.
|
|
64
|
+
*/
|
|
65
|
+
export declare function getOrganizationRepositoryRolesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationRepositoryRolesResult>;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getOrganizationRepositoryRolesOutput = exports.getOrganizationRepositoryRoles = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Lookup all custom repository roles in an organization.
|
|
10
|
+
*
|
|
11
|
+
* > **Note**: Custom organization repository roles are currently only available in GitHub Enterprise Cloud.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as github from "@pulumi/github";
|
|
18
|
+
*
|
|
19
|
+
* const example = github.getOrganizationRepositoryRoles({});
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Nested Schema for `roles`
|
|
23
|
+
*
|
|
24
|
+
* ### Read-Only
|
|
25
|
+
*
|
|
26
|
+
* - `roleId` (Number) The ID of the organization repository role.
|
|
27
|
+
* - `name` (String) The name of the organization repository role.
|
|
28
|
+
* - `description` (String) The description of the organization repository role.
|
|
29
|
+
* - `baseRole` (String) The system role from which this role inherits permissions.
|
|
30
|
+
* - `permissions` (Set of String) The permissions included in this role.
|
|
31
|
+
*/
|
|
32
|
+
function getOrganizationRepositoryRoles(opts) {
|
|
33
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
34
|
+
return pulumi.runtime.invoke("github:index/getOrganizationRepositoryRoles:getOrganizationRepositoryRoles", {}, opts);
|
|
35
|
+
}
|
|
36
|
+
exports.getOrganizationRepositoryRoles = getOrganizationRepositoryRoles;
|
|
37
|
+
/**
|
|
38
|
+
* Lookup all custom repository roles in an organization.
|
|
39
|
+
*
|
|
40
|
+
* > **Note**: Custom organization repository roles are currently only available in GitHub Enterprise Cloud.
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as github from "@pulumi/github";
|
|
47
|
+
*
|
|
48
|
+
* const example = github.getOrganizationRepositoryRoles({});
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* ## Nested Schema for `roles`
|
|
52
|
+
*
|
|
53
|
+
* ### Read-Only
|
|
54
|
+
*
|
|
55
|
+
* - `roleId` (Number) The ID of the organization repository role.
|
|
56
|
+
* - `name` (String) The name of the organization repository role.
|
|
57
|
+
* - `description` (String) The description of the organization repository role.
|
|
58
|
+
* - `baseRole` (String) The system role from which this role inherits permissions.
|
|
59
|
+
* - `permissions` (Set of String) The permissions included in this role.
|
|
60
|
+
*/
|
|
61
|
+
function getOrganizationRepositoryRolesOutput(opts) {
|
|
62
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
63
|
+
return pulumi.runtime.invokeOutput("github:index/getOrganizationRepositoryRoles:getOrganizationRepositoryRoles", {}, opts);
|
|
64
|
+
}
|
|
65
|
+
exports.getOrganizationRepositoryRolesOutput = getOrganizationRepositoryRolesOutput;
|
|
66
|
+
//# sourceMappingURL=getOrganizationRepositoryRoles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOrganizationRepositoryRoles.js","sourceRoot":"","sources":["../getOrganizationRepositoryRoles.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,8BAA8B,CAAC,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4EAA4E,EAAE,EAC1G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,wEAIC;AAeD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,oCAAoC,CAAC,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4EAA4E,EAAE,EAChH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oFAIC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Lookup a custom organization role.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as github from "@pulumi/github";
|
|
10
|
+
*
|
|
11
|
+
* const example = github.getOrganizationRole({
|
|
12
|
+
* roleId: 1234,
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getOrganizationRole(args: GetOrganizationRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationRoleResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getOrganizationRole.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetOrganizationRoleArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The ID of the organization role.
|
|
23
|
+
*/
|
|
24
|
+
roleId: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getOrganizationRole.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetOrganizationRoleResult {
|
|
30
|
+
/**
|
|
31
|
+
* The system role from which this role inherits permissions.
|
|
32
|
+
*/
|
|
33
|
+
readonly baseRole: string;
|
|
34
|
+
/**
|
|
35
|
+
* The description of the organization role.
|
|
36
|
+
*/
|
|
37
|
+
readonly description: string;
|
|
38
|
+
/**
|
|
39
|
+
* The provider-assigned unique ID for this managed resource.
|
|
40
|
+
*/
|
|
41
|
+
readonly id: string;
|
|
42
|
+
/**
|
|
43
|
+
* The name of the organization role.
|
|
44
|
+
*/
|
|
45
|
+
readonly name: string;
|
|
46
|
+
/**
|
|
47
|
+
* The permissions included in this role.
|
|
48
|
+
*/
|
|
49
|
+
readonly permissions: string[];
|
|
50
|
+
/**
|
|
51
|
+
* The ID of the organization role.
|
|
52
|
+
*/
|
|
53
|
+
readonly roleId: number;
|
|
54
|
+
/**
|
|
55
|
+
* The source of this role; one of `Predefined`, `Organization`, or `Enterprise`.
|
|
56
|
+
*/
|
|
57
|
+
readonly source: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Lookup a custom organization role.
|
|
61
|
+
*
|
|
62
|
+
* ## Example Usage
|
|
63
|
+
*
|
|
64
|
+
* ```typescript
|
|
65
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
+
* import * as github from "@pulumi/github";
|
|
67
|
+
*
|
|
68
|
+
* const example = github.getOrganizationRole({
|
|
69
|
+
* roleId: 1234,
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export declare function getOrganizationRoleOutput(args: GetOrganizationRoleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationRoleResult>;
|
|
74
|
+
/**
|
|
75
|
+
* A collection of arguments for invoking getOrganizationRole.
|
|
76
|
+
*/
|
|
77
|
+
export interface GetOrganizationRoleOutputArgs {
|
|
78
|
+
/**
|
|
79
|
+
* The ID of the organization role.
|
|
80
|
+
*/
|
|
81
|
+
roleId: pulumi.Input<number>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getOrganizationRoleOutput = exports.getOrganizationRole = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Lookup a custom organization role.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as github from "@pulumi/github";
|
|
16
|
+
*
|
|
17
|
+
* const example = github.getOrganizationRole({
|
|
18
|
+
* roleId: 1234,
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getOrganizationRole(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("github:index/getOrganizationRole:getOrganizationRole", {
|
|
25
|
+
"roleId": args.roleId,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getOrganizationRole = getOrganizationRole;
|
|
29
|
+
/**
|
|
30
|
+
* Lookup a custom organization role.
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as github from "@pulumi/github";
|
|
37
|
+
*
|
|
38
|
+
* const example = github.getOrganizationRole({
|
|
39
|
+
* roleId: 1234,
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function getOrganizationRoleOutput(args, opts) {
|
|
44
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
45
|
+
return pulumi.runtime.invokeOutput("github:index/getOrganizationRole:getOrganizationRole", {
|
|
46
|
+
"roleId": args.roleId,
|
|
47
|
+
}, opts);
|
|
48
|
+
}
|
|
49
|
+
exports.getOrganizationRoleOutput = getOrganizationRoleOutput;
|
|
50
|
+
//# sourceMappingURL=getOrganizationRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOrganizationRole.js","sourceRoot":"","sources":["../getOrganizationRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AA6CD;;;;;;;;;;;;;GAaG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sDAAsD,EAAE;QACvF,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Lookup all teams assigned to a custom organization role.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as github from "@pulumi/github";
|
|
11
|
+
*
|
|
12
|
+
* const example = github.getOrganizationRoleTeams({
|
|
13
|
+
* roleId: 1234,
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Nested Schema for `teams`
|
|
18
|
+
*
|
|
19
|
+
* ### Read-Only
|
|
20
|
+
*
|
|
21
|
+
* - `teamId` (Number) The ID of the team.
|
|
22
|
+
* - `slug` (String) The Slug of the team name.
|
|
23
|
+
* - `name` (String) The name of the team.
|
|
24
|
+
* - `permission` (String) The permission that the team will have for its repositories.
|
|
25
|
+
*/
|
|
26
|
+
export declare function getOrganizationRoleTeams(args: GetOrganizationRoleTeamsArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationRoleTeamsResult>;
|
|
27
|
+
/**
|
|
28
|
+
* A collection of arguments for invoking getOrganizationRoleTeams.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetOrganizationRoleTeamsArgs {
|
|
31
|
+
/**
|
|
32
|
+
* The ID of the organization role.
|
|
33
|
+
*/
|
|
34
|
+
roleId: number;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A collection of values returned by getOrganizationRoleTeams.
|
|
38
|
+
*/
|
|
39
|
+
export interface GetOrganizationRoleTeamsResult {
|
|
40
|
+
/**
|
|
41
|
+
* The provider-assigned unique ID for this managed resource.
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* The ID of the organization role.
|
|
46
|
+
*/
|
|
47
|
+
readonly roleId: number;
|
|
48
|
+
/**
|
|
49
|
+
* (Set of Object, see schema) Teams assigned to the organization role.
|
|
50
|
+
*/
|
|
51
|
+
readonly teams: outputs.GetOrganizationRoleTeamsTeam[];
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Lookup all teams assigned to a custom organization role.
|
|
55
|
+
*
|
|
56
|
+
* ## Example Usage
|
|
57
|
+
*
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as github from "@pulumi/github";
|
|
61
|
+
*
|
|
62
|
+
* const example = github.getOrganizationRoleTeams({
|
|
63
|
+
* roleId: 1234,
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* ## Nested Schema for `teams`
|
|
68
|
+
*
|
|
69
|
+
* ### Read-Only
|
|
70
|
+
*
|
|
71
|
+
* - `teamId` (Number) The ID of the team.
|
|
72
|
+
* - `slug` (String) The Slug of the team name.
|
|
73
|
+
* - `name` (String) The name of the team.
|
|
74
|
+
* - `permission` (String) The permission that the team will have for its repositories.
|
|
75
|
+
*/
|
|
76
|
+
export declare function getOrganizationRoleTeamsOutput(args: GetOrganizationRoleTeamsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationRoleTeamsResult>;
|
|
77
|
+
/**
|
|
78
|
+
* A collection of arguments for invoking getOrganizationRoleTeams.
|
|
79
|
+
*/
|
|
80
|
+
export interface GetOrganizationRoleTeamsOutputArgs {
|
|
81
|
+
/**
|
|
82
|
+
* The ID of the organization role.
|
|
83
|
+
*/
|
|
84
|
+
roleId: pulumi.Input<number>;
|
|
85
|
+
}
|