@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
|
@@ -0,0 +1,158 @@
|
|
|
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.ActionsHostedRunner = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource allows you to create and manage GitHub-hosted runners within your GitHub organization.
|
|
10
|
+
* You must have admin access to an organization to use this resource.
|
|
11
|
+
*
|
|
12
|
+
* 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.
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ### Basic Usage
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as github from "@pulumi/github";
|
|
21
|
+
*
|
|
22
|
+
* const example = new github.ActionsRunnerGroup("example", {
|
|
23
|
+
* name: "example-runner-group",
|
|
24
|
+
* visibility: "all",
|
|
25
|
+
* });
|
|
26
|
+
* const exampleActionsHostedRunner = new github.ActionsHostedRunner("example", {
|
|
27
|
+
* name: "example-hosted-runner",
|
|
28
|
+
* image: {
|
|
29
|
+
* id: "2306",
|
|
30
|
+
* source: "github",
|
|
31
|
+
* },
|
|
32
|
+
* size: "4-core",
|
|
33
|
+
* runnerGroupId: example.id,
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* ### Advanced Usage with Optional Parameters
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as github from "@pulumi/github";
|
|
42
|
+
*
|
|
43
|
+
* const advanced = new github.ActionsRunnerGroup("advanced", {
|
|
44
|
+
* name: "advanced-runner-group",
|
|
45
|
+
* visibility: "selected",
|
|
46
|
+
* });
|
|
47
|
+
* const advancedActionsHostedRunner = new github.ActionsHostedRunner("advanced", {
|
|
48
|
+
* name: "advanced-hosted-runner",
|
|
49
|
+
* image: {
|
|
50
|
+
* id: "2306",
|
|
51
|
+
* source: "github",
|
|
52
|
+
* },
|
|
53
|
+
* size: "8-core",
|
|
54
|
+
* runnerGroupId: advanced.id,
|
|
55
|
+
* maximumRunners: 10,
|
|
56
|
+
* publicIpEnabled: true,
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* ## Notes
|
|
61
|
+
*
|
|
62
|
+
* * This resource is **organization-only** and cannot be used with individual accounts.
|
|
63
|
+
* * The `image` field cannot be changed after the runner is created. Changing it will force recreation of the runner.
|
|
64
|
+
* * The `size` field can be updated to scale the runner up or down as needed.
|
|
65
|
+
* * Image IDs for GitHub-owned images are numeric strings (e.g., "2306" for Ubuntu Latest 24.04), not names like "ubuntu-latest".
|
|
66
|
+
* * Deletion of hosted runners is asynchronous. The provider will poll for up to 10 minutes (configurable via timeouts) to confirm deletion.
|
|
67
|
+
* * Runner creation and updates may take several minutes as GitHub provisions the infrastructure.
|
|
68
|
+
* * Static public IPs are subject to account limits. Check your organization's limits before enabling.
|
|
69
|
+
*
|
|
70
|
+
* ## Getting Available Images and Sizes
|
|
71
|
+
*
|
|
72
|
+
* To get a list of available images:
|
|
73
|
+
*
|
|
74
|
+
* To get available machine sizes:
|
|
75
|
+
*
|
|
76
|
+
* ## Import
|
|
77
|
+
*
|
|
78
|
+
* Hosted runners can be imported using the runner ID:
|
|
79
|
+
*
|
|
80
|
+
* ```sh
|
|
81
|
+
* $ pulumi import github:index/actionsHostedRunner:ActionsHostedRunner example 123456
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
class ActionsHostedRunner extends pulumi.CustomResource {
|
|
85
|
+
/**
|
|
86
|
+
* Get an existing ActionsHostedRunner resource's state with the given name, ID, and optional extra
|
|
87
|
+
* properties used to qualify the lookup.
|
|
88
|
+
*
|
|
89
|
+
* @param name The _unique_ name of the resulting resource.
|
|
90
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
91
|
+
* @param state Any extra arguments used during the lookup.
|
|
92
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
93
|
+
*/
|
|
94
|
+
static get(name, id, state, opts) {
|
|
95
|
+
return new ActionsHostedRunner(name, state, { ...opts, id: id });
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Returns true if the given object is an instance of ActionsHostedRunner. This is designed to work even
|
|
99
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
100
|
+
*/
|
|
101
|
+
static isInstance(obj) {
|
|
102
|
+
if (obj === undefined || obj === null) {
|
|
103
|
+
return false;
|
|
104
|
+
}
|
|
105
|
+
return obj['__pulumiType'] === ActionsHostedRunner.__pulumiType;
|
|
106
|
+
}
|
|
107
|
+
constructor(name, argsOrState, opts) {
|
|
108
|
+
let resourceInputs = {};
|
|
109
|
+
opts = opts || {};
|
|
110
|
+
if (opts.id) {
|
|
111
|
+
const state = argsOrState;
|
|
112
|
+
resourceInputs["image"] = state?.image;
|
|
113
|
+
resourceInputs["imageGen"] = state?.imageGen;
|
|
114
|
+
resourceInputs["imageVersion"] = state?.imageVersion;
|
|
115
|
+
resourceInputs["lastActiveOn"] = state?.lastActiveOn;
|
|
116
|
+
resourceInputs["machineSizeDetails"] = state?.machineSizeDetails;
|
|
117
|
+
resourceInputs["maximumRunners"] = state?.maximumRunners;
|
|
118
|
+
resourceInputs["name"] = state?.name;
|
|
119
|
+
resourceInputs["platform"] = state?.platform;
|
|
120
|
+
resourceInputs["publicIpEnabled"] = state?.publicIpEnabled;
|
|
121
|
+
resourceInputs["publicIps"] = state?.publicIps;
|
|
122
|
+
resourceInputs["runnerGroupId"] = state?.runnerGroupId;
|
|
123
|
+
resourceInputs["size"] = state?.size;
|
|
124
|
+
resourceInputs["status"] = state?.status;
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
const args = argsOrState;
|
|
128
|
+
if (args?.image === undefined && !opts.urn) {
|
|
129
|
+
throw new Error("Missing required property 'image'");
|
|
130
|
+
}
|
|
131
|
+
if (args?.runnerGroupId === undefined && !opts.urn) {
|
|
132
|
+
throw new Error("Missing required property 'runnerGroupId'");
|
|
133
|
+
}
|
|
134
|
+
if (args?.size === undefined && !opts.urn) {
|
|
135
|
+
throw new Error("Missing required property 'size'");
|
|
136
|
+
}
|
|
137
|
+
resourceInputs["image"] = args?.image;
|
|
138
|
+
resourceInputs["imageGen"] = args?.imageGen;
|
|
139
|
+
resourceInputs["imageVersion"] = args?.imageVersion;
|
|
140
|
+
resourceInputs["maximumRunners"] = args?.maximumRunners;
|
|
141
|
+
resourceInputs["name"] = args?.name;
|
|
142
|
+
resourceInputs["publicIpEnabled"] = args?.publicIpEnabled;
|
|
143
|
+
resourceInputs["runnerGroupId"] = args?.runnerGroupId;
|
|
144
|
+
resourceInputs["size"] = args?.size;
|
|
145
|
+
resourceInputs["lastActiveOn"] = undefined /*out*/;
|
|
146
|
+
resourceInputs["machineSizeDetails"] = undefined /*out*/;
|
|
147
|
+
resourceInputs["platform"] = undefined /*out*/;
|
|
148
|
+
resourceInputs["publicIps"] = undefined /*out*/;
|
|
149
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
150
|
+
}
|
|
151
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
152
|
+
super(ActionsHostedRunner.__pulumiType, name, resourceInputs, opts);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
exports.ActionsHostedRunner = ActionsHostedRunner;
|
|
156
|
+
/** @internal */
|
|
157
|
+
ActionsHostedRunner.__pulumiType = 'github:index/actionsHostedRunner:ActionsHostedRunner';
|
|
158
|
+
//# sourceMappingURL=actionsHostedRunner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionsHostedRunner.js","sourceRoot":"","sources":["../actionsHostedRunner.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2EG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,C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AO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAtIL,kDAuIC;AAzHG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as github from "@pulumi/github";
|
|
14
14
|
*
|
|
15
|
-
* const exampleTemplate = new github.ActionsOrganizationOidcSubjectClaimCustomizationTemplate("
|
|
15
|
+
* const exampleTemplate = new github.ActionsOrganizationOidcSubjectClaimCustomizationTemplate("example_template", {includeClaimKeys: [
|
|
16
16
|
* "actor",
|
|
17
17
|
* "context",
|
|
18
18
|
* "repository_owner",
|
|
@@ -24,7 +24,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
24
|
* This resource can be imported using the organization's name.
|
|
25
25
|
*
|
|
26
26
|
* ```sh
|
|
27
|
-
*
|
|
27
|
+
* $ pulumi import github:index/actionsOrganizationOidcSubjectClaimCustomizationTemplate:ActionsOrganizationOidcSubjectClaimCustomizationTemplate test example_organization
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
30
|
export declare class ActionsOrganizationOidcSubjectClaimCustomizationTemplate extends pulumi.CustomResource {
|
|
@@ -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.ActionsOrganizationOidcSubjectClaimCustomizationTemplate = void 0;
|
|
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
19
|
* import * as github from "@pulumi/github";
|
|
20
20
|
*
|
|
21
|
-
* const exampleTemplate = new github.ActionsOrganizationOidcSubjectClaimCustomizationTemplate("
|
|
21
|
+
* const exampleTemplate = new github.ActionsOrganizationOidcSubjectClaimCustomizationTemplate("example_template", {includeClaimKeys: [
|
|
22
22
|
* "actor",
|
|
23
23
|
* "context",
|
|
24
24
|
* "repository_owner",
|
|
@@ -30,7 +30,7 @@ const utilities = require("./utilities");
|
|
|
30
30
|
* This resource can be imported using the organization's name.
|
|
31
31
|
*
|
|
32
32
|
* ```sh
|
|
33
|
-
*
|
|
33
|
+
* $ pulumi import github:index/actionsOrganizationOidcSubjectClaimCustomizationTemplate:ActionsOrganizationOidcSubjectClaimCustomizationTemplate test example_organization
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
36
|
class ActionsOrganizationOidcSubjectClaimCustomizationTemplate extends pulumi.CustomResource {
|
|
@@ -44,7 +44,7 @@ class ActionsOrganizationOidcSubjectClaimCustomizationTemplate extends pulumi.Cu
|
|
|
44
44
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
45
|
*/
|
|
46
46
|
static get(name, id, state, opts) {
|
|
47
|
-
return new ActionsOrganizationOidcSubjectClaimCustomizationTemplate(name, state,
|
|
47
|
+
return new ActionsOrganizationOidcSubjectClaimCustomizationTemplate(name, state, { ...opts, id: id });
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Returns true if the given object is an instance of ActionsOrganizationOidcSubjectClaimCustomizationTemplate. This is designed to work even
|
|
@@ -61,14 +61,14 @@ class ActionsOrganizationOidcSubjectClaimCustomizationTemplate extends pulumi.Cu
|
|
|
61
61
|
opts = opts || {};
|
|
62
62
|
if (opts.id) {
|
|
63
63
|
const state = argsOrState;
|
|
64
|
-
resourceInputs["includeClaimKeys"] = state
|
|
64
|
+
resourceInputs["includeClaimKeys"] = state?.includeClaimKeys;
|
|
65
65
|
}
|
|
66
66
|
else {
|
|
67
67
|
const args = argsOrState;
|
|
68
|
-
if (
|
|
68
|
+
if (args?.includeClaimKeys === undefined && !opts.urn) {
|
|
69
69
|
throw new Error("Missing required property 'includeClaimKeys'");
|
|
70
70
|
}
|
|
71
|
-
resourceInputs["includeClaimKeys"] = args
|
|
71
|
+
resourceInputs["includeClaimKeys"] = args?.includeClaimKeys;
|
|
72
72
|
}
|
|
73
73
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
74
|
super(ActionsOrganizationOidcSubjectClaimCustomizationTemplate.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationOidcSubjectClaimCustomizationTemplate.js","sourceRoot":"","sources":["../actionsOrganizationOidcSubjectClaimCustomizationTemplate.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"actionsOrganizationOidcSubjectClaimCustomizationTemplate.js","sourceRoot":"","sources":["../actionsOrganizationOidcSubjectClaimCustomizationTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,wDAAyD,SAAQ,MAAM,CAAC,cAAc;IAC/F;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqE,EAAE,IAAmC;QACnK,OAAO,IAAI,wDAAwD,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/G,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wDAAwD,CAAC,YAAY,CAAC;IACzG,CAAC;IAeD,YAAY,IAAY,EAAE,WAA0I,EAAE,IAAmC;QACrM,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwF,CAAC;YACvG,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;SAChE;aAAM;YACH,MAAM,IAAI,GAAG,WAAuF,CAAC;YACrG,IAAI,IAAI,EAAE,gBAAgB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wDAAwD,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7G,CAAC;;AAxDL,4HAyDC;AA3CG,gBAAgB;AACO,qEAAY,GAAG,gIAAgI,CAAC"}
|
|
@@ -11,7 +11,7 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as github from "@pulumi/github";
|
|
13
13
|
*
|
|
14
|
-
* const example = new github.Repository("example", {});
|
|
14
|
+
* const example = new github.Repository("example", {name: "my-repository"});
|
|
15
15
|
* const test = new github.ActionsOrganizationPermissions("test", {
|
|
16
16
|
* allowedActions: "selected",
|
|
17
17
|
* enabledRepositories: "selected",
|
|
@@ -34,7 +34,7 @@ import * as outputs from "./types/output";
|
|
|
34
34
|
* This resource can be imported using the name of the GitHub organization:
|
|
35
35
|
*
|
|
36
36
|
* ```sh
|
|
37
|
-
*
|
|
37
|
+
* $ pulumi import github:index/actionsOrganizationPermissions:ActionsOrganizationPermissions test github_organization_name
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
40
|
export declare class ActionsOrganizationPermissions extends pulumi.CustomResource {
|
|
@@ -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.ActionsOrganizationPermissions = void 0;
|
|
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as github from "@pulumi/github";
|
|
17
17
|
*
|
|
18
|
-
* const example = new github.Repository("example", {});
|
|
18
|
+
* const example = new github.Repository("example", {name: "my-repository"});
|
|
19
19
|
* const test = new github.ActionsOrganizationPermissions("test", {
|
|
20
20
|
* allowedActions: "selected",
|
|
21
21
|
* enabledRepositories: "selected",
|
|
@@ -38,7 +38,7 @@ const utilities = require("./utilities");
|
|
|
38
38
|
* This resource can be imported using the name of the GitHub organization:
|
|
39
39
|
*
|
|
40
40
|
* ```sh
|
|
41
|
-
*
|
|
41
|
+
* $ pulumi import github:index/actionsOrganizationPermissions:ActionsOrganizationPermissions test github_organization_name
|
|
42
42
|
* ```
|
|
43
43
|
*/
|
|
44
44
|
class ActionsOrganizationPermissions extends pulumi.CustomResource {
|
|
@@ -52,7 +52,7 @@ class ActionsOrganizationPermissions extends pulumi.CustomResource {
|
|
|
52
52
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
53
|
*/
|
|
54
54
|
static get(name, id, state, opts) {
|
|
55
|
-
return new ActionsOrganizationPermissions(name, state,
|
|
55
|
+
return new ActionsOrganizationPermissions(name, state, { ...opts, id: id });
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* Returns true if the given object is an instance of ActionsOrganizationPermissions. This is designed to work even
|
|
@@ -69,20 +69,20 @@ class ActionsOrganizationPermissions extends pulumi.CustomResource {
|
|
|
69
69
|
opts = opts || {};
|
|
70
70
|
if (opts.id) {
|
|
71
71
|
const state = argsOrState;
|
|
72
|
-
resourceInputs["allowedActions"] = state
|
|
73
|
-
resourceInputs["allowedActionsConfig"] = state
|
|
74
|
-
resourceInputs["enabledRepositories"] = state
|
|
75
|
-
resourceInputs["enabledRepositoriesConfig"] = state
|
|
72
|
+
resourceInputs["allowedActions"] = state?.allowedActions;
|
|
73
|
+
resourceInputs["allowedActionsConfig"] = state?.allowedActionsConfig;
|
|
74
|
+
resourceInputs["enabledRepositories"] = state?.enabledRepositories;
|
|
75
|
+
resourceInputs["enabledRepositoriesConfig"] = state?.enabledRepositoriesConfig;
|
|
76
76
|
}
|
|
77
77
|
else {
|
|
78
78
|
const args = argsOrState;
|
|
79
|
-
if (
|
|
79
|
+
if (args?.enabledRepositories === undefined && !opts.urn) {
|
|
80
80
|
throw new Error("Missing required property 'enabledRepositories'");
|
|
81
81
|
}
|
|
82
|
-
resourceInputs["allowedActions"] = args
|
|
83
|
-
resourceInputs["allowedActionsConfig"] = args
|
|
84
|
-
resourceInputs["enabledRepositories"] = args
|
|
85
|
-
resourceInputs["enabledRepositoriesConfig"] = args
|
|
82
|
+
resourceInputs["allowedActions"] = args?.allowedActions;
|
|
83
|
+
resourceInputs["allowedActionsConfig"] = args?.allowedActionsConfig;
|
|
84
|
+
resourceInputs["enabledRepositories"] = args?.enabledRepositories;
|
|
85
|
+
resourceInputs["enabledRepositoriesConfig"] = args?.enabledRepositoriesConfig;
|
|
86
86
|
}
|
|
87
87
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
88
88
|
super(ActionsOrganizationPermissions.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationPermissions.js","sourceRoot":"","sources":["../actionsOrganizationPermissions.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"actionsOrganizationPermissions.js","sourceRoot":"","sources":["../actionsOrganizationPermissions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,8BAA8B,CAAC,YAAY,CAAC;IAC/E,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAsF,EAAE,IAAmC;QACjJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8D,CAAC;YAC7E,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,EAAE,oBAAoB,CAAC;YACrE,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,EAAE,mBAAmB,CAAC;YACnE,cAAc,CAAC,2BAA2B,CAAC,GAAG,KAAK,EAAE,yBAAyB,CAAC;SAClF;aAAM;YACH,MAAM,IAAI,GAAG,WAA6D,CAAC;YAC3E,IAAI,IAAI,EAAE,mBAAmB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;aACtE;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;SACjF;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,8BAA8B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;;AA1EL,wEA2EC;AA7DG,gBAAgB;AACO,2CAAY,GAAG,4EAA4E,CAAC"}
|
|
@@ -2,51 +2,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* ## Example Usage
|
|
4
4
|
*
|
|
5
|
-
* ```typescript
|
|
6
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
-
* import * as github from "@pulumi/github";
|
|
8
|
-
*
|
|
9
|
-
* const exampleSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretActionsOrganizationSecret", {
|
|
10
|
-
* secretName: "example_secret_name",
|
|
11
|
-
* visibility: "private",
|
|
12
|
-
* plaintextValue: _var.some_secret_string,
|
|
13
|
-
* });
|
|
14
|
-
* const exampleSecretIndex_actionsOrganizationSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", {
|
|
15
|
-
* secretName: "example_secret_name",
|
|
16
|
-
* visibility: "private",
|
|
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 exampleSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretActionsOrganizationSecret", {
|
|
29
|
-
* secretName: "example_secret_name",
|
|
30
|
-
* visibility: "selected",
|
|
31
|
-
* plaintextValue: _var.some_secret_string,
|
|
32
|
-
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
33
|
-
* });
|
|
34
|
-
* const exampleSecretIndex_actionsOrganizationSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", {
|
|
35
|
-
* secretName: "example_secret_name",
|
|
36
|
-
* visibility: "selected",
|
|
37
|
-
* encryptedValue: _var.some_encrypted_secret_string,
|
|
38
|
-
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
39
|
-
* });
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
5
|
* ## Import
|
|
43
6
|
*
|
|
44
7
|
* This resource can be imported using an ID made up of the secret name:
|
|
45
8
|
*
|
|
46
9
|
* ```sh
|
|
47
|
-
*
|
|
10
|
+
* $ pulumi import github:index/actionsOrganizationSecret:ActionsOrganizationSecret test_secret test_secret_name
|
|
48
11
|
* ```
|
|
49
|
-
*
|
|
12
|
+
* NOTE: the implementation is limited in that it won't fetch the value of the
|
|
13
|
+
* `plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.
|
|
50
14
|
*/
|
|
51
15
|
export declare class ActionsOrganizationSecret extends pulumi.CustomResource {
|
|
52
16
|
/**
|
|
@@ -68,6 +32,7 @@ export declare class ActionsOrganizationSecret extends pulumi.CustomResource {
|
|
|
68
32
|
* Date of actionsSecret creation.
|
|
69
33
|
*/
|
|
70
34
|
readonly createdAt: pulumi.Output<string>;
|
|
35
|
+
readonly destroyOnDrift: pulumi.Output<boolean | undefined>;
|
|
71
36
|
/**
|
|
72
37
|
* Encrypted value of the secret using the GitHub public key in Base64 format.
|
|
73
38
|
*/
|
|
@@ -110,6 +75,7 @@ export interface ActionsOrganizationSecretState {
|
|
|
110
75
|
* Date of actionsSecret creation.
|
|
111
76
|
*/
|
|
112
77
|
createdAt?: pulumi.Input<string>;
|
|
78
|
+
destroyOnDrift?: pulumi.Input<boolean>;
|
|
113
79
|
/**
|
|
114
80
|
* Encrypted value of the secret using the GitHub public key in Base64 format.
|
|
115
81
|
*/
|
|
@@ -140,6 +106,7 @@ export interface ActionsOrganizationSecretState {
|
|
|
140
106
|
* The set of arguments for constructing a ActionsOrganizationSecret resource.
|
|
141
107
|
*/
|
|
142
108
|
export interface ActionsOrganizationSecretArgs {
|
|
109
|
+
destroyOnDrift?: pulumi.Input<boolean>;
|
|
143
110
|
/**
|
|
144
111
|
* Encrypted value of the secret using the GitHub public key in Base64 format.
|
|
145
112
|
*/
|
|
@@ -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.ActionsOrganizationSecret = void 0;
|
|
@@ -8,51 +8,15 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as github from "@pulumi/github";
|
|
14
|
-
*
|
|
15
|
-
* const exampleSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretActionsOrganizationSecret", {
|
|
16
|
-
* secretName: "example_secret_name",
|
|
17
|
-
* visibility: "private",
|
|
18
|
-
* plaintextValue: _var.some_secret_string,
|
|
19
|
-
* });
|
|
20
|
-
* const exampleSecretIndex_actionsOrganizationSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", {
|
|
21
|
-
* secretName: "example_secret_name",
|
|
22
|
-
* visibility: "private",
|
|
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 exampleSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretActionsOrganizationSecret", {
|
|
35
|
-
* secretName: "example_secret_name",
|
|
36
|
-
* visibility: "selected",
|
|
37
|
-
* plaintextValue: _var.some_secret_string,
|
|
38
|
-
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
39
|
-
* });
|
|
40
|
-
* const exampleSecretIndex_actionsOrganizationSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", {
|
|
41
|
-
* secretName: "example_secret_name",
|
|
42
|
-
* visibility: "selected",
|
|
43
|
-
* encryptedValue: _var.some_encrypted_secret_string,
|
|
44
|
-
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
45
|
-
* });
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
11
|
* ## Import
|
|
49
12
|
*
|
|
50
13
|
* This resource can be imported using an ID made up of the secret name:
|
|
51
14
|
*
|
|
52
15
|
* ```sh
|
|
53
|
-
*
|
|
16
|
+
* $ pulumi import github:index/actionsOrganizationSecret:ActionsOrganizationSecret test_secret test_secret_name
|
|
54
17
|
* ```
|
|
55
|
-
*
|
|
18
|
+
* NOTE: the implementation is limited in that it won't fetch the value of the
|
|
19
|
+
* `plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.
|
|
56
20
|
*/
|
|
57
21
|
class ActionsOrganizationSecret extends pulumi.CustomResource {
|
|
58
22
|
/**
|
|
@@ -65,7 +29,7 @@ class ActionsOrganizationSecret extends pulumi.CustomResource {
|
|
|
65
29
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
30
|
*/
|
|
67
31
|
static get(name, id, state, opts) {
|
|
68
|
-
return new ActionsOrganizationSecret(name, state,
|
|
32
|
+
return new ActionsOrganizationSecret(name, state, { ...opts, id: id });
|
|
69
33
|
}
|
|
70
34
|
/**
|
|
71
35
|
* Returns true if the given object is an instance of ActionsOrganizationSecret. This is designed to work even
|
|
@@ -82,27 +46,29 @@ class ActionsOrganizationSecret extends pulumi.CustomResource {
|
|
|
82
46
|
opts = opts || {};
|
|
83
47
|
if (opts.id) {
|
|
84
48
|
const state = argsOrState;
|
|
85
|
-
resourceInputs["createdAt"] = state
|
|
86
|
-
resourceInputs["
|
|
87
|
-
resourceInputs["
|
|
88
|
-
resourceInputs["
|
|
89
|
-
resourceInputs["
|
|
90
|
-
resourceInputs["
|
|
91
|
-
resourceInputs["
|
|
49
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
50
|
+
resourceInputs["destroyOnDrift"] = state?.destroyOnDrift;
|
|
51
|
+
resourceInputs["encryptedValue"] = state?.encryptedValue;
|
|
52
|
+
resourceInputs["plaintextValue"] = state?.plaintextValue;
|
|
53
|
+
resourceInputs["secretName"] = state?.secretName;
|
|
54
|
+
resourceInputs["selectedRepositoryIds"] = state?.selectedRepositoryIds;
|
|
55
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
56
|
+
resourceInputs["visibility"] = state?.visibility;
|
|
92
57
|
}
|
|
93
58
|
else {
|
|
94
59
|
const args = argsOrState;
|
|
95
|
-
if (
|
|
60
|
+
if (args?.secretName === undefined && !opts.urn) {
|
|
96
61
|
throw new Error("Missing required property 'secretName'");
|
|
97
62
|
}
|
|
98
|
-
if (
|
|
63
|
+
if (args?.visibility === undefined && !opts.urn) {
|
|
99
64
|
throw new Error("Missing required property 'visibility'");
|
|
100
65
|
}
|
|
101
|
-
resourceInputs["
|
|
102
|
-
resourceInputs["
|
|
103
|
-
resourceInputs["
|
|
104
|
-
resourceInputs["
|
|
105
|
-
resourceInputs["
|
|
66
|
+
resourceInputs["destroyOnDrift"] = args?.destroyOnDrift;
|
|
67
|
+
resourceInputs["encryptedValue"] = args?.encryptedValue ? pulumi.secret(args.encryptedValue) : undefined;
|
|
68
|
+
resourceInputs["plaintextValue"] = args?.plaintextValue ? pulumi.secret(args.plaintextValue) : undefined;
|
|
69
|
+
resourceInputs["secretName"] = args?.secretName;
|
|
70
|
+
resourceInputs["selectedRepositoryIds"] = args?.selectedRepositoryIds;
|
|
71
|
+
resourceInputs["visibility"] = args?.visibility;
|
|
106
72
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
107
73
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
108
74
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationSecret.js","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecret.js","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,I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AxFG,gBAAgB;AACO,sCAAY,GAAG,kEAAkE,CAAC"}
|
|
@@ -14,7 +14,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
* const repo = github.getRepository({
|
|
15
15
|
* fullName: "my-org/repo",
|
|
16
16
|
* });
|
|
17
|
-
* const orgSecretRepos = new github.ActionsOrganizationSecretRepositories("
|
|
17
|
+
* const orgSecretRepos = new github.ActionsOrganizationSecretRepositories("org_secret_repos", {
|
|
18
18
|
* secretName: "existing_secret_name",
|
|
19
19
|
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
20
20
|
* });
|
|
@@ -25,7 +25,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
25
25
|
* This resource can be imported using an ID made up of the secret name:
|
|
26
26
|
*
|
|
27
27
|
* ```sh
|
|
28
|
-
*
|
|
28
|
+
* $ pulumi import github:index/actionsOrganizationSecretRepositories:ActionsOrganizationSecretRepositories test_secret_repos test_secret_name
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
31
31
|
export declare class ActionsOrganizationSecretRepositories extends pulumi.CustomResource {
|
|
@@ -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.ActionsOrganizationSecretRepositories = void 0;
|
|
@@ -20,7 +20,7 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* const repo = github.getRepository({
|
|
21
21
|
* fullName: "my-org/repo",
|
|
22
22
|
* });
|
|
23
|
-
* const orgSecretRepos = new github.ActionsOrganizationSecretRepositories("
|
|
23
|
+
* const orgSecretRepos = new github.ActionsOrganizationSecretRepositories("org_secret_repos", {
|
|
24
24
|
* secretName: "existing_secret_name",
|
|
25
25
|
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
26
26
|
* });
|
|
@@ -31,7 +31,7 @@ const utilities = require("./utilities");
|
|
|
31
31
|
* This resource can be imported using an ID made up of the secret name:
|
|
32
32
|
*
|
|
33
33
|
* ```sh
|
|
34
|
-
*
|
|
34
|
+
* $ pulumi import github:index/actionsOrganizationSecretRepositories:ActionsOrganizationSecretRepositories test_secret_repos test_secret_name
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
37
|
class ActionsOrganizationSecretRepositories extends pulumi.CustomResource {
|
|
@@ -45,7 +45,7 @@ class ActionsOrganizationSecretRepositories extends pulumi.CustomResource {
|
|
|
45
45
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
46
|
*/
|
|
47
47
|
static get(name, id, state, opts) {
|
|
48
|
-
return new ActionsOrganizationSecretRepositories(name, state,
|
|
48
|
+
return new ActionsOrganizationSecretRepositories(name, state, { ...opts, id: id });
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* Returns true if the given object is an instance of ActionsOrganizationSecretRepositories. This is designed to work even
|
|
@@ -62,19 +62,19 @@ class ActionsOrganizationSecretRepositories extends pulumi.CustomResource {
|
|
|
62
62
|
opts = opts || {};
|
|
63
63
|
if (opts.id) {
|
|
64
64
|
const state = argsOrState;
|
|
65
|
-
resourceInputs["secretName"] = state
|
|
66
|
-
resourceInputs["selectedRepositoryIds"] = state
|
|
65
|
+
resourceInputs["secretName"] = state?.secretName;
|
|
66
|
+
resourceInputs["selectedRepositoryIds"] = state?.selectedRepositoryIds;
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
69
69
|
const args = argsOrState;
|
|
70
|
-
if (
|
|
70
|
+
if (args?.secretName === undefined && !opts.urn) {
|
|
71
71
|
throw new Error("Missing required property 'secretName'");
|
|
72
72
|
}
|
|
73
|
-
if (
|
|
73
|
+
if (args?.selectedRepositoryIds === undefined && !opts.urn) {
|
|
74
74
|
throw new Error("Missing required property 'selectedRepositoryIds'");
|
|
75
75
|
}
|
|
76
|
-
resourceInputs["secretName"] = args
|
|
77
|
-
resourceInputs["selectedRepositoryIds"] = args
|
|
76
|
+
resourceInputs["secretName"] = args?.secretName;
|
|
77
|
+
resourceInputs["selectedRepositoryIds"] = args?.selectedRepositoryIds;
|
|
78
78
|
}
|
|
79
79
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
80
|
super(ActionsOrganizationSecretRepositories.__pulumiType, name, resourceInputs, opts);
|