Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type ActionsEnvironmentSecret
- type ActionsEnvironmentSecretArgs
- type ActionsEnvironmentSecretArray
- func (ActionsEnvironmentSecretArray) ElementType() reflect.Type
- func (i ActionsEnvironmentSecretArray) ToActionsEnvironmentSecretArrayOutput() ActionsEnvironmentSecretArrayOutput
- func (i ActionsEnvironmentSecretArray) ToActionsEnvironmentSecretArrayOutputWithContext(ctx context.Context) ActionsEnvironmentSecretArrayOutput
- type ActionsEnvironmentSecretArrayInput
- type ActionsEnvironmentSecretArrayOutput
- func (ActionsEnvironmentSecretArrayOutput) ElementType() reflect.Type
- func (o ActionsEnvironmentSecretArrayOutput) Index(i pulumi.IntInput) ActionsEnvironmentSecretOutput
- func (o ActionsEnvironmentSecretArrayOutput) ToActionsEnvironmentSecretArrayOutput() ActionsEnvironmentSecretArrayOutput
- func (o ActionsEnvironmentSecretArrayOutput) ToActionsEnvironmentSecretArrayOutputWithContext(ctx context.Context) ActionsEnvironmentSecretArrayOutput
- type ActionsEnvironmentSecretInput
- type ActionsEnvironmentSecretMap
- func (ActionsEnvironmentSecretMap) ElementType() reflect.Type
- func (i ActionsEnvironmentSecretMap) ToActionsEnvironmentSecretMapOutput() ActionsEnvironmentSecretMapOutput
- func (i ActionsEnvironmentSecretMap) ToActionsEnvironmentSecretMapOutputWithContext(ctx context.Context) ActionsEnvironmentSecretMapOutput
- type ActionsEnvironmentSecretMapInput
- type ActionsEnvironmentSecretMapOutput
- func (ActionsEnvironmentSecretMapOutput) ElementType() reflect.Type
- func (o ActionsEnvironmentSecretMapOutput) MapIndex(k pulumi.StringInput) ActionsEnvironmentSecretOutput
- func (o ActionsEnvironmentSecretMapOutput) ToActionsEnvironmentSecretMapOutput() ActionsEnvironmentSecretMapOutput
- func (o ActionsEnvironmentSecretMapOutput) ToActionsEnvironmentSecretMapOutputWithContext(ctx context.Context) ActionsEnvironmentSecretMapOutput
- type ActionsEnvironmentSecretOutput
- func (o ActionsEnvironmentSecretOutput) CreatedAt() pulumi.StringOutput
- func (ActionsEnvironmentSecretOutput) ElementType() reflect.Type
- func (o ActionsEnvironmentSecretOutput) EncryptedValue() pulumi.StringPtrOutput
- func (o ActionsEnvironmentSecretOutput) Environment() pulumi.StringOutput
- func (o ActionsEnvironmentSecretOutput) PlaintextValue() pulumi.StringPtrOutput
- func (o ActionsEnvironmentSecretOutput) Repository() pulumi.StringOutput
- func (o ActionsEnvironmentSecretOutput) SecretName() pulumi.StringOutput
- func (o ActionsEnvironmentSecretOutput) ToActionsEnvironmentSecretOutput() ActionsEnvironmentSecretOutput
- func (o ActionsEnvironmentSecretOutput) ToActionsEnvironmentSecretOutputWithContext(ctx context.Context) ActionsEnvironmentSecretOutput
- func (o ActionsEnvironmentSecretOutput) UpdatedAt() pulumi.StringOutput
- type ActionsEnvironmentSecretState
- type ActionsOrganizationPermissions
- func (*ActionsOrganizationPermissions) ElementType() reflect.Type
- func (i *ActionsOrganizationPermissions) ToActionsOrganizationPermissionsOutput() ActionsOrganizationPermissionsOutput
- func (i *ActionsOrganizationPermissions) ToActionsOrganizationPermissionsOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsOutput
- type ActionsOrganizationPermissionsAllowedActionsConfig
- type ActionsOrganizationPermissionsAllowedActionsConfigArgs
- func (ActionsOrganizationPermissionsAllowedActionsConfigArgs) ElementType() reflect.Type
- func (i ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigOutput() ActionsOrganizationPermissionsAllowedActionsConfigOutput
- func (i ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigOutput
- func (i ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutput() ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
- func (i ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
- type ActionsOrganizationPermissionsAllowedActionsConfigInput
- type ActionsOrganizationPermissionsAllowedActionsConfigOutput
- func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) ElementType() reflect.Type
- func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) GithubOwnedAllowed() pulumi.BoolOutput
- func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) PatternsAlloweds() pulumi.StringArrayOutput
- func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigOutput() ActionsOrganizationPermissionsAllowedActionsConfigOutput
- func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigOutput
- func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutput() ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
- func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
- func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) VerifiedAllowed() pulumi.BoolPtrOutput
- type ActionsOrganizationPermissionsAllowedActionsConfigPtrInput
- type ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
- func (o ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) Elem() ActionsOrganizationPermissionsAllowedActionsConfigOutput
- func (ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) ElementType() reflect.Type
- func (o ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) GithubOwnedAllowed() pulumi.BoolPtrOutput
- func (o ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) PatternsAlloweds() pulumi.StringArrayOutput
- func (o ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutput() ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
- func (o ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
- func (o ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) VerifiedAllowed() pulumi.BoolPtrOutput
- type ActionsOrganizationPermissionsArgs
- type ActionsOrganizationPermissionsArray
- func (ActionsOrganizationPermissionsArray) ElementType() reflect.Type
- func (i ActionsOrganizationPermissionsArray) ToActionsOrganizationPermissionsArrayOutput() ActionsOrganizationPermissionsArrayOutput
- func (i ActionsOrganizationPermissionsArray) ToActionsOrganizationPermissionsArrayOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsArrayOutput
- type ActionsOrganizationPermissionsArrayInput
- type ActionsOrganizationPermissionsArrayOutput
- func (ActionsOrganizationPermissionsArrayOutput) ElementType() reflect.Type
- func (o ActionsOrganizationPermissionsArrayOutput) Index(i pulumi.IntInput) ActionsOrganizationPermissionsOutput
- func (o ActionsOrganizationPermissionsArrayOutput) ToActionsOrganizationPermissionsArrayOutput() ActionsOrganizationPermissionsArrayOutput
- func (o ActionsOrganizationPermissionsArrayOutput) ToActionsOrganizationPermissionsArrayOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsArrayOutput
- type ActionsOrganizationPermissionsEnabledRepositoriesConfig
- type ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs
- func (ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ElementType() reflect.Type
- func (i ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutput() ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput
- func (i ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput
- func (i ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput() ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
- func (i ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
- type ActionsOrganizationPermissionsEnabledRepositoriesConfigInput
- type ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput
- func (ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ElementType() reflect.Type
- func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) RepositoryIds() pulumi.IntArrayOutput
- func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutput() ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput
- func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput
- func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput() ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
- func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
- type ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrInput
- type ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
- func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) Elem() ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput
- func (ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) ElementType() reflect.Type
- func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) RepositoryIds() pulumi.IntArrayOutput
- func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput() ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
- func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
- type ActionsOrganizationPermissionsInput
- type ActionsOrganizationPermissionsMap
- func (ActionsOrganizationPermissionsMap) ElementType() reflect.Type
- func (i ActionsOrganizationPermissionsMap) ToActionsOrganizationPermissionsMapOutput() ActionsOrganizationPermissionsMapOutput
- func (i ActionsOrganizationPermissionsMap) ToActionsOrganizationPermissionsMapOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsMapOutput
- type ActionsOrganizationPermissionsMapInput
- type ActionsOrganizationPermissionsMapOutput
- func (ActionsOrganizationPermissionsMapOutput) ElementType() reflect.Type
- func (o ActionsOrganizationPermissionsMapOutput) MapIndex(k pulumi.StringInput) ActionsOrganizationPermissionsOutput
- func (o ActionsOrganizationPermissionsMapOutput) ToActionsOrganizationPermissionsMapOutput() ActionsOrganizationPermissionsMapOutput
- func (o ActionsOrganizationPermissionsMapOutput) ToActionsOrganizationPermissionsMapOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsMapOutput
- type ActionsOrganizationPermissionsOutput
- func (o ActionsOrganizationPermissionsOutput) AllowedActions() pulumi.StringPtrOutput
- func (o ActionsOrganizationPermissionsOutput) AllowedActionsConfig() ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
- func (ActionsOrganizationPermissionsOutput) ElementType() reflect.Type
- func (o ActionsOrganizationPermissionsOutput) EnabledRepositories() pulumi.StringOutput
- func (o ActionsOrganizationPermissionsOutput) EnabledRepositoriesConfig() ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
- func (o ActionsOrganizationPermissionsOutput) ToActionsOrganizationPermissionsOutput() ActionsOrganizationPermissionsOutput
- func (o ActionsOrganizationPermissionsOutput) ToActionsOrganizationPermissionsOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsOutput
- type ActionsOrganizationPermissionsState
- type ActionsOrganizationSecret
- type ActionsOrganizationSecretArgs
- type ActionsOrganizationSecretArray
- func (ActionsOrganizationSecretArray) ElementType() reflect.Type
- func (i ActionsOrganizationSecretArray) ToActionsOrganizationSecretArrayOutput() ActionsOrganizationSecretArrayOutput
- func (i ActionsOrganizationSecretArray) ToActionsOrganizationSecretArrayOutputWithContext(ctx context.Context) ActionsOrganizationSecretArrayOutput
- type ActionsOrganizationSecretArrayInput
- type ActionsOrganizationSecretArrayOutput
- func (ActionsOrganizationSecretArrayOutput) ElementType() reflect.Type
- func (o ActionsOrganizationSecretArrayOutput) Index(i pulumi.IntInput) ActionsOrganizationSecretOutput
- func (o ActionsOrganizationSecretArrayOutput) ToActionsOrganizationSecretArrayOutput() ActionsOrganizationSecretArrayOutput
- func (o ActionsOrganizationSecretArrayOutput) ToActionsOrganizationSecretArrayOutputWithContext(ctx context.Context) ActionsOrganizationSecretArrayOutput
- type ActionsOrganizationSecretInput
- type ActionsOrganizationSecretMap
- func (ActionsOrganizationSecretMap) ElementType() reflect.Type
- func (i ActionsOrganizationSecretMap) ToActionsOrganizationSecretMapOutput() ActionsOrganizationSecretMapOutput
- func (i ActionsOrganizationSecretMap) ToActionsOrganizationSecretMapOutputWithContext(ctx context.Context) ActionsOrganizationSecretMapOutput
- type ActionsOrganizationSecretMapInput
- type ActionsOrganizationSecretMapOutput
- func (ActionsOrganizationSecretMapOutput) ElementType() reflect.Type
- func (o ActionsOrganizationSecretMapOutput) MapIndex(k pulumi.StringInput) ActionsOrganizationSecretOutput
- func (o ActionsOrganizationSecretMapOutput) ToActionsOrganizationSecretMapOutput() ActionsOrganizationSecretMapOutput
- func (o ActionsOrganizationSecretMapOutput) ToActionsOrganizationSecretMapOutputWithContext(ctx context.Context) ActionsOrganizationSecretMapOutput
- type ActionsOrganizationSecretOutput
- func (o ActionsOrganizationSecretOutput) CreatedAt() pulumi.StringOutput
- func (ActionsOrganizationSecretOutput) ElementType() reflect.Type
- func (o ActionsOrganizationSecretOutput) EncryptedValue() pulumi.StringPtrOutput
- func (o ActionsOrganizationSecretOutput) PlaintextValue() pulumi.StringPtrOutput
- func (o ActionsOrganizationSecretOutput) SecretName() pulumi.StringOutput
- func (o ActionsOrganizationSecretOutput) SelectedRepositoryIds() pulumi.IntArrayOutput
- func (o ActionsOrganizationSecretOutput) ToActionsOrganizationSecretOutput() ActionsOrganizationSecretOutput
- func (o ActionsOrganizationSecretOutput) ToActionsOrganizationSecretOutputWithContext(ctx context.Context) ActionsOrganizationSecretOutput
- func (o ActionsOrganizationSecretOutput) UpdatedAt() pulumi.StringOutput
- func (o ActionsOrganizationSecretOutput) Visibility() pulumi.StringOutput
- type ActionsOrganizationSecretRepositories
- func (*ActionsOrganizationSecretRepositories) ElementType() reflect.Type
- func (i *ActionsOrganizationSecretRepositories) ToActionsOrganizationSecretRepositoriesOutput() ActionsOrganizationSecretRepositoriesOutput
- func (i *ActionsOrganizationSecretRepositories) ToActionsOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesOutput
- type ActionsOrganizationSecretRepositoriesArgs
- type ActionsOrganizationSecretRepositoriesArray
- func (ActionsOrganizationSecretRepositoriesArray) ElementType() reflect.Type
- func (i ActionsOrganizationSecretRepositoriesArray) ToActionsOrganizationSecretRepositoriesArrayOutput() ActionsOrganizationSecretRepositoriesArrayOutput
- func (i ActionsOrganizationSecretRepositoriesArray) ToActionsOrganizationSecretRepositoriesArrayOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesArrayOutput
- type ActionsOrganizationSecretRepositoriesArrayInput
- type ActionsOrganizationSecretRepositoriesArrayOutput
- func (ActionsOrganizationSecretRepositoriesArrayOutput) ElementType() reflect.Type
- func (o ActionsOrganizationSecretRepositoriesArrayOutput) Index(i pulumi.IntInput) ActionsOrganizationSecretRepositoriesOutput
- func (o ActionsOrganizationSecretRepositoriesArrayOutput) ToActionsOrganizationSecretRepositoriesArrayOutput() ActionsOrganizationSecretRepositoriesArrayOutput
- func (o ActionsOrganizationSecretRepositoriesArrayOutput) ToActionsOrganizationSecretRepositoriesArrayOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesArrayOutput
- type ActionsOrganizationSecretRepositoriesInput
- type ActionsOrganizationSecretRepositoriesMap
- func (ActionsOrganizationSecretRepositoriesMap) ElementType() reflect.Type
- func (i ActionsOrganizationSecretRepositoriesMap) ToActionsOrganizationSecretRepositoriesMapOutput() ActionsOrganizationSecretRepositoriesMapOutput
- func (i ActionsOrganizationSecretRepositoriesMap) ToActionsOrganizationSecretRepositoriesMapOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesMapOutput
- type ActionsOrganizationSecretRepositoriesMapInput
- type ActionsOrganizationSecretRepositoriesMapOutput
- func (ActionsOrganizationSecretRepositoriesMapOutput) ElementType() reflect.Type
- func (o ActionsOrganizationSecretRepositoriesMapOutput) MapIndex(k pulumi.StringInput) ActionsOrganizationSecretRepositoriesOutput
- func (o ActionsOrganizationSecretRepositoriesMapOutput) ToActionsOrganizationSecretRepositoriesMapOutput() ActionsOrganizationSecretRepositoriesMapOutput
- func (o ActionsOrganizationSecretRepositoriesMapOutput) ToActionsOrganizationSecretRepositoriesMapOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesMapOutput
- type ActionsOrganizationSecretRepositoriesOutput
- func (ActionsOrganizationSecretRepositoriesOutput) ElementType() reflect.Type
- func (o ActionsOrganizationSecretRepositoriesOutput) SecretName() pulumi.StringOutput
- func (o ActionsOrganizationSecretRepositoriesOutput) SelectedRepositoryIds() pulumi.IntArrayOutput
- func (o ActionsOrganizationSecretRepositoriesOutput) ToActionsOrganizationSecretRepositoriesOutput() ActionsOrganizationSecretRepositoriesOutput
- func (o ActionsOrganizationSecretRepositoriesOutput) ToActionsOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesOutput
- type ActionsOrganizationSecretRepositoriesState
- type ActionsOrganizationSecretState
- type ActionsRunnerGroup
- type ActionsRunnerGroupArgs
- type ActionsRunnerGroupArray
- type ActionsRunnerGroupArrayInput
- type ActionsRunnerGroupArrayOutput
- func (ActionsRunnerGroupArrayOutput) ElementType() reflect.Type
- func (o ActionsRunnerGroupArrayOutput) Index(i pulumi.IntInput) ActionsRunnerGroupOutput
- func (o ActionsRunnerGroupArrayOutput) ToActionsRunnerGroupArrayOutput() ActionsRunnerGroupArrayOutput
- func (o ActionsRunnerGroupArrayOutput) ToActionsRunnerGroupArrayOutputWithContext(ctx context.Context) ActionsRunnerGroupArrayOutput
- type ActionsRunnerGroupInput
- type ActionsRunnerGroupMap
- type ActionsRunnerGroupMapInput
- type ActionsRunnerGroupMapOutput
- func (ActionsRunnerGroupMapOutput) ElementType() reflect.Type
- func (o ActionsRunnerGroupMapOutput) MapIndex(k pulumi.StringInput) ActionsRunnerGroupOutput
- func (o ActionsRunnerGroupMapOutput) ToActionsRunnerGroupMapOutput() ActionsRunnerGroupMapOutput
- func (o ActionsRunnerGroupMapOutput) ToActionsRunnerGroupMapOutputWithContext(ctx context.Context) ActionsRunnerGroupMapOutput
- type ActionsRunnerGroupOutput
- func (o ActionsRunnerGroupOutput) AllowsPublicRepositories() pulumi.BoolOutput
- func (o ActionsRunnerGroupOutput) Default() pulumi.BoolOutput
- func (ActionsRunnerGroupOutput) ElementType() reflect.Type
- func (o ActionsRunnerGroupOutput) Etag() pulumi.StringOutput
- func (o ActionsRunnerGroupOutput) Inherited() pulumi.BoolOutput
- func (o ActionsRunnerGroupOutput) Name() pulumi.StringOutput
- func (o ActionsRunnerGroupOutput) RunnersUrl() pulumi.StringOutput
- func (o ActionsRunnerGroupOutput) SelectedRepositoriesUrl() pulumi.StringOutput
- func (o ActionsRunnerGroupOutput) SelectedRepositoryIds() pulumi.IntArrayOutput
- func (o ActionsRunnerGroupOutput) ToActionsRunnerGroupOutput() ActionsRunnerGroupOutput
- func (o ActionsRunnerGroupOutput) ToActionsRunnerGroupOutputWithContext(ctx context.Context) ActionsRunnerGroupOutput
- func (o ActionsRunnerGroupOutput) Visibility() pulumi.StringOutput
- type ActionsRunnerGroupState
- type ActionsSecret
- type ActionsSecretArgs
- type ActionsSecretArray
- type ActionsSecretArrayInput
- type ActionsSecretArrayOutput
- func (ActionsSecretArrayOutput) ElementType() reflect.Type
- func (o ActionsSecretArrayOutput) Index(i pulumi.IntInput) ActionsSecretOutput
- func (o ActionsSecretArrayOutput) ToActionsSecretArrayOutput() ActionsSecretArrayOutput
- func (o ActionsSecretArrayOutput) ToActionsSecretArrayOutputWithContext(ctx context.Context) ActionsSecretArrayOutput
- type ActionsSecretInput
- type ActionsSecretMap
- type ActionsSecretMapInput
- type ActionsSecretMapOutput
- func (ActionsSecretMapOutput) ElementType() reflect.Type
- func (o ActionsSecretMapOutput) MapIndex(k pulumi.StringInput) ActionsSecretOutput
- func (o ActionsSecretMapOutput) ToActionsSecretMapOutput() ActionsSecretMapOutput
- func (o ActionsSecretMapOutput) ToActionsSecretMapOutputWithContext(ctx context.Context) ActionsSecretMapOutput
- type ActionsSecretOutput
- func (o ActionsSecretOutput) CreatedAt() pulumi.StringOutput
- func (ActionsSecretOutput) ElementType() reflect.Type
- func (o ActionsSecretOutput) EncryptedValue() pulumi.StringPtrOutput
- func (o ActionsSecretOutput) PlaintextValue() pulumi.StringPtrOutput
- func (o ActionsSecretOutput) Repository() pulumi.StringOutput
- func (o ActionsSecretOutput) SecretName() pulumi.StringOutput
- func (o ActionsSecretOutput) ToActionsSecretOutput() ActionsSecretOutput
- func (o ActionsSecretOutput) ToActionsSecretOutputWithContext(ctx context.Context) ActionsSecretOutput
- func (o ActionsSecretOutput) UpdatedAt() pulumi.StringOutput
- type ActionsSecretState
- type AppInstallationRepository
- type AppInstallationRepositoryArgs
- type AppInstallationRepositoryArray
- func (AppInstallationRepositoryArray) ElementType() reflect.Type
- func (i AppInstallationRepositoryArray) ToAppInstallationRepositoryArrayOutput() AppInstallationRepositoryArrayOutput
- func (i AppInstallationRepositoryArray) ToAppInstallationRepositoryArrayOutputWithContext(ctx context.Context) AppInstallationRepositoryArrayOutput
- type AppInstallationRepositoryArrayInput
- type AppInstallationRepositoryArrayOutput
- func (AppInstallationRepositoryArrayOutput) ElementType() reflect.Type
- func (o AppInstallationRepositoryArrayOutput) Index(i pulumi.IntInput) AppInstallationRepositoryOutput
- func (o AppInstallationRepositoryArrayOutput) ToAppInstallationRepositoryArrayOutput() AppInstallationRepositoryArrayOutput
- func (o AppInstallationRepositoryArrayOutput) ToAppInstallationRepositoryArrayOutputWithContext(ctx context.Context) AppInstallationRepositoryArrayOutput
- type AppInstallationRepositoryInput
- type AppInstallationRepositoryMap
- func (AppInstallationRepositoryMap) ElementType() reflect.Type
- func (i AppInstallationRepositoryMap) ToAppInstallationRepositoryMapOutput() AppInstallationRepositoryMapOutput
- func (i AppInstallationRepositoryMap) ToAppInstallationRepositoryMapOutputWithContext(ctx context.Context) AppInstallationRepositoryMapOutput
- type AppInstallationRepositoryMapInput
- type AppInstallationRepositoryMapOutput
- func (AppInstallationRepositoryMapOutput) ElementType() reflect.Type
- func (o AppInstallationRepositoryMapOutput) MapIndex(k pulumi.StringInput) AppInstallationRepositoryOutput
- func (o AppInstallationRepositoryMapOutput) ToAppInstallationRepositoryMapOutput() AppInstallationRepositoryMapOutput
- func (o AppInstallationRepositoryMapOutput) ToAppInstallationRepositoryMapOutputWithContext(ctx context.Context) AppInstallationRepositoryMapOutput
- type AppInstallationRepositoryOutput
- func (AppInstallationRepositoryOutput) ElementType() reflect.Type
- func (o AppInstallationRepositoryOutput) InstallationId() pulumi.StringOutput
- func (o AppInstallationRepositoryOutput) RepoId() pulumi.IntOutput
- func (o AppInstallationRepositoryOutput) Repository() pulumi.StringOutput
- func (o AppInstallationRepositoryOutput) ToAppInstallationRepositoryOutput() AppInstallationRepositoryOutput
- func (o AppInstallationRepositoryOutput) ToAppInstallationRepositoryOutputWithContext(ctx context.Context) AppInstallationRepositoryOutput
- type AppInstallationRepositoryState
- type Branch
- type BranchArgs
- type BranchArray
- type BranchArrayInput
- type BranchArrayOutput
- type BranchDefault
- type BranchDefaultArgs
- type BranchDefaultArray
- type BranchDefaultArrayInput
- type BranchDefaultArrayOutput
- func (BranchDefaultArrayOutput) ElementType() reflect.Type
- func (o BranchDefaultArrayOutput) Index(i pulumi.IntInput) BranchDefaultOutput
- func (o BranchDefaultArrayOutput) ToBranchDefaultArrayOutput() BranchDefaultArrayOutput
- func (o BranchDefaultArrayOutput) ToBranchDefaultArrayOutputWithContext(ctx context.Context) BranchDefaultArrayOutput
- type BranchDefaultInput
- type BranchDefaultMap
- type BranchDefaultMapInput
- type BranchDefaultMapOutput
- func (BranchDefaultMapOutput) ElementType() reflect.Type
- func (o BranchDefaultMapOutput) MapIndex(k pulumi.StringInput) BranchDefaultOutput
- func (o BranchDefaultMapOutput) ToBranchDefaultMapOutput() BranchDefaultMapOutput
- func (o BranchDefaultMapOutput) ToBranchDefaultMapOutputWithContext(ctx context.Context) BranchDefaultMapOutput
- type BranchDefaultOutput
- func (o BranchDefaultOutput) Branch() pulumi.StringOutput
- func (BranchDefaultOutput) ElementType() reflect.Type
- func (o BranchDefaultOutput) Repository() pulumi.StringOutput
- func (o BranchDefaultOutput) ToBranchDefaultOutput() BranchDefaultOutput
- func (o BranchDefaultOutput) ToBranchDefaultOutputWithContext(ctx context.Context) BranchDefaultOutput
- type BranchDefaultState
- type BranchInput
- type BranchMap
- type BranchMapInput
- type BranchMapOutput
- type BranchOutput
- func (o BranchOutput) Branch() pulumi.StringOutput
- func (BranchOutput) ElementType() reflect.Type
- func (o BranchOutput) Etag() pulumi.StringOutput
- func (o BranchOutput) Ref() pulumi.StringOutput
- func (o BranchOutput) Repository() pulumi.StringOutput
- func (o BranchOutput) Sha() pulumi.StringOutput
- func (o BranchOutput) SourceBranch() pulumi.StringPtrOutput
- func (o BranchOutput) SourceSha() pulumi.StringOutput
- func (o BranchOutput) ToBranchOutput() BranchOutput
- func (o BranchOutput) ToBranchOutputWithContext(ctx context.Context) BranchOutput
- type BranchProtection
- type BranchProtectionArgs
- type BranchProtectionArray
- type BranchProtectionArrayInput
- type BranchProtectionArrayOutput
- func (BranchProtectionArrayOutput) ElementType() reflect.Type
- func (o BranchProtectionArrayOutput) Index(i pulumi.IntInput) BranchProtectionOutput
- func (o BranchProtectionArrayOutput) ToBranchProtectionArrayOutput() BranchProtectionArrayOutput
- func (o BranchProtectionArrayOutput) ToBranchProtectionArrayOutputWithContext(ctx context.Context) BranchProtectionArrayOutput
- type BranchProtectionInput
- type BranchProtectionMap
- type BranchProtectionMapInput
- type BranchProtectionMapOutput
- func (BranchProtectionMapOutput) ElementType() reflect.Type
- func (o BranchProtectionMapOutput) MapIndex(k pulumi.StringInput) BranchProtectionOutput
- func (o BranchProtectionMapOutput) ToBranchProtectionMapOutput() BranchProtectionMapOutput
- func (o BranchProtectionMapOutput) ToBranchProtectionMapOutputWithContext(ctx context.Context) BranchProtectionMapOutput
- type BranchProtectionOutput
- func (o BranchProtectionOutput) AllowsDeletions() pulumi.BoolPtrOutput
- func (o BranchProtectionOutput) AllowsForcePushes() pulumi.BoolPtrOutput
- func (o BranchProtectionOutput) BlocksCreations() pulumi.BoolPtrOutput
- func (BranchProtectionOutput) ElementType() reflect.Type
- func (o BranchProtectionOutput) EnforceAdmins() pulumi.BoolPtrOutput
- func (o BranchProtectionOutput) Pattern() pulumi.StringOutput
- func (o BranchProtectionOutput) PushRestrictions() pulumi.StringArrayOutput
- func (o BranchProtectionOutput) RepositoryId() pulumi.StringOutput
- func (o BranchProtectionOutput) RequireConversationResolution() pulumi.BoolPtrOutput
- func (o BranchProtectionOutput) RequireSignedCommits() pulumi.BoolPtrOutput
- func (o BranchProtectionOutput) RequiredLinearHistory() pulumi.BoolPtrOutput
- func (o BranchProtectionOutput) RequiredPullRequestReviews() BranchProtectionRequiredPullRequestReviewArrayOutput
- func (o BranchProtectionOutput) RequiredStatusChecks() BranchProtectionRequiredStatusCheckArrayOutput
- func (o BranchProtectionOutput) ToBranchProtectionOutput() BranchProtectionOutput
- func (o BranchProtectionOutput) ToBranchProtectionOutputWithContext(ctx context.Context) BranchProtectionOutput
- type BranchProtectionRequiredPullRequestReview
- type BranchProtectionRequiredPullRequestReviewArgs
- func (BranchProtectionRequiredPullRequestReviewArgs) ElementType() reflect.Type
- func (i BranchProtectionRequiredPullRequestReviewArgs) ToBranchProtectionRequiredPullRequestReviewOutput() BranchProtectionRequiredPullRequestReviewOutput
- func (i BranchProtectionRequiredPullRequestReviewArgs) ToBranchProtectionRequiredPullRequestReviewOutputWithContext(ctx context.Context) BranchProtectionRequiredPullRequestReviewOutput
- type BranchProtectionRequiredPullRequestReviewArray
- func (BranchProtectionRequiredPullRequestReviewArray) ElementType() reflect.Type
- func (i BranchProtectionRequiredPullRequestReviewArray) ToBranchProtectionRequiredPullRequestReviewArrayOutput() BranchProtectionRequiredPullRequestReviewArrayOutput
- func (i BranchProtectionRequiredPullRequestReviewArray) ToBranchProtectionRequiredPullRequestReviewArrayOutputWithContext(ctx context.Context) BranchProtectionRequiredPullRequestReviewArrayOutput
- type BranchProtectionRequiredPullRequestReviewArrayInput
- type BranchProtectionRequiredPullRequestReviewArrayOutput
- func (BranchProtectionRequiredPullRequestReviewArrayOutput) ElementType() reflect.Type
- func (o BranchProtectionRequiredPullRequestReviewArrayOutput) Index(i pulumi.IntInput) BranchProtectionRequiredPullRequestReviewOutput
- func (o BranchProtectionRequiredPullRequestReviewArrayOutput) ToBranchProtectionRequiredPullRequestReviewArrayOutput() BranchProtectionRequiredPullRequestReviewArrayOutput
- func (o BranchProtectionRequiredPullRequestReviewArrayOutput) ToBranchProtectionRequiredPullRequestReviewArrayOutputWithContext(ctx context.Context) BranchProtectionRequiredPullRequestReviewArrayOutput
- type BranchProtectionRequiredPullRequestReviewInput
- type BranchProtectionRequiredPullRequestReviewOutput
- func (o BranchProtectionRequiredPullRequestReviewOutput) DismissStaleReviews() pulumi.BoolPtrOutput
- func (o BranchProtectionRequiredPullRequestReviewOutput) DismissalRestrictions() pulumi.StringArrayOutput
- func (BranchProtectionRequiredPullRequestReviewOutput) ElementType() reflect.Type
- func (o BranchProtectionRequiredPullRequestReviewOutput) PullRequestBypassers() pulumi.StringArrayOutput
- func (o BranchProtectionRequiredPullRequestReviewOutput) RequireCodeOwnerReviews() pulumi.BoolPtrOutput
- func (o BranchProtectionRequiredPullRequestReviewOutput) RequiredApprovingReviewCount() pulumi.IntPtrOutput
- func (o BranchProtectionRequiredPullRequestReviewOutput) RestrictDismissals() pulumi.BoolPtrOutput
- func (o BranchProtectionRequiredPullRequestReviewOutput) ToBranchProtectionRequiredPullRequestReviewOutput() BranchProtectionRequiredPullRequestReviewOutput
- func (o BranchProtectionRequiredPullRequestReviewOutput) ToBranchProtectionRequiredPullRequestReviewOutputWithContext(ctx context.Context) BranchProtectionRequiredPullRequestReviewOutput
- type BranchProtectionRequiredStatusCheck
- type BranchProtectionRequiredStatusCheckArgs
- func (BranchProtectionRequiredStatusCheckArgs) ElementType() reflect.Type
- func (i BranchProtectionRequiredStatusCheckArgs) ToBranchProtectionRequiredStatusCheckOutput() BranchProtectionRequiredStatusCheckOutput
- func (i BranchProtectionRequiredStatusCheckArgs) ToBranchProtectionRequiredStatusCheckOutputWithContext(ctx context.Context) BranchProtectionRequiredStatusCheckOutput
- type BranchProtectionRequiredStatusCheckArray
- func (BranchProtectionRequiredStatusCheckArray) ElementType() reflect.Type
- func (i BranchProtectionRequiredStatusCheckArray) ToBranchProtectionRequiredStatusCheckArrayOutput() BranchProtectionRequiredStatusCheckArrayOutput
- func (i BranchProtectionRequiredStatusCheckArray) ToBranchProtectionRequiredStatusCheckArrayOutputWithContext(ctx context.Context) BranchProtectionRequiredStatusCheckArrayOutput
- type BranchProtectionRequiredStatusCheckArrayInput
- type BranchProtectionRequiredStatusCheckArrayOutput
- func (BranchProtectionRequiredStatusCheckArrayOutput) ElementType() reflect.Type
- func (o BranchProtectionRequiredStatusCheckArrayOutput) Index(i pulumi.IntInput) BranchProtectionRequiredStatusCheckOutput
- func (o BranchProtectionRequiredStatusCheckArrayOutput) ToBranchProtectionRequiredStatusCheckArrayOutput() BranchProtectionRequiredStatusCheckArrayOutput
- func (o BranchProtectionRequiredStatusCheckArrayOutput) ToBranchProtectionRequiredStatusCheckArrayOutputWithContext(ctx context.Context) BranchProtectionRequiredStatusCheckArrayOutput
- type BranchProtectionRequiredStatusCheckInput
- type BranchProtectionRequiredStatusCheckOutput
- func (o BranchProtectionRequiredStatusCheckOutput) Contexts() pulumi.StringArrayOutput
- func (BranchProtectionRequiredStatusCheckOutput) ElementType() reflect.Type
- func (o BranchProtectionRequiredStatusCheckOutput) Strict() pulumi.BoolPtrOutput
- func (o BranchProtectionRequiredStatusCheckOutput) ToBranchProtectionRequiredStatusCheckOutput() BranchProtectionRequiredStatusCheckOutput
- func (o BranchProtectionRequiredStatusCheckOutput) ToBranchProtectionRequiredStatusCheckOutputWithContext(ctx context.Context) BranchProtectionRequiredStatusCheckOutput
- type BranchProtectionState
- type BranchProtectionV3
- type BranchProtectionV3Args
- type BranchProtectionV3Array
- type BranchProtectionV3ArrayInput
- type BranchProtectionV3ArrayOutput
- func (BranchProtectionV3ArrayOutput) ElementType() reflect.Type
- func (o BranchProtectionV3ArrayOutput) Index(i pulumi.IntInput) BranchProtectionV3Output
- func (o BranchProtectionV3ArrayOutput) ToBranchProtectionV3ArrayOutput() BranchProtectionV3ArrayOutput
- func (o BranchProtectionV3ArrayOutput) ToBranchProtectionV3ArrayOutputWithContext(ctx context.Context) BranchProtectionV3ArrayOutput
- type BranchProtectionV3Input
- type BranchProtectionV3Map
- type BranchProtectionV3MapInput
- type BranchProtectionV3MapOutput
- func (BranchProtectionV3MapOutput) ElementType() reflect.Type
- func (o BranchProtectionV3MapOutput) MapIndex(k pulumi.StringInput) BranchProtectionV3Output
- func (o BranchProtectionV3MapOutput) ToBranchProtectionV3MapOutput() BranchProtectionV3MapOutput
- func (o BranchProtectionV3MapOutput) ToBranchProtectionV3MapOutputWithContext(ctx context.Context) BranchProtectionV3MapOutput
- type BranchProtectionV3Output
- func (o BranchProtectionV3Output) Branch() pulumi.StringOutput
- func (BranchProtectionV3Output) ElementType() reflect.Type
- func (o BranchProtectionV3Output) EnforceAdmins() pulumi.BoolPtrOutput
- func (o BranchProtectionV3Output) Etag() pulumi.StringOutput
- func (o BranchProtectionV3Output) Repository() pulumi.StringOutput
- func (o BranchProtectionV3Output) RequireConversationResolution() pulumi.BoolPtrOutput
- func (o BranchProtectionV3Output) RequireSignedCommits() pulumi.BoolPtrOutput
- func (o BranchProtectionV3Output) RequiredPullRequestReviews() BranchProtectionV3RequiredPullRequestReviewsPtrOutput
- func (o BranchProtectionV3Output) RequiredStatusChecks() BranchProtectionV3RequiredStatusChecksPtrOutput
- func (o BranchProtectionV3Output) Restrictions() BranchProtectionV3RestrictionsPtrOutput
- func (o BranchProtectionV3Output) ToBranchProtectionV3Output() BranchProtectionV3Output
- func (o BranchProtectionV3Output) ToBranchProtectionV3OutputWithContext(ctx context.Context) BranchProtectionV3Output
- type BranchProtectionV3RequiredPullRequestReviews
- type BranchProtectionV3RequiredPullRequestReviewsArgs
- func (BranchProtectionV3RequiredPullRequestReviewsArgs) ElementType() reflect.Type
- func (i BranchProtectionV3RequiredPullRequestReviewsArgs) ToBranchProtectionV3RequiredPullRequestReviewsOutput() BranchProtectionV3RequiredPullRequestReviewsOutput
- func (i BranchProtectionV3RequiredPullRequestReviewsArgs) ToBranchProtectionV3RequiredPullRequestReviewsOutputWithContext(ctx context.Context) BranchProtectionV3RequiredPullRequestReviewsOutput
- func (i BranchProtectionV3RequiredPullRequestReviewsArgs) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutput() BranchProtectionV3RequiredPullRequestReviewsPtrOutput
- func (i BranchProtectionV3RequiredPullRequestReviewsArgs) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredPullRequestReviewsPtrOutput
- type BranchProtectionV3RequiredPullRequestReviewsInput
- type BranchProtectionV3RequiredPullRequestReviewsOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsOutput) DismissStaleReviews() pulumi.BoolPtrOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsOutput) DismissalTeams() pulumi.StringArrayOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsOutput) DismissalUsers() pulumi.StringArrayOutput
- func (BranchProtectionV3RequiredPullRequestReviewsOutput) ElementType() reflect.Type
- func (o BranchProtectionV3RequiredPullRequestReviewsOutput) IncludeAdmins() pulumi.BoolPtrOutputdeprecated
- func (o BranchProtectionV3RequiredPullRequestReviewsOutput) RequireCodeOwnerReviews() pulumi.BoolPtrOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsOutput) RequiredApprovingReviewCount() pulumi.IntPtrOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsOutput) ToBranchProtectionV3RequiredPullRequestReviewsOutput() BranchProtectionV3RequiredPullRequestReviewsOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsOutput) ToBranchProtectionV3RequiredPullRequestReviewsOutputWithContext(ctx context.Context) BranchProtectionV3RequiredPullRequestReviewsOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutput() BranchProtectionV3RequiredPullRequestReviewsPtrOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredPullRequestReviewsPtrOutput
- type BranchProtectionV3RequiredPullRequestReviewsPtrInput
- type BranchProtectionV3RequiredPullRequestReviewsPtrOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) DismissStaleReviews() pulumi.BoolPtrOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) DismissalTeams() pulumi.StringArrayOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) DismissalUsers() pulumi.StringArrayOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) Elem() BranchProtectionV3RequiredPullRequestReviewsOutput
- func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) ElementType() reflect.Type
- func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) IncludeAdmins() pulumi.BoolPtrOutputdeprecated
- func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) RequireCodeOwnerReviews() pulumi.BoolPtrOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) RequiredApprovingReviewCount() pulumi.IntPtrOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutput() BranchProtectionV3RequiredPullRequestReviewsPtrOutput
- func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredPullRequestReviewsPtrOutput
- type BranchProtectionV3RequiredStatusChecks
- type BranchProtectionV3RequiredStatusChecksArgs
- func (BranchProtectionV3RequiredStatusChecksArgs) ElementType() reflect.Type
- func (i BranchProtectionV3RequiredStatusChecksArgs) ToBranchProtectionV3RequiredStatusChecksOutput() BranchProtectionV3RequiredStatusChecksOutput
- func (i BranchProtectionV3RequiredStatusChecksArgs) ToBranchProtectionV3RequiredStatusChecksOutputWithContext(ctx context.Context) BranchProtectionV3RequiredStatusChecksOutput
- func (i BranchProtectionV3RequiredStatusChecksArgs) ToBranchProtectionV3RequiredStatusChecksPtrOutput() BranchProtectionV3RequiredStatusChecksPtrOutput
- func (i BranchProtectionV3RequiredStatusChecksArgs) ToBranchProtectionV3RequiredStatusChecksPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredStatusChecksPtrOutput
- type BranchProtectionV3RequiredStatusChecksInput
- type BranchProtectionV3RequiredStatusChecksOutput
- func (o BranchProtectionV3RequiredStatusChecksOutput) Contexts() pulumi.StringArrayOutput
- func (BranchProtectionV3RequiredStatusChecksOutput) ElementType() reflect.Type
- func (o BranchProtectionV3RequiredStatusChecksOutput) IncludeAdmins() pulumi.BoolPtrOutputdeprecated
- func (o BranchProtectionV3RequiredStatusChecksOutput) Strict() pulumi.BoolPtrOutput
- func (o BranchProtectionV3RequiredStatusChecksOutput) ToBranchProtectionV3RequiredStatusChecksOutput() BranchProtectionV3RequiredStatusChecksOutput
- func (o BranchProtectionV3RequiredStatusChecksOutput) ToBranchProtectionV3RequiredStatusChecksOutputWithContext(ctx context.Context) BranchProtectionV3RequiredStatusChecksOutput
- func (o BranchProtectionV3RequiredStatusChecksOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutput() BranchProtectionV3RequiredStatusChecksPtrOutput
- func (o BranchProtectionV3RequiredStatusChecksOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredStatusChecksPtrOutput
- type BranchProtectionV3RequiredStatusChecksPtrInput
- type BranchProtectionV3RequiredStatusChecksPtrOutput
- func (o BranchProtectionV3RequiredStatusChecksPtrOutput) Contexts() pulumi.StringArrayOutput
- func (o BranchProtectionV3RequiredStatusChecksPtrOutput) Elem() BranchProtectionV3RequiredStatusChecksOutput
- func (BranchProtectionV3RequiredStatusChecksPtrOutput) ElementType() reflect.Type
- func (o BranchProtectionV3RequiredStatusChecksPtrOutput) IncludeAdmins() pulumi.BoolPtrOutputdeprecated
- func (o BranchProtectionV3RequiredStatusChecksPtrOutput) Strict() pulumi.BoolPtrOutput
- func (o BranchProtectionV3RequiredStatusChecksPtrOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutput() BranchProtectionV3RequiredStatusChecksPtrOutput
- func (o BranchProtectionV3RequiredStatusChecksPtrOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredStatusChecksPtrOutput
- type BranchProtectionV3Restrictions
- type BranchProtectionV3RestrictionsArgs
- func (BranchProtectionV3RestrictionsArgs) ElementType() reflect.Type
- func (i BranchProtectionV3RestrictionsArgs) ToBranchProtectionV3RestrictionsOutput() BranchProtectionV3RestrictionsOutput
- func (i BranchProtectionV3RestrictionsArgs) ToBranchProtectionV3RestrictionsOutputWithContext(ctx context.Context) BranchProtectionV3RestrictionsOutput
- func (i BranchProtectionV3RestrictionsArgs) ToBranchProtectionV3RestrictionsPtrOutput() BranchProtectionV3RestrictionsPtrOutput
- func (i BranchProtectionV3RestrictionsArgs) ToBranchProtectionV3RestrictionsPtrOutputWithContext(ctx context.Context) BranchProtectionV3RestrictionsPtrOutput
- type BranchProtectionV3RestrictionsInput
- type BranchProtectionV3RestrictionsOutput
- func (o BranchProtectionV3RestrictionsOutput) Apps() pulumi.StringArrayOutput
- func (BranchProtectionV3RestrictionsOutput) ElementType() reflect.Type
- func (o BranchProtectionV3RestrictionsOutput) Teams() pulumi.StringArrayOutput
- func (o BranchProtectionV3RestrictionsOutput) ToBranchProtectionV3RestrictionsOutput() BranchProtectionV3RestrictionsOutput
- func (o BranchProtectionV3RestrictionsOutput) ToBranchProtectionV3RestrictionsOutputWithContext(ctx context.Context) BranchProtectionV3RestrictionsOutput
- func (o BranchProtectionV3RestrictionsOutput) ToBranchProtectionV3RestrictionsPtrOutput() BranchProtectionV3RestrictionsPtrOutput
- func (o BranchProtectionV3RestrictionsOutput) ToBranchProtectionV3RestrictionsPtrOutputWithContext(ctx context.Context) BranchProtectionV3RestrictionsPtrOutput
- func (o BranchProtectionV3RestrictionsOutput) Users() pulumi.StringArrayOutput
- type BranchProtectionV3RestrictionsPtrInput
- type BranchProtectionV3RestrictionsPtrOutput
- func (o BranchProtectionV3RestrictionsPtrOutput) Apps() pulumi.StringArrayOutput
- func (o BranchProtectionV3RestrictionsPtrOutput) Elem() BranchProtectionV3RestrictionsOutput
- func (BranchProtectionV3RestrictionsPtrOutput) ElementType() reflect.Type
- func (o BranchProtectionV3RestrictionsPtrOutput) Teams() pulumi.StringArrayOutput
- func (o BranchProtectionV3RestrictionsPtrOutput) ToBranchProtectionV3RestrictionsPtrOutput() BranchProtectionV3RestrictionsPtrOutput
- func (o BranchProtectionV3RestrictionsPtrOutput) ToBranchProtectionV3RestrictionsPtrOutputWithContext(ctx context.Context) BranchProtectionV3RestrictionsPtrOutput
- func (o BranchProtectionV3RestrictionsPtrOutput) Users() pulumi.StringArrayOutput
- type BranchProtectionV3State
- type BranchState
- type DependabotOrganizationSecret
- func (*DependabotOrganizationSecret) ElementType() reflect.Type
- func (i *DependabotOrganizationSecret) ToDependabotOrganizationSecretOutput() DependabotOrganizationSecretOutput
- func (i *DependabotOrganizationSecret) ToDependabotOrganizationSecretOutputWithContext(ctx context.Context) DependabotOrganizationSecretOutput
- type DependabotOrganizationSecretArgs
- type DependabotOrganizationSecretArray
- func (DependabotOrganizationSecretArray) ElementType() reflect.Type
- func (i DependabotOrganizationSecretArray) ToDependabotOrganizationSecretArrayOutput() DependabotOrganizationSecretArrayOutput
- func (i DependabotOrganizationSecretArray) ToDependabotOrganizationSecretArrayOutputWithContext(ctx context.Context) DependabotOrganizationSecretArrayOutput
- type DependabotOrganizationSecretArrayInput
- type DependabotOrganizationSecretArrayOutput
- func (DependabotOrganizationSecretArrayOutput) ElementType() reflect.Type
- func (o DependabotOrganizationSecretArrayOutput) Index(i pulumi.IntInput) DependabotOrganizationSecretOutput
- func (o DependabotOrganizationSecretArrayOutput) ToDependabotOrganizationSecretArrayOutput() DependabotOrganizationSecretArrayOutput
- func (o DependabotOrganizationSecretArrayOutput) ToDependabotOrganizationSecretArrayOutputWithContext(ctx context.Context) DependabotOrganizationSecretArrayOutput
- type DependabotOrganizationSecretInput
- type DependabotOrganizationSecretMap
- func (DependabotOrganizationSecretMap) ElementType() reflect.Type
- func (i DependabotOrganizationSecretMap) ToDependabotOrganizationSecretMapOutput() DependabotOrganizationSecretMapOutput
- func (i DependabotOrganizationSecretMap) ToDependabotOrganizationSecretMapOutputWithContext(ctx context.Context) DependabotOrganizationSecretMapOutput
- type DependabotOrganizationSecretMapInput
- type DependabotOrganizationSecretMapOutput
- func (DependabotOrganizationSecretMapOutput) ElementType() reflect.Type
- func (o DependabotOrganizationSecretMapOutput) MapIndex(k pulumi.StringInput) DependabotOrganizationSecretOutput
- func (o DependabotOrganizationSecretMapOutput) ToDependabotOrganizationSecretMapOutput() DependabotOrganizationSecretMapOutput
- func (o DependabotOrganizationSecretMapOutput) ToDependabotOrganizationSecretMapOutputWithContext(ctx context.Context) DependabotOrganizationSecretMapOutput
- type DependabotOrganizationSecretOutput
- func (o DependabotOrganizationSecretOutput) CreatedAt() pulumi.StringOutput
- func (DependabotOrganizationSecretOutput) ElementType() reflect.Type
- func (o DependabotOrganizationSecretOutput) EncryptedValue() pulumi.StringPtrOutput
- func (o DependabotOrganizationSecretOutput) PlaintextValue() pulumi.StringPtrOutput
- func (o DependabotOrganizationSecretOutput) SecretName() pulumi.StringOutput
- func (o DependabotOrganizationSecretOutput) SelectedRepositoryIds() pulumi.IntArrayOutput
- func (o DependabotOrganizationSecretOutput) ToDependabotOrganizationSecretOutput() DependabotOrganizationSecretOutput
- func (o DependabotOrganizationSecretOutput) ToDependabotOrganizationSecretOutputWithContext(ctx context.Context) DependabotOrganizationSecretOutput
- func (o DependabotOrganizationSecretOutput) UpdatedAt() pulumi.StringOutput
- func (o DependabotOrganizationSecretOutput) Visibility() pulumi.StringOutput
- type DependabotOrganizationSecretRepositories
- func (*DependabotOrganizationSecretRepositories) ElementType() reflect.Type
- func (i *DependabotOrganizationSecretRepositories) ToDependabotOrganizationSecretRepositoriesOutput() DependabotOrganizationSecretRepositoriesOutput
- func (i *DependabotOrganizationSecretRepositories) ToDependabotOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesOutput
- type DependabotOrganizationSecretRepositoriesArgs
- type DependabotOrganizationSecretRepositoriesArray
- func (DependabotOrganizationSecretRepositoriesArray) ElementType() reflect.Type
- func (i DependabotOrganizationSecretRepositoriesArray) ToDependabotOrganizationSecretRepositoriesArrayOutput() DependabotOrganizationSecretRepositoriesArrayOutput
- func (i DependabotOrganizationSecretRepositoriesArray) ToDependabotOrganizationSecretRepositoriesArrayOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesArrayOutput
- type DependabotOrganizationSecretRepositoriesArrayInput
- type DependabotOrganizationSecretRepositoriesArrayOutput
- func (DependabotOrganizationSecretRepositoriesArrayOutput) ElementType() reflect.Type
- func (o DependabotOrganizationSecretRepositoriesArrayOutput) Index(i pulumi.IntInput) DependabotOrganizationSecretRepositoriesOutput
- func (o DependabotOrganizationSecretRepositoriesArrayOutput) ToDependabotOrganizationSecretRepositoriesArrayOutput() DependabotOrganizationSecretRepositoriesArrayOutput
- func (o DependabotOrganizationSecretRepositoriesArrayOutput) ToDependabotOrganizationSecretRepositoriesArrayOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesArrayOutput
- type DependabotOrganizationSecretRepositoriesInput
- type DependabotOrganizationSecretRepositoriesMap
- func (DependabotOrganizationSecretRepositoriesMap) ElementType() reflect.Type
- func (i DependabotOrganizationSecretRepositoriesMap) ToDependabotOrganizationSecretRepositoriesMapOutput() DependabotOrganizationSecretRepositoriesMapOutput
- func (i DependabotOrganizationSecretRepositoriesMap) ToDependabotOrganizationSecretRepositoriesMapOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesMapOutput
- type DependabotOrganizationSecretRepositoriesMapInput
- type DependabotOrganizationSecretRepositoriesMapOutput
- func (DependabotOrganizationSecretRepositoriesMapOutput) ElementType() reflect.Type
- func (o DependabotOrganizationSecretRepositoriesMapOutput) MapIndex(k pulumi.StringInput) DependabotOrganizationSecretRepositoriesOutput
- func (o DependabotOrganizationSecretRepositoriesMapOutput) ToDependabotOrganizationSecretRepositoriesMapOutput() DependabotOrganizationSecretRepositoriesMapOutput
- func (o DependabotOrganizationSecretRepositoriesMapOutput) ToDependabotOrganizationSecretRepositoriesMapOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesMapOutput
- type DependabotOrganizationSecretRepositoriesOutput
- func (DependabotOrganizationSecretRepositoriesOutput) ElementType() reflect.Type
- func (o DependabotOrganizationSecretRepositoriesOutput) SecretName() pulumi.StringOutput
- func (o DependabotOrganizationSecretRepositoriesOutput) SelectedRepositoryIds() pulumi.IntArrayOutput
- func (o DependabotOrganizationSecretRepositoriesOutput) ToDependabotOrganizationSecretRepositoriesOutput() DependabotOrganizationSecretRepositoriesOutput
- func (o DependabotOrganizationSecretRepositoriesOutput) ToDependabotOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesOutput
- type DependabotOrganizationSecretRepositoriesState
- type DependabotOrganizationSecretState
- type DependabotSecret
- type DependabotSecretArgs
- type DependabotSecretArray
- type DependabotSecretArrayInput
- type DependabotSecretArrayOutput
- func (DependabotSecretArrayOutput) ElementType() reflect.Type
- func (o DependabotSecretArrayOutput) Index(i pulumi.IntInput) DependabotSecretOutput
- func (o DependabotSecretArrayOutput) ToDependabotSecretArrayOutput() DependabotSecretArrayOutput
- func (o DependabotSecretArrayOutput) ToDependabotSecretArrayOutputWithContext(ctx context.Context) DependabotSecretArrayOutput
- type DependabotSecretInput
- type DependabotSecretMap
- type DependabotSecretMapInput
- type DependabotSecretMapOutput
- func (DependabotSecretMapOutput) ElementType() reflect.Type
- func (o DependabotSecretMapOutput) MapIndex(k pulumi.StringInput) DependabotSecretOutput
- func (o DependabotSecretMapOutput) ToDependabotSecretMapOutput() DependabotSecretMapOutput
- func (o DependabotSecretMapOutput) ToDependabotSecretMapOutputWithContext(ctx context.Context) DependabotSecretMapOutput
- type DependabotSecretOutput
- func (o DependabotSecretOutput) CreatedAt() pulumi.StringOutput
- func (DependabotSecretOutput) ElementType() reflect.Type
- func (o DependabotSecretOutput) EncryptedValue() pulumi.StringPtrOutput
- func (o DependabotSecretOutput) PlaintextValue() pulumi.StringPtrOutput
- func (o DependabotSecretOutput) Repository() pulumi.StringOutput
- func (o DependabotSecretOutput) SecretName() pulumi.StringOutput
- func (o DependabotSecretOutput) ToDependabotSecretOutput() DependabotSecretOutput
- func (o DependabotSecretOutput) ToDependabotSecretOutputWithContext(ctx context.Context) DependabotSecretOutput
- func (o DependabotSecretOutput) UpdatedAt() pulumi.StringOutput
- type DependabotSecretState
- type EmuGroupMapping
- type EmuGroupMappingArgs
- type EmuGroupMappingArray
- type EmuGroupMappingArrayInput
- type EmuGroupMappingArrayOutput
- func (EmuGroupMappingArrayOutput) ElementType() reflect.Type
- func (o EmuGroupMappingArrayOutput) Index(i pulumi.IntInput) EmuGroupMappingOutput
- func (o EmuGroupMappingArrayOutput) ToEmuGroupMappingArrayOutput() EmuGroupMappingArrayOutput
- func (o EmuGroupMappingArrayOutput) ToEmuGroupMappingArrayOutputWithContext(ctx context.Context) EmuGroupMappingArrayOutput
- type EmuGroupMappingInput
- type EmuGroupMappingMap
- type EmuGroupMappingMapInput
- type EmuGroupMappingMapOutput
- func (EmuGroupMappingMapOutput) ElementType() reflect.Type
- func (o EmuGroupMappingMapOutput) MapIndex(k pulumi.StringInput) EmuGroupMappingOutput
- func (o EmuGroupMappingMapOutput) ToEmuGroupMappingMapOutput() EmuGroupMappingMapOutput
- func (o EmuGroupMappingMapOutput) ToEmuGroupMappingMapOutputWithContext(ctx context.Context) EmuGroupMappingMapOutput
- type EmuGroupMappingOutput
- func (EmuGroupMappingOutput) ElementType() reflect.Type
- func (o EmuGroupMappingOutput) Etag() pulumi.StringOutput
- func (o EmuGroupMappingOutput) GroupId() pulumi.IntOutput
- func (o EmuGroupMappingOutput) TeamSlug() pulumi.StringOutput
- func (o EmuGroupMappingOutput) ToEmuGroupMappingOutput() EmuGroupMappingOutput
- func (o EmuGroupMappingOutput) ToEmuGroupMappingOutputWithContext(ctx context.Context) EmuGroupMappingOutput
- type EmuGroupMappingState
- type GetActionsPublicKeyArgs
- type GetActionsPublicKeyOutputArgs
- type GetActionsPublicKeyResult
- type GetActionsPublicKeyResultOutput
- func (GetActionsPublicKeyResultOutput) ElementType() reflect.Type
- func (o GetActionsPublicKeyResultOutput) Id() pulumi.StringOutput
- func (o GetActionsPublicKeyResultOutput) Key() pulumi.StringOutput
- func (o GetActionsPublicKeyResultOutput) KeyId() pulumi.StringOutput
- func (o GetActionsPublicKeyResultOutput) Repository() pulumi.StringOutput
- func (o GetActionsPublicKeyResultOutput) ToGetActionsPublicKeyResultOutput() GetActionsPublicKeyResultOutput
- func (o GetActionsPublicKeyResultOutput) ToGetActionsPublicKeyResultOutputWithContext(ctx context.Context) GetActionsPublicKeyResultOutput
- type GetCollaboratorsArgs
- type GetCollaboratorsCollaborator
- type GetCollaboratorsCollaboratorArgs
- func (GetCollaboratorsCollaboratorArgs) ElementType() reflect.Type
- func (i GetCollaboratorsCollaboratorArgs) ToGetCollaboratorsCollaboratorOutput() GetCollaboratorsCollaboratorOutput
- func (i GetCollaboratorsCollaboratorArgs) ToGetCollaboratorsCollaboratorOutputWithContext(ctx context.Context) GetCollaboratorsCollaboratorOutput
- type GetCollaboratorsCollaboratorArray
- func (GetCollaboratorsCollaboratorArray) ElementType() reflect.Type
- func (i GetCollaboratorsCollaboratorArray) ToGetCollaboratorsCollaboratorArrayOutput() GetCollaboratorsCollaboratorArrayOutput
- func (i GetCollaboratorsCollaboratorArray) ToGetCollaboratorsCollaboratorArrayOutputWithContext(ctx context.Context) GetCollaboratorsCollaboratorArrayOutput
- type GetCollaboratorsCollaboratorArrayInput
- type GetCollaboratorsCollaboratorArrayOutput
- func (GetCollaboratorsCollaboratorArrayOutput) ElementType() reflect.Type
- func (o GetCollaboratorsCollaboratorArrayOutput) Index(i pulumi.IntInput) GetCollaboratorsCollaboratorOutput
- func (o GetCollaboratorsCollaboratorArrayOutput) ToGetCollaboratorsCollaboratorArrayOutput() GetCollaboratorsCollaboratorArrayOutput
- func (o GetCollaboratorsCollaboratorArrayOutput) ToGetCollaboratorsCollaboratorArrayOutputWithContext(ctx context.Context) GetCollaboratorsCollaboratorArrayOutput
- type GetCollaboratorsCollaboratorInput
- type GetCollaboratorsCollaboratorOutput
- func (GetCollaboratorsCollaboratorOutput) ElementType() reflect.Type
- func (o GetCollaboratorsCollaboratorOutput) EventsUrl() pulumi.StringOutput
- func (o GetCollaboratorsCollaboratorOutput) FollowersUrl() pulumi.StringOutput
- func (o GetCollaboratorsCollaboratorOutput) FollowingUrl() pulumi.StringOutput
- func (o GetCollaboratorsCollaboratorOutput) GistsUrl() pulumi.StringOutput
- func (o GetCollaboratorsCollaboratorOutput) HtmlUrl() pulumi.StringOutput
- func (o GetCollaboratorsCollaboratorOutput) Id() pulumi.IntOutput
- func (o GetCollaboratorsCollaboratorOutput) Login() pulumi.StringOutput
- func (o GetCollaboratorsCollaboratorOutput) OrganizationsUrl() pulumi.StringOutput
- func (o GetCollaboratorsCollaboratorOutput) Permission() pulumi.StringOutput
- func (o GetCollaboratorsCollaboratorOutput) ReceivedEventsUrl() pulumi.StringOutput
- func (o GetCollaboratorsCollaboratorOutput) ReposUrl() pulumi.StringOutput
- func (o GetCollaboratorsCollaboratorOutput) SiteAdmin() pulumi.BoolOutput
- func (o GetCollaboratorsCollaboratorOutput) StarredUrl() pulumi.StringOutput
- func (o GetCollaboratorsCollaboratorOutput) SubscriptionsUrl() pulumi.StringOutput
- func (o GetCollaboratorsCollaboratorOutput) ToGetCollaboratorsCollaboratorOutput() GetCollaboratorsCollaboratorOutput
- func (o GetCollaboratorsCollaboratorOutput) ToGetCollaboratorsCollaboratorOutputWithContext(ctx context.Context) GetCollaboratorsCollaboratorOutput
- func (o GetCollaboratorsCollaboratorOutput) Type() pulumi.StringOutput
- func (o GetCollaboratorsCollaboratorOutput) Url() pulumi.StringOutput
- type GetCollaboratorsOutputArgs
- type GetCollaboratorsResult
- type GetCollaboratorsResultOutput
- func (o GetCollaboratorsResultOutput) Affiliation() pulumi.StringPtrOutput
- func (o GetCollaboratorsResultOutput) Collaborators() GetCollaboratorsCollaboratorArrayOutput
- func (GetCollaboratorsResultOutput) ElementType() reflect.Type
- func (o GetCollaboratorsResultOutput) Id() pulumi.StringOutput
- func (o GetCollaboratorsResultOutput) Owner() pulumi.StringOutput
- func (o GetCollaboratorsResultOutput) Repository() pulumi.StringOutput
- func (o GetCollaboratorsResultOutput) ToGetCollaboratorsResultOutput() GetCollaboratorsResultOutput
- func (o GetCollaboratorsResultOutput) ToGetCollaboratorsResultOutputWithContext(ctx context.Context) GetCollaboratorsResultOutput
- type GetDependabotPublicKeyArgs
- type GetDependabotPublicKeyOutputArgs
- type GetDependabotPublicKeyResult
- type GetDependabotPublicKeyResultOutput
- func (GetDependabotPublicKeyResultOutput) ElementType() reflect.Type
- func (o GetDependabotPublicKeyResultOutput) Id() pulumi.StringOutput
- func (o GetDependabotPublicKeyResultOutput) Key() pulumi.StringOutput
- func (o GetDependabotPublicKeyResultOutput) KeyId() pulumi.StringOutput
- func (o GetDependabotPublicKeyResultOutput) Repository() pulumi.StringOutput
- func (o GetDependabotPublicKeyResultOutput) ToGetDependabotPublicKeyResultOutput() GetDependabotPublicKeyResultOutput
- func (o GetDependabotPublicKeyResultOutput) ToGetDependabotPublicKeyResultOutputWithContext(ctx context.Context) GetDependabotPublicKeyResultOutput
- type GetExternalGroupsExternalGroup
- type GetExternalGroupsExternalGroupArgs
- func (GetExternalGroupsExternalGroupArgs) ElementType() reflect.Type
- func (i GetExternalGroupsExternalGroupArgs) ToGetExternalGroupsExternalGroupOutput() GetExternalGroupsExternalGroupOutput
- func (i GetExternalGroupsExternalGroupArgs) ToGetExternalGroupsExternalGroupOutputWithContext(ctx context.Context) GetExternalGroupsExternalGroupOutput
- type GetExternalGroupsExternalGroupArray
- func (GetExternalGroupsExternalGroupArray) ElementType() reflect.Type
- func (i GetExternalGroupsExternalGroupArray) ToGetExternalGroupsExternalGroupArrayOutput() GetExternalGroupsExternalGroupArrayOutput
- func (i GetExternalGroupsExternalGroupArray) ToGetExternalGroupsExternalGroupArrayOutputWithContext(ctx context.Context) GetExternalGroupsExternalGroupArrayOutput
- type GetExternalGroupsExternalGroupArrayInput
- type GetExternalGroupsExternalGroupArrayOutput
- func (GetExternalGroupsExternalGroupArrayOutput) ElementType() reflect.Type
- func (o GetExternalGroupsExternalGroupArrayOutput) Index(i pulumi.IntInput) GetExternalGroupsExternalGroupOutput
- func (o GetExternalGroupsExternalGroupArrayOutput) ToGetExternalGroupsExternalGroupArrayOutput() GetExternalGroupsExternalGroupArrayOutput
- func (o GetExternalGroupsExternalGroupArrayOutput) ToGetExternalGroupsExternalGroupArrayOutputWithContext(ctx context.Context) GetExternalGroupsExternalGroupArrayOutput
- type GetExternalGroupsExternalGroupInput
- type GetExternalGroupsExternalGroupOutput
- func (GetExternalGroupsExternalGroupOutput) ElementType() reflect.Type
- func (o GetExternalGroupsExternalGroupOutput) GroupId() pulumi.IntOutput
- func (o GetExternalGroupsExternalGroupOutput) GroupName() pulumi.StringOutput
- func (o GetExternalGroupsExternalGroupOutput) ToGetExternalGroupsExternalGroupOutput() GetExternalGroupsExternalGroupOutput
- func (o GetExternalGroupsExternalGroupOutput) ToGetExternalGroupsExternalGroupOutputWithContext(ctx context.Context) GetExternalGroupsExternalGroupOutput
- func (o GetExternalGroupsExternalGroupOutput) UpdatedAt() pulumi.StringOutput
- type GetExternalGroupsResult
- type GetIpRangesResult
- type GetOrganizationArgs
- type GetOrganizationOutputArgs
- type GetOrganizationResult
- type GetOrganizationResultOutput
- func (o GetOrganizationResultOutput) Description() pulumi.StringOutput
- func (GetOrganizationResultOutput) ElementType() reflect.Type
- func (o GetOrganizationResultOutput) Id() pulumi.StringOutput
- func (o GetOrganizationResultOutput) Login() pulumi.StringOutput
- func (o GetOrganizationResultOutput) Members() pulumi.StringArrayOutput
- func (o GetOrganizationResultOutput) Name() pulumi.StringOutput
- func (o GetOrganizationResultOutput) NodeId() pulumi.StringOutput
- func (o GetOrganizationResultOutput) Orgname() pulumi.StringOutput
- func (o GetOrganizationResultOutput) Plan() pulumi.StringOutput
- func (o GetOrganizationResultOutput) Repositories() pulumi.StringArrayOutput
- func (o GetOrganizationResultOutput) ToGetOrganizationResultOutput() GetOrganizationResultOutput
- func (o GetOrganizationResultOutput) ToGetOrganizationResultOutputWithContext(ctx context.Context) GetOrganizationResultOutput
- type GetOrganizationTeamSyncGroupsGroup
- type GetOrganizationTeamSyncGroupsGroupArgs
- func (GetOrganizationTeamSyncGroupsGroupArgs) ElementType() reflect.Type
- func (i GetOrganizationTeamSyncGroupsGroupArgs) ToGetOrganizationTeamSyncGroupsGroupOutput() GetOrganizationTeamSyncGroupsGroupOutput
- func (i GetOrganizationTeamSyncGroupsGroupArgs) ToGetOrganizationTeamSyncGroupsGroupOutputWithContext(ctx context.Context) GetOrganizationTeamSyncGroupsGroupOutput
- type GetOrganizationTeamSyncGroupsGroupArray
- func (GetOrganizationTeamSyncGroupsGroupArray) ElementType() reflect.Type
- func (i GetOrganizationTeamSyncGroupsGroupArray) ToGetOrganizationTeamSyncGroupsGroupArrayOutput() GetOrganizationTeamSyncGroupsGroupArrayOutput
- func (i GetOrganizationTeamSyncGroupsGroupArray) ToGetOrganizationTeamSyncGroupsGroupArrayOutputWithContext(ctx context.Context) GetOrganizationTeamSyncGroupsGroupArrayOutput
- type GetOrganizationTeamSyncGroupsGroupArrayInput
- type GetOrganizationTeamSyncGroupsGroupArrayOutput
- func (GetOrganizationTeamSyncGroupsGroupArrayOutput) ElementType() reflect.Type
- func (o GetOrganizationTeamSyncGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetOrganizationTeamSyncGroupsGroupOutput
- func (o GetOrganizationTeamSyncGroupsGroupArrayOutput) ToGetOrganizationTeamSyncGroupsGroupArrayOutput() GetOrganizationTeamSyncGroupsGroupArrayOutput
- func (o GetOrganizationTeamSyncGroupsGroupArrayOutput) ToGetOrganizationTeamSyncGroupsGroupArrayOutputWithContext(ctx context.Context) GetOrganizationTeamSyncGroupsGroupArrayOutput
- type GetOrganizationTeamSyncGroupsGroupInput
- type GetOrganizationTeamSyncGroupsGroupOutput
- func (GetOrganizationTeamSyncGroupsGroupOutput) ElementType() reflect.Type
- func (o GetOrganizationTeamSyncGroupsGroupOutput) GroupDescription() pulumi.StringOutput
- func (o GetOrganizationTeamSyncGroupsGroupOutput) GroupId() pulumi.StringOutput
- func (o GetOrganizationTeamSyncGroupsGroupOutput) GroupName() pulumi.StringOutput
- func (o GetOrganizationTeamSyncGroupsGroupOutput) ToGetOrganizationTeamSyncGroupsGroupOutput() GetOrganizationTeamSyncGroupsGroupOutput
- func (o GetOrganizationTeamSyncGroupsGroupOutput) ToGetOrganizationTeamSyncGroupsGroupOutputWithContext(ctx context.Context) GetOrganizationTeamSyncGroupsGroupOutput
- type GetOrganizationTeamSyncGroupsResult
- type GetOrganizationTeamsArgs
- type GetOrganizationTeamsOutputArgs
- type GetOrganizationTeamsResult
- type GetOrganizationTeamsResultOutput
- func (GetOrganizationTeamsResultOutput) ElementType() reflect.Type
- func (o GetOrganizationTeamsResultOutput) Id() pulumi.StringOutput
- func (o GetOrganizationTeamsResultOutput) RootTeamsOnly() pulumi.BoolPtrOutput
- func (o GetOrganizationTeamsResultOutput) Teams() GetOrganizationTeamsTeamArrayOutput
- func (o GetOrganizationTeamsResultOutput) ToGetOrganizationTeamsResultOutput() GetOrganizationTeamsResultOutput
- func (o GetOrganizationTeamsResultOutput) ToGetOrganizationTeamsResultOutputWithContext(ctx context.Context) GetOrganizationTeamsResultOutput
- type GetOrganizationTeamsTeam
- type GetOrganizationTeamsTeamArgs
- func (GetOrganizationTeamsTeamArgs) ElementType() reflect.Type
- func (i GetOrganizationTeamsTeamArgs) ToGetOrganizationTeamsTeamOutput() GetOrganizationTeamsTeamOutput
- func (i GetOrganizationTeamsTeamArgs) ToGetOrganizationTeamsTeamOutputWithContext(ctx context.Context) GetOrganizationTeamsTeamOutput
- type GetOrganizationTeamsTeamArray
- func (GetOrganizationTeamsTeamArray) ElementType() reflect.Type
- func (i GetOrganizationTeamsTeamArray) ToGetOrganizationTeamsTeamArrayOutput() GetOrganizationTeamsTeamArrayOutput
- func (i GetOrganizationTeamsTeamArray) ToGetOrganizationTeamsTeamArrayOutputWithContext(ctx context.Context) GetOrganizationTeamsTeamArrayOutput
- type GetOrganizationTeamsTeamArrayInput
- type GetOrganizationTeamsTeamArrayOutput
- func (GetOrganizationTeamsTeamArrayOutput) ElementType() reflect.Type
- func (o GetOrganizationTeamsTeamArrayOutput) Index(i pulumi.IntInput) GetOrganizationTeamsTeamOutput
- func (o GetOrganizationTeamsTeamArrayOutput) ToGetOrganizationTeamsTeamArrayOutput() GetOrganizationTeamsTeamArrayOutput
- func (o GetOrganizationTeamsTeamArrayOutput) ToGetOrganizationTeamsTeamArrayOutputWithContext(ctx context.Context) GetOrganizationTeamsTeamArrayOutput
- type GetOrganizationTeamsTeamInput
- type GetOrganizationTeamsTeamOutput
- func (o GetOrganizationTeamsTeamOutput) Description() pulumi.StringOutput
- func (GetOrganizationTeamsTeamOutput) ElementType() reflect.Type
- func (o GetOrganizationTeamsTeamOutput) Id() pulumi.IntOutput
- func (o GetOrganizationTeamsTeamOutput) Members() pulumi.StringArrayOutput
- func (o GetOrganizationTeamsTeamOutput) Name() pulumi.StringOutput
- func (o GetOrganizationTeamsTeamOutput) NodeId() pulumi.StringOutput
- func (o GetOrganizationTeamsTeamOutput) Privacy() pulumi.StringOutput
- func (o GetOrganizationTeamsTeamOutput) Repositories() pulumi.StringArrayOutput
- func (o GetOrganizationTeamsTeamOutput) Slug() pulumi.StringOutput
- func (o GetOrganizationTeamsTeamOutput) ToGetOrganizationTeamsTeamOutput() GetOrganizationTeamsTeamOutput
- func (o GetOrganizationTeamsTeamOutput) ToGetOrganizationTeamsTeamOutputWithContext(ctx context.Context) GetOrganizationTeamsTeamOutput
- type GetRefArgs
- type GetRefOutputArgs
- type GetRefResult
- type GetRefResultOutput
- func (GetRefResultOutput) ElementType() reflect.Type
- func (o GetRefResultOutput) Etag() pulumi.StringOutput
- func (o GetRefResultOutput) Id() pulumi.StringOutput
- func (o GetRefResultOutput) Ref() pulumi.StringOutput
- func (o GetRefResultOutput) Repository() pulumi.StringOutput
- func (o GetRefResultOutput) Sha() pulumi.StringOutput
- func (o GetRefResultOutput) ToGetRefResultOutput() GetRefResultOutput
- func (o GetRefResultOutput) ToGetRefResultOutputWithContext(ctx context.Context) GetRefResultOutput
- type GetReleaseArgs
- type GetReleaseOutputArgs
- type GetReleaseResult
- type GetReleaseResultOutput
- func (o GetReleaseResultOutput) AssertsUrl() pulumi.StringOutput
- func (o GetReleaseResultOutput) Body() pulumi.StringOutput
- func (o GetReleaseResultOutput) CreatedAt() pulumi.StringOutput
- func (o GetReleaseResultOutput) Draft() pulumi.BoolOutput
- func (GetReleaseResultOutput) ElementType() reflect.Type
- func (o GetReleaseResultOutput) HtmlUrl() pulumi.StringOutput
- func (o GetReleaseResultOutput) Id() pulumi.StringOutput
- func (o GetReleaseResultOutput) Name() pulumi.StringOutput
- func (o GetReleaseResultOutput) Owner() pulumi.StringOutput
- func (o GetReleaseResultOutput) Prerelease() pulumi.BoolOutput
- func (o GetReleaseResultOutput) PublishedAt() pulumi.StringOutput
- func (o GetReleaseResultOutput) ReleaseId() pulumi.IntPtrOutput
- func (o GetReleaseResultOutput) ReleaseTag() pulumi.StringPtrOutput
- func (o GetReleaseResultOutput) Repository() pulumi.StringOutput
- func (o GetReleaseResultOutput) RetrieveBy() pulumi.StringOutput
- func (o GetReleaseResultOutput) TarballUrl() pulumi.StringOutput
- func (o GetReleaseResultOutput) TargetCommitish() pulumi.StringOutput
- func (o GetReleaseResultOutput) ToGetReleaseResultOutput() GetReleaseResultOutput
- func (o GetReleaseResultOutput) ToGetReleaseResultOutputWithContext(ctx context.Context) GetReleaseResultOutput
- func (o GetReleaseResultOutput) UploadUrl() pulumi.StringOutput
- func (o GetReleaseResultOutput) Url() pulumi.StringOutput
- func (o GetReleaseResultOutput) ZipballUrl() pulumi.StringOutput
- type GetRepositoriesArgs
- type GetRepositoriesOutputArgs
- type GetRepositoriesResult
- type GetRepositoriesResultOutput
- func (GetRepositoriesResultOutput) ElementType() reflect.Type
- func (o GetRepositoriesResultOutput) FullNames() pulumi.StringArrayOutput
- func (o GetRepositoriesResultOutput) Id() pulumi.StringOutput
- func (o GetRepositoriesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetRepositoriesResultOutput) Query() pulumi.StringOutput
- func (o GetRepositoriesResultOutput) Sort() pulumi.StringPtrOutput
- func (o GetRepositoriesResultOutput) ToGetRepositoriesResultOutput() GetRepositoriesResultOutput
- func (o GetRepositoriesResultOutput) ToGetRepositoriesResultOutputWithContext(ctx context.Context) GetRepositoriesResultOutput
- type GetRepositoryBranch
- type GetRepositoryBranchArgs
- type GetRepositoryBranchArray
- type GetRepositoryBranchArrayInput
- type GetRepositoryBranchArrayOutput
- func (GetRepositoryBranchArrayOutput) ElementType() reflect.Type
- func (o GetRepositoryBranchArrayOutput) Index(i pulumi.IntInput) GetRepositoryBranchOutput
- func (o GetRepositoryBranchArrayOutput) ToGetRepositoryBranchArrayOutput() GetRepositoryBranchArrayOutput
- func (o GetRepositoryBranchArrayOutput) ToGetRepositoryBranchArrayOutputWithContext(ctx context.Context) GetRepositoryBranchArrayOutput
- type GetRepositoryBranchInput
- type GetRepositoryBranchOutput
- func (GetRepositoryBranchOutput) ElementType() reflect.Type
- func (o GetRepositoryBranchOutput) Name() pulumi.StringOutput
- func (o GetRepositoryBranchOutput) Protected() pulumi.BoolOutput
- func (o GetRepositoryBranchOutput) ToGetRepositoryBranchOutput() GetRepositoryBranchOutput
- func (o GetRepositoryBranchOutput) ToGetRepositoryBranchOutputWithContext(ctx context.Context) GetRepositoryBranchOutput
- type GetRepositoryPage
- type GetRepositoryPageArgs
- type GetRepositoryPageArray
- type GetRepositoryPageArrayInput
- type GetRepositoryPageArrayOutput
- func (GetRepositoryPageArrayOutput) ElementType() reflect.Type
- func (o GetRepositoryPageArrayOutput) Index(i pulumi.IntInput) GetRepositoryPageOutput
- func (o GetRepositoryPageArrayOutput) ToGetRepositoryPageArrayOutput() GetRepositoryPageArrayOutput
- func (o GetRepositoryPageArrayOutput) ToGetRepositoryPageArrayOutputWithContext(ctx context.Context) GetRepositoryPageArrayOutput
- type GetRepositoryPageInput
- type GetRepositoryPageOutput
- func (o GetRepositoryPageOutput) Cname() pulumi.StringOutput
- func (o GetRepositoryPageOutput) Custom404() pulumi.BoolOutput
- func (GetRepositoryPageOutput) ElementType() reflect.Type
- func (o GetRepositoryPageOutput) HtmlUrl() pulumi.StringOutput
- func (o GetRepositoryPageOutput) Sources() GetRepositoryPageSourceArrayOutput
- func (o GetRepositoryPageOutput) Status() pulumi.StringOutput
- func (o GetRepositoryPageOutput) ToGetRepositoryPageOutput() GetRepositoryPageOutput
- func (o GetRepositoryPageOutput) ToGetRepositoryPageOutputWithContext(ctx context.Context) GetRepositoryPageOutput
- func (o GetRepositoryPageOutput) Url() pulumi.StringOutput
- type GetRepositoryPageSource
- type GetRepositoryPageSourceArgs
- type GetRepositoryPageSourceArray
- func (GetRepositoryPageSourceArray) ElementType() reflect.Type
- func (i GetRepositoryPageSourceArray) ToGetRepositoryPageSourceArrayOutput() GetRepositoryPageSourceArrayOutput
- func (i GetRepositoryPageSourceArray) ToGetRepositoryPageSourceArrayOutputWithContext(ctx context.Context) GetRepositoryPageSourceArrayOutput
- type GetRepositoryPageSourceArrayInput
- type GetRepositoryPageSourceArrayOutput
- func (GetRepositoryPageSourceArrayOutput) ElementType() reflect.Type
- func (o GetRepositoryPageSourceArrayOutput) Index(i pulumi.IntInput) GetRepositoryPageSourceOutput
- func (o GetRepositoryPageSourceArrayOutput) ToGetRepositoryPageSourceArrayOutput() GetRepositoryPageSourceArrayOutput
- func (o GetRepositoryPageSourceArrayOutput) ToGetRepositoryPageSourceArrayOutputWithContext(ctx context.Context) GetRepositoryPageSourceArrayOutput
- type GetRepositoryPageSourceInput
- type GetRepositoryPageSourceOutput
- func (o GetRepositoryPageSourceOutput) Branch() pulumi.StringOutput
- func (GetRepositoryPageSourceOutput) ElementType() reflect.Type
- func (o GetRepositoryPageSourceOutput) Path() pulumi.StringOutput
- func (o GetRepositoryPageSourceOutput) ToGetRepositoryPageSourceOutput() GetRepositoryPageSourceOutput
- func (o GetRepositoryPageSourceOutput) ToGetRepositoryPageSourceOutputWithContext(ctx context.Context) GetRepositoryPageSourceOutput
- type GetRepositoryPullRequestsResult
- type GetRepositoryPullRequestsResultArgs
- func (GetRepositoryPullRequestsResultArgs) ElementType() reflect.Type
- func (i GetRepositoryPullRequestsResultArgs) ToGetRepositoryPullRequestsResultOutput() GetRepositoryPullRequestsResultOutput
- func (i GetRepositoryPullRequestsResultArgs) ToGetRepositoryPullRequestsResultOutputWithContext(ctx context.Context) GetRepositoryPullRequestsResultOutput
- type GetRepositoryPullRequestsResultArray
- func (GetRepositoryPullRequestsResultArray) ElementType() reflect.Type
- func (i GetRepositoryPullRequestsResultArray) ToGetRepositoryPullRequestsResultArrayOutput() GetRepositoryPullRequestsResultArrayOutput
- func (i GetRepositoryPullRequestsResultArray) ToGetRepositoryPullRequestsResultArrayOutputWithContext(ctx context.Context) GetRepositoryPullRequestsResultArrayOutput
- type GetRepositoryPullRequestsResultArrayInput
- type GetRepositoryPullRequestsResultArrayOutput
- func (GetRepositoryPullRequestsResultArrayOutput) ElementType() reflect.Type
- func (o GetRepositoryPullRequestsResultArrayOutput) Index(i pulumi.IntInput) GetRepositoryPullRequestsResultOutput
- func (o GetRepositoryPullRequestsResultArrayOutput) ToGetRepositoryPullRequestsResultArrayOutput() GetRepositoryPullRequestsResultArrayOutput
- func (o GetRepositoryPullRequestsResultArrayOutput) ToGetRepositoryPullRequestsResultArrayOutputWithContext(ctx context.Context) GetRepositoryPullRequestsResultArrayOutput
- type GetRepositoryPullRequestsResultInput
- type GetRepositoryPullRequestsResultOutput
- func (o GetRepositoryPullRequestsResultOutput) BaseRef() pulumi.StringOutput
- func (o GetRepositoryPullRequestsResultOutput) BaseSha() pulumi.StringOutput
- func (o GetRepositoryPullRequestsResultOutput) Body() pulumi.StringOutput
- func (o GetRepositoryPullRequestsResultOutput) Draft() pulumi.BoolOutput
- func (GetRepositoryPullRequestsResultOutput) ElementType() reflect.Type
- func (o GetRepositoryPullRequestsResultOutput) HeadOwner() pulumi.StringOutput
- func (o GetRepositoryPullRequestsResultOutput) HeadRef() pulumi.StringOutput
- func (o GetRepositoryPullRequestsResultOutput) HeadRepository() pulumi.StringOutput
- func (o GetRepositoryPullRequestsResultOutput) HeadSha() pulumi.StringOutput
- func (o GetRepositoryPullRequestsResultOutput) Labels() pulumi.StringArrayOutput
- func (o GetRepositoryPullRequestsResultOutput) MaintainerCanModify() pulumi.BoolOutput
- func (o GetRepositoryPullRequestsResultOutput) Number() pulumi.IntOutput
- func (o GetRepositoryPullRequestsResultOutput) OpenedAt() pulumi.IntOutput
- func (o GetRepositoryPullRequestsResultOutput) OpenedBy() pulumi.StringOutput
- func (o GetRepositoryPullRequestsResultOutput) State() pulumi.StringOutput
- func (o GetRepositoryPullRequestsResultOutput) Title() pulumi.StringOutput
- func (o GetRepositoryPullRequestsResultOutput) ToGetRepositoryPullRequestsResultOutput() GetRepositoryPullRequestsResultOutput
- func (o GetRepositoryPullRequestsResultOutput) ToGetRepositoryPullRequestsResultOutputWithContext(ctx context.Context) GetRepositoryPullRequestsResultOutput
- func (o GetRepositoryPullRequestsResultOutput) UpdatedAt() pulumi.IntOutput
- type GetTreeArgs
- type GetTreeEntry
- type GetTreeEntryArgs
- type GetTreeEntryArray
- type GetTreeEntryArrayInput
- type GetTreeEntryArrayOutput
- func (GetTreeEntryArrayOutput) ElementType() reflect.Type
- func (o GetTreeEntryArrayOutput) Index(i pulumi.IntInput) GetTreeEntryOutput
- func (o GetTreeEntryArrayOutput) ToGetTreeEntryArrayOutput() GetTreeEntryArrayOutput
- func (o GetTreeEntryArrayOutput) ToGetTreeEntryArrayOutputWithContext(ctx context.Context) GetTreeEntryArrayOutput
- type GetTreeEntryInput
- type GetTreeEntryOutput
- func (GetTreeEntryOutput) ElementType() reflect.Type
- func (o GetTreeEntryOutput) Mode() pulumi.StringOutput
- func (o GetTreeEntryOutput) Path() pulumi.StringOutput
- func (o GetTreeEntryOutput) Sha() pulumi.StringOutput
- func (o GetTreeEntryOutput) Size() pulumi.IntOutput
- func (o GetTreeEntryOutput) ToGetTreeEntryOutput() GetTreeEntryOutput
- func (o GetTreeEntryOutput) ToGetTreeEntryOutputWithContext(ctx context.Context) GetTreeEntryOutput
- func (o GetTreeEntryOutput) Type() pulumi.StringOutput
- type GetTreeOutputArgs
- type GetTreeResult
- type GetTreeResultOutput
- func (GetTreeResultOutput) ElementType() reflect.Type
- func (o GetTreeResultOutput) Entries() GetTreeEntryArrayOutput
- func (o GetTreeResultOutput) Id() pulumi.StringOutput
- func (o GetTreeResultOutput) Recursive() pulumi.BoolPtrOutput
- func (o GetTreeResultOutput) Repository() pulumi.StringOutput
- func (o GetTreeResultOutput) ToGetTreeResultOutput() GetTreeResultOutput
- func (o GetTreeResultOutput) ToGetTreeResultOutputWithContext(ctx context.Context) GetTreeResultOutput
- func (o GetTreeResultOutput) TreeSha() pulumi.StringOutput
- type GetUserArgs
- type GetUserOutputArgs
- type GetUserResult
- type GetUserResultOutput
- func (o GetUserResultOutput) AvatarUrl() pulumi.StringOutput
- func (o GetUserResultOutput) Bio() pulumi.StringOutput
- func (o GetUserResultOutput) Blog() pulumi.StringOutput
- func (o GetUserResultOutput) Company() pulumi.StringOutput
- func (o GetUserResultOutput) CreatedAt() pulumi.StringOutput
- func (GetUserResultOutput) ElementType() reflect.Type
- func (o GetUserResultOutput) Email() pulumi.StringOutput
- func (o GetUserResultOutput) Followers() pulumi.IntOutput
- func (o GetUserResultOutput) Following() pulumi.IntOutput
- func (o GetUserResultOutput) GpgKeys() pulumi.StringArrayOutput
- func (o GetUserResultOutput) GravatarId() pulumi.StringOutput
- func (o GetUserResultOutput) Id() pulumi.StringOutput
- func (o GetUserResultOutput) Location() pulumi.StringOutput
- func (o GetUserResultOutput) Login() pulumi.StringOutput
- func (o GetUserResultOutput) Name() pulumi.StringOutput
- func (o GetUserResultOutput) NodeId() pulumi.StringOutput
- func (o GetUserResultOutput) PublicGists() pulumi.IntOutput
- func (o GetUserResultOutput) PublicRepos() pulumi.IntOutput
- func (o GetUserResultOutput) SiteAdmin() pulumi.BoolOutput
- func (o GetUserResultOutput) SshKeys() pulumi.StringArrayOutput
- func (o GetUserResultOutput) SuspendedAt() pulumi.StringOutput
- func (o GetUserResultOutput) ToGetUserResultOutput() GetUserResultOutput
- func (o GetUserResultOutput) ToGetUserResultOutputWithContext(ctx context.Context) GetUserResultOutput
- func (o GetUserResultOutput) UpdatedAt() pulumi.StringOutput
- func (o GetUserResultOutput) Username() pulumi.StringOutput
- type GetUsersArgs
- type GetUsersOutputArgs
- type GetUsersResult
- type GetUsersResultOutput
- func (GetUsersResultOutput) ElementType() reflect.Type
- func (o GetUsersResultOutput) Id() pulumi.StringOutput
- func (o GetUsersResultOutput) Logins() pulumi.StringArrayOutput
- func (o GetUsersResultOutput) NodeIds() pulumi.StringArrayOutput
- func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput
- func (o GetUsersResultOutput) ToGetUsersResultOutputWithContext(ctx context.Context) GetUsersResultOutput
- func (o GetUsersResultOutput) UnknownLogins() pulumi.StringArrayOutput
- func (o GetUsersResultOutput) Usernames() pulumi.StringArrayOutput
- type Issue
- type IssueArgs
- type IssueArray
- type IssueArrayInput
- type IssueArrayOutput
- type IssueInput
- type IssueLabel
- type IssueLabelArgs
- type IssueLabelArray
- type IssueLabelArrayInput
- type IssueLabelArrayOutput
- func (IssueLabelArrayOutput) ElementType() reflect.Type
- func (o IssueLabelArrayOutput) Index(i pulumi.IntInput) IssueLabelOutput
- func (o IssueLabelArrayOutput) ToIssueLabelArrayOutput() IssueLabelArrayOutput
- func (o IssueLabelArrayOutput) ToIssueLabelArrayOutputWithContext(ctx context.Context) IssueLabelArrayOutput
- type IssueLabelInput
- type IssueLabelMap
- type IssueLabelMapInput
- type IssueLabelMapOutput
- func (IssueLabelMapOutput) ElementType() reflect.Type
- func (o IssueLabelMapOutput) MapIndex(k pulumi.StringInput) IssueLabelOutput
- func (o IssueLabelMapOutput) ToIssueLabelMapOutput() IssueLabelMapOutput
- func (o IssueLabelMapOutput) ToIssueLabelMapOutputWithContext(ctx context.Context) IssueLabelMapOutput
- type IssueLabelOutput
- func (o IssueLabelOutput) Color() pulumi.StringOutput
- func (o IssueLabelOutput) Description() pulumi.StringPtrOutput
- func (IssueLabelOutput) ElementType() reflect.Type
- func (o IssueLabelOutput) Etag() pulumi.StringOutput
- func (o IssueLabelOutput) Name() pulumi.StringOutput
- func (o IssueLabelOutput) Repository() pulumi.StringOutput
- func (o IssueLabelOutput) ToIssueLabelOutput() IssueLabelOutput
- func (o IssueLabelOutput) ToIssueLabelOutputWithContext(ctx context.Context) IssueLabelOutput
- func (o IssueLabelOutput) Url() pulumi.StringOutput
- type IssueLabelState
- type IssueMap
- type IssueMapInput
- type IssueMapOutput
- type IssueOutput
- func (o IssueOutput) Assignees() pulumi.StringArrayOutput
- func (o IssueOutput) Body() pulumi.StringPtrOutput
- func (IssueOutput) ElementType() reflect.Type
- func (o IssueOutput) Etag() pulumi.StringOutput
- func (o IssueOutput) IssueId() pulumi.IntOutput
- func (o IssueOutput) Labels() pulumi.StringArrayOutput
- func (o IssueOutput) MilestoneNumber() pulumi.IntPtrOutput
- func (o IssueOutput) Number() pulumi.IntOutput
- func (o IssueOutput) Repository() pulumi.StringOutput
- func (o IssueOutput) Title() pulumi.StringOutput
- func (o IssueOutput) ToIssueOutput() IssueOutput
- func (o IssueOutput) ToIssueOutputWithContext(ctx context.Context) IssueOutput
- type IssueState
- type LookupBranchArgs
- type LookupBranchOutputArgs
- type LookupBranchResult
- type LookupBranchResultOutput
- func (o LookupBranchResultOutput) Branch() pulumi.StringOutput
- func (LookupBranchResultOutput) ElementType() reflect.Type
- func (o LookupBranchResultOutput) Etag() pulumi.StringOutput
- func (o LookupBranchResultOutput) Id() pulumi.StringOutput
- func (o LookupBranchResultOutput) Ref() pulumi.StringOutput
- func (o LookupBranchResultOutput) Repository() pulumi.StringOutput
- func (o LookupBranchResultOutput) Sha() pulumi.StringOutput
- func (o LookupBranchResultOutput) ToLookupBranchResultOutput() LookupBranchResultOutput
- func (o LookupBranchResultOutput) ToLookupBranchResultOutputWithContext(ctx context.Context) LookupBranchResultOutput
- type LookupMembershipArgs
- type LookupMembershipOutputArgs
- type LookupMembershipResult
- type LookupMembershipResultOutput
- func (LookupMembershipResultOutput) ElementType() reflect.Type
- func (o LookupMembershipResultOutput) Etag() pulumi.StringOutput
- func (o LookupMembershipResultOutput) Id() pulumi.StringOutput
- func (o LookupMembershipResultOutput) Organization() pulumi.StringPtrOutput
- func (o LookupMembershipResultOutput) Role() pulumi.StringOutput
- func (o LookupMembershipResultOutput) ToLookupMembershipResultOutput() LookupMembershipResultOutput
- func (o LookupMembershipResultOutput) ToLookupMembershipResultOutputWithContext(ctx context.Context) LookupMembershipResultOutput
- func (o LookupMembershipResultOutput) Username() pulumi.StringOutput
- type LookupRepositoryArgs
- type LookupRepositoryFileArgs
- type LookupRepositoryFileOutputArgs
- type LookupRepositoryFileResult
- type LookupRepositoryFileResultOutput
- func (o LookupRepositoryFileResultOutput) Branch() pulumi.StringPtrOutput
- func (o LookupRepositoryFileResultOutput) CommitAuthor() pulumi.StringOutput
- func (o LookupRepositoryFileResultOutput) CommitEmail() pulumi.StringOutput
- func (o LookupRepositoryFileResultOutput) CommitMessage() pulumi.StringOutput
- func (o LookupRepositoryFileResultOutput) CommitSha() pulumi.StringOutput
- func (o LookupRepositoryFileResultOutput) Content() pulumi.StringOutput
- func (LookupRepositoryFileResultOutput) ElementType() reflect.Type
- func (o LookupRepositoryFileResultOutput) File() pulumi.StringOutput
- func (o LookupRepositoryFileResultOutput) Id() pulumi.StringOutput
- func (o LookupRepositoryFileResultOutput) Repository() pulumi.StringOutput
- func (o LookupRepositoryFileResultOutput) Sha() pulumi.StringOutput
- func (o LookupRepositoryFileResultOutput) ToLookupRepositoryFileResultOutput() LookupRepositoryFileResultOutput
- func (o LookupRepositoryFileResultOutput) ToLookupRepositoryFileResultOutputWithContext(ctx context.Context) LookupRepositoryFileResultOutput
- type LookupRepositoryMilestoneArgs
- type LookupRepositoryMilestoneOutputArgs
- type LookupRepositoryMilestoneResult
- type LookupRepositoryMilestoneResultOutput
- func (o LookupRepositoryMilestoneResultOutput) Description() pulumi.StringOutput
- func (o LookupRepositoryMilestoneResultOutput) DueDate() pulumi.StringOutput
- func (LookupRepositoryMilestoneResultOutput) ElementType() reflect.Type
- func (o LookupRepositoryMilestoneResultOutput) Id() pulumi.StringOutput
- func (o LookupRepositoryMilestoneResultOutput) Number() pulumi.IntOutput
- func (o LookupRepositoryMilestoneResultOutput) Owner() pulumi.StringOutput
- func (o LookupRepositoryMilestoneResultOutput) Repository() pulumi.StringOutput
- func (o LookupRepositoryMilestoneResultOutput) State() pulumi.StringOutput
- func (o LookupRepositoryMilestoneResultOutput) Title() pulumi.StringOutput
- func (o LookupRepositoryMilestoneResultOutput) ToLookupRepositoryMilestoneResultOutput() LookupRepositoryMilestoneResultOutput
- func (o LookupRepositoryMilestoneResultOutput) ToLookupRepositoryMilestoneResultOutputWithContext(ctx context.Context) LookupRepositoryMilestoneResultOutput
- type LookupRepositoryOutputArgs
- type LookupRepositoryPullRequestArgs
- type LookupRepositoryPullRequestOutputArgs
- type LookupRepositoryPullRequestResult
- type LookupRepositoryPullRequestResultOutput
- func (o LookupRepositoryPullRequestResultOutput) BaseRef() pulumi.StringOutput
- func (o LookupRepositoryPullRequestResultOutput) BaseRepository() pulumi.StringOutput
- func (o LookupRepositoryPullRequestResultOutput) BaseSha() pulumi.StringOutput
- func (o LookupRepositoryPullRequestResultOutput) Body() pulumi.StringOutput
- func (o LookupRepositoryPullRequestResultOutput) Draft() pulumi.BoolOutput
- func (LookupRepositoryPullRequestResultOutput) ElementType() reflect.Type
- func (o LookupRepositoryPullRequestResultOutput) HeadOwner() pulumi.StringOutput
- func (o LookupRepositoryPullRequestResultOutput) HeadRef() pulumi.StringOutput
- func (o LookupRepositoryPullRequestResultOutput) HeadRepository() pulumi.StringOutput
- func (o LookupRepositoryPullRequestResultOutput) HeadSha() pulumi.StringOutput
- func (o LookupRepositoryPullRequestResultOutput) Id() pulumi.StringOutput
- func (o LookupRepositoryPullRequestResultOutput) Labels() pulumi.StringArrayOutput
- func (o LookupRepositoryPullRequestResultOutput) MaintainerCanModify() pulumi.BoolOutput
- func (o LookupRepositoryPullRequestResultOutput) Number() pulumi.IntOutput
- func (o LookupRepositoryPullRequestResultOutput) OpenedAt() pulumi.IntOutput
- func (o LookupRepositoryPullRequestResultOutput) OpenedBy() pulumi.StringOutput
- func (o LookupRepositoryPullRequestResultOutput) Owner() pulumi.StringPtrOutput
- func (o LookupRepositoryPullRequestResultOutput) State() pulumi.StringOutput
- func (o LookupRepositoryPullRequestResultOutput) Title() pulumi.StringOutput
- func (o LookupRepositoryPullRequestResultOutput) ToLookupRepositoryPullRequestResultOutput() LookupRepositoryPullRequestResultOutput
- func (o LookupRepositoryPullRequestResultOutput) ToLookupRepositoryPullRequestResultOutputWithContext(ctx context.Context) LookupRepositoryPullRequestResultOutput
- func (o LookupRepositoryPullRequestResultOutput) UpdatedAt() pulumi.IntOutput
- type LookupRepositoryPullRequestsArgs
- type LookupRepositoryPullRequestsOutputArgs
- type LookupRepositoryPullRequestsResult
- type LookupRepositoryPullRequestsResultOutput
- func (o LookupRepositoryPullRequestsResultOutput) BaseRef() pulumi.StringPtrOutput
- func (o LookupRepositoryPullRequestsResultOutput) BaseRepository() pulumi.StringOutput
- func (LookupRepositoryPullRequestsResultOutput) ElementType() reflect.Type
- func (o LookupRepositoryPullRequestsResultOutput) HeadRef() pulumi.StringPtrOutput
- func (o LookupRepositoryPullRequestsResultOutput) Id() pulumi.StringOutput
- func (o LookupRepositoryPullRequestsResultOutput) Owner() pulumi.StringPtrOutput
- func (o LookupRepositoryPullRequestsResultOutput) Results() GetRepositoryPullRequestsResultArrayOutput
- func (o LookupRepositoryPullRequestsResultOutput) SortBy() pulumi.StringPtrOutput
- func (o LookupRepositoryPullRequestsResultOutput) SortDirection() pulumi.StringPtrOutput
- func (o LookupRepositoryPullRequestsResultOutput) State() pulumi.StringPtrOutput
- func (o LookupRepositoryPullRequestsResultOutput) ToLookupRepositoryPullRequestsResultOutput() LookupRepositoryPullRequestsResultOutput
- func (o LookupRepositoryPullRequestsResultOutput) ToLookupRepositoryPullRequestsResultOutputWithContext(ctx context.Context) LookupRepositoryPullRequestsResultOutput
- type LookupRepositoryResult
- type LookupRepositoryResultOutput
- func (o LookupRepositoryResultOutput) AllowAutoMerge() pulumi.BoolOutput
- func (o LookupRepositoryResultOutput) AllowMergeCommit() pulumi.BoolOutput
- func (o LookupRepositoryResultOutput) AllowRebaseMerge() pulumi.BoolOutput
- func (o LookupRepositoryResultOutput) AllowSquashMerge() pulumi.BoolOutput
- func (o LookupRepositoryResultOutput) Archived() pulumi.BoolOutput
- func (o LookupRepositoryResultOutput) Branches() GetRepositoryBranchArrayOutput
- func (o LookupRepositoryResultOutput) DefaultBranch() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) Description() pulumi.StringPtrOutput
- func (LookupRepositoryResultOutput) ElementType() reflect.Type
- func (o LookupRepositoryResultOutput) FullName() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) GitCloneUrl() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) HasDownloads() pulumi.BoolOutput
- func (o LookupRepositoryResultOutput) HasIssues() pulumi.BoolOutput
- func (o LookupRepositoryResultOutput) HasProjects() pulumi.BoolOutput
- func (o LookupRepositoryResultOutput) HasWiki() pulumi.BoolOutput
- func (o LookupRepositoryResultOutput) HomepageUrl() pulumi.StringPtrOutput
- func (o LookupRepositoryResultOutput) HtmlUrl() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) HttpCloneUrl() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) Id() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) MergeCommitMessage() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) MergeCommitTitle() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) Name() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) NodeId() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) OnlyProtectedBranches() pulumi.BoolPtrOutput
- func (o LookupRepositoryResultOutput) Pages() GetRepositoryPageArrayOutput
- func (o LookupRepositoryResultOutput) Private() pulumi.BoolOutput
- func (o LookupRepositoryResultOutput) RepoId() pulumi.IntOutput
- func (o LookupRepositoryResultOutput) SquashMergeCommitMessage() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) SquashMergeCommitTitle() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) SshCloneUrl() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) SvnUrl() pulumi.StringOutput
- func (o LookupRepositoryResultOutput) ToLookupRepositoryResultOutput() LookupRepositoryResultOutput
- func (o LookupRepositoryResultOutput) ToLookupRepositoryResultOutputWithContext(ctx context.Context) LookupRepositoryResultOutput
- func (o LookupRepositoryResultOutput) Topics() pulumi.StringArrayOutput
- func (o LookupRepositoryResultOutput) Visibility() pulumi.StringOutput
- type LookupTeamArgs
- type LookupTeamOutputArgs
- type LookupTeamResult
- type LookupTeamResultOutput
- func (o LookupTeamResultOutput) Description() pulumi.StringOutput
- func (LookupTeamResultOutput) ElementType() reflect.Type
- func (o LookupTeamResultOutput) Id() pulumi.StringOutput
- func (o LookupTeamResultOutput) Members() pulumi.StringArrayOutput
- func (o LookupTeamResultOutput) MembershipType() pulumi.StringPtrOutput
- func (o LookupTeamResultOutput) Name() pulumi.StringOutput
- func (o LookupTeamResultOutput) NodeId() pulumi.StringOutput
- func (o LookupTeamResultOutput) Permission() pulumi.StringOutput
- func (o LookupTeamResultOutput) Privacy() pulumi.StringOutput
- func (o LookupTeamResultOutput) Repositories() pulumi.StringArrayOutput
- func (o LookupTeamResultOutput) Slug() pulumi.StringOutput
- func (o LookupTeamResultOutput) ToLookupTeamResultOutput() LookupTeamResultOutput
- func (o LookupTeamResultOutput) ToLookupTeamResultOutputWithContext(ctx context.Context) LookupTeamResultOutput
- type Membership
- type MembershipArgs
- type MembershipArray
- type MembershipArrayInput
- type MembershipArrayOutput
- func (MembershipArrayOutput) ElementType() reflect.Type
- func (o MembershipArrayOutput) Index(i pulumi.IntInput) MembershipOutput
- func (o MembershipArrayOutput) ToMembershipArrayOutput() MembershipArrayOutput
- func (o MembershipArrayOutput) ToMembershipArrayOutputWithContext(ctx context.Context) MembershipArrayOutput
- type MembershipInput
- type MembershipMap
- type MembershipMapInput
- type MembershipMapOutput
- func (MembershipMapOutput) ElementType() reflect.Type
- func (o MembershipMapOutput) MapIndex(k pulumi.StringInput) MembershipOutput
- func (o MembershipMapOutput) ToMembershipMapOutput() MembershipMapOutput
- func (o MembershipMapOutput) ToMembershipMapOutputWithContext(ctx context.Context) MembershipMapOutput
- type MembershipOutput
- func (MembershipOutput) ElementType() reflect.Type
- func (o MembershipOutput) Etag() pulumi.StringOutput
- func (o MembershipOutput) Role() pulumi.StringPtrOutput
- func (o MembershipOutput) ToMembershipOutput() MembershipOutput
- func (o MembershipOutput) ToMembershipOutputWithContext(ctx context.Context) MembershipOutput
- func (o MembershipOutput) Username() pulumi.StringOutput
- type MembershipState
- type OrganizationBlock
- type OrganizationBlockArgs
- type OrganizationBlockArray
- type OrganizationBlockArrayInput
- type OrganizationBlockArrayOutput
- func (OrganizationBlockArrayOutput) ElementType() reflect.Type
- func (o OrganizationBlockArrayOutput) Index(i pulumi.IntInput) OrganizationBlockOutput
- func (o OrganizationBlockArrayOutput) ToOrganizationBlockArrayOutput() OrganizationBlockArrayOutput
- func (o OrganizationBlockArrayOutput) ToOrganizationBlockArrayOutputWithContext(ctx context.Context) OrganizationBlockArrayOutput
- type OrganizationBlockInput
- type OrganizationBlockMap
- type OrganizationBlockMapInput
- type OrganizationBlockMapOutput
- func (OrganizationBlockMapOutput) ElementType() reflect.Type
- func (o OrganizationBlockMapOutput) MapIndex(k pulumi.StringInput) OrganizationBlockOutput
- func (o OrganizationBlockMapOutput) ToOrganizationBlockMapOutput() OrganizationBlockMapOutput
- func (o OrganizationBlockMapOutput) ToOrganizationBlockMapOutputWithContext(ctx context.Context) OrganizationBlockMapOutput
- type OrganizationBlockOutput
- func (OrganizationBlockOutput) ElementType() reflect.Type
- func (o OrganizationBlockOutput) Etag() pulumi.StringOutput
- func (o OrganizationBlockOutput) ToOrganizationBlockOutput() OrganizationBlockOutput
- func (o OrganizationBlockOutput) ToOrganizationBlockOutputWithContext(ctx context.Context) OrganizationBlockOutput
- func (o OrganizationBlockOutput) Username() pulumi.StringOutput
- type OrganizationBlockState
- type OrganizationProject
- type OrganizationProjectArgs
- type OrganizationProjectArray
- type OrganizationProjectArrayInput
- type OrganizationProjectArrayOutput
- func (OrganizationProjectArrayOutput) ElementType() reflect.Type
- func (o OrganizationProjectArrayOutput) Index(i pulumi.IntInput) OrganizationProjectOutput
- func (o OrganizationProjectArrayOutput) ToOrganizationProjectArrayOutput() OrganizationProjectArrayOutput
- func (o OrganizationProjectArrayOutput) ToOrganizationProjectArrayOutputWithContext(ctx context.Context) OrganizationProjectArrayOutput
- type OrganizationProjectInput
- type OrganizationProjectMap
- type OrganizationProjectMapInput
- type OrganizationProjectMapOutput
- func (OrganizationProjectMapOutput) ElementType() reflect.Type
- func (o OrganizationProjectMapOutput) MapIndex(k pulumi.StringInput) OrganizationProjectOutput
- func (o OrganizationProjectMapOutput) ToOrganizationProjectMapOutput() OrganizationProjectMapOutput
- func (o OrganizationProjectMapOutput) ToOrganizationProjectMapOutputWithContext(ctx context.Context) OrganizationProjectMapOutput
- type OrganizationProjectOutput
- func (o OrganizationProjectOutput) Body() pulumi.StringPtrOutput
- func (OrganizationProjectOutput) ElementType() reflect.Type
- func (o OrganizationProjectOutput) Etag() pulumi.StringOutput
- func (o OrganizationProjectOutput) Name() pulumi.StringOutput
- func (o OrganizationProjectOutput) ToOrganizationProjectOutput() OrganizationProjectOutput
- func (o OrganizationProjectOutput) ToOrganizationProjectOutputWithContext(ctx context.Context) OrganizationProjectOutput
- func (o OrganizationProjectOutput) Url() pulumi.StringOutput
- type OrganizationProjectState
- type OrganizationWebhook
- type OrganizationWebhookArgs
- type OrganizationWebhookArray
- type OrganizationWebhookArrayInput
- type OrganizationWebhookArrayOutput
- func (OrganizationWebhookArrayOutput) ElementType() reflect.Type
- func (o OrganizationWebhookArrayOutput) Index(i pulumi.IntInput) OrganizationWebhookOutput
- func (o OrganizationWebhookArrayOutput) ToOrganizationWebhookArrayOutput() OrganizationWebhookArrayOutput
- func (o OrganizationWebhookArrayOutput) ToOrganizationWebhookArrayOutputWithContext(ctx context.Context) OrganizationWebhookArrayOutput
- type OrganizationWebhookConfiguration
- type OrganizationWebhookConfigurationArgs
- func (OrganizationWebhookConfigurationArgs) ElementType() reflect.Type
- func (i OrganizationWebhookConfigurationArgs) ToOrganizationWebhookConfigurationOutput() OrganizationWebhookConfigurationOutput
- func (i OrganizationWebhookConfigurationArgs) ToOrganizationWebhookConfigurationOutputWithContext(ctx context.Context) OrganizationWebhookConfigurationOutput
- func (i OrganizationWebhookConfigurationArgs) ToOrganizationWebhookConfigurationPtrOutput() OrganizationWebhookConfigurationPtrOutput
- func (i OrganizationWebhookConfigurationArgs) ToOrganizationWebhookConfigurationPtrOutputWithContext(ctx context.Context) OrganizationWebhookConfigurationPtrOutput
- type OrganizationWebhookConfigurationInput
- type OrganizationWebhookConfigurationOutput
- func (o OrganizationWebhookConfigurationOutput) ContentType() pulumi.StringPtrOutput
- func (OrganizationWebhookConfigurationOutput) ElementType() reflect.Type
- func (o OrganizationWebhookConfigurationOutput) InsecureSsl() pulumi.BoolPtrOutput
- func (o OrganizationWebhookConfigurationOutput) Secret() pulumi.StringPtrOutput
- func (o OrganizationWebhookConfigurationOutput) ToOrganizationWebhookConfigurationOutput() OrganizationWebhookConfigurationOutput
- func (o OrganizationWebhookConfigurationOutput) ToOrganizationWebhookConfigurationOutputWithContext(ctx context.Context) OrganizationWebhookConfigurationOutput
- func (o OrganizationWebhookConfigurationOutput) ToOrganizationWebhookConfigurationPtrOutput() OrganizationWebhookConfigurationPtrOutput
- func (o OrganizationWebhookConfigurationOutput) ToOrganizationWebhookConfigurationPtrOutputWithContext(ctx context.Context) OrganizationWebhookConfigurationPtrOutput
- func (o OrganizationWebhookConfigurationOutput) Url() pulumi.StringOutput
- type OrganizationWebhookConfigurationPtrInput
- type OrganizationWebhookConfigurationPtrOutput
- func (o OrganizationWebhookConfigurationPtrOutput) ContentType() pulumi.StringPtrOutput
- func (o OrganizationWebhookConfigurationPtrOutput) Elem() OrganizationWebhookConfigurationOutput
- func (OrganizationWebhookConfigurationPtrOutput) ElementType() reflect.Type
- func (o OrganizationWebhookConfigurationPtrOutput) InsecureSsl() pulumi.BoolPtrOutput
- func (o OrganizationWebhookConfigurationPtrOutput) Secret() pulumi.StringPtrOutput
- func (o OrganizationWebhookConfigurationPtrOutput) ToOrganizationWebhookConfigurationPtrOutput() OrganizationWebhookConfigurationPtrOutput
- func (o OrganizationWebhookConfigurationPtrOutput) ToOrganizationWebhookConfigurationPtrOutputWithContext(ctx context.Context) OrganizationWebhookConfigurationPtrOutput
- func (o OrganizationWebhookConfigurationPtrOutput) Url() pulumi.StringPtrOutput
- type OrganizationWebhookInput
- type OrganizationWebhookMap
- type OrganizationWebhookMapInput
- type OrganizationWebhookMapOutput
- func (OrganizationWebhookMapOutput) ElementType() reflect.Type
- func (o OrganizationWebhookMapOutput) MapIndex(k pulumi.StringInput) OrganizationWebhookOutput
- func (o OrganizationWebhookMapOutput) ToOrganizationWebhookMapOutput() OrganizationWebhookMapOutput
- func (o OrganizationWebhookMapOutput) ToOrganizationWebhookMapOutputWithContext(ctx context.Context) OrganizationWebhookMapOutput
- type OrganizationWebhookOutput
- func (o OrganizationWebhookOutput) Active() pulumi.BoolPtrOutput
- func (o OrganizationWebhookOutput) Configuration() OrganizationWebhookConfigurationPtrOutput
- func (OrganizationWebhookOutput) ElementType() reflect.Type
- func (o OrganizationWebhookOutput) Etag() pulumi.StringOutput
- func (o OrganizationWebhookOutput) Events() pulumi.StringArrayOutput
- func (o OrganizationWebhookOutput) ToOrganizationWebhookOutput() OrganizationWebhookOutput
- func (o OrganizationWebhookOutput) ToOrganizationWebhookOutputWithContext(ctx context.Context) OrganizationWebhookOutput
- func (o OrganizationWebhookOutput) Url() pulumi.StringOutput
- type OrganizationWebhookState
- type ProjectCard
- type ProjectCardArgs
- type ProjectCardArray
- type ProjectCardArrayInput
- type ProjectCardArrayOutput
- func (ProjectCardArrayOutput) ElementType() reflect.Type
- func (o ProjectCardArrayOutput) Index(i pulumi.IntInput) ProjectCardOutput
- func (o ProjectCardArrayOutput) ToProjectCardArrayOutput() ProjectCardArrayOutput
- func (o ProjectCardArrayOutput) ToProjectCardArrayOutputWithContext(ctx context.Context) ProjectCardArrayOutput
- type ProjectCardInput
- type ProjectCardMap
- type ProjectCardMapInput
- type ProjectCardMapOutput
- func (ProjectCardMapOutput) ElementType() reflect.Type
- func (o ProjectCardMapOutput) MapIndex(k pulumi.StringInput) ProjectCardOutput
- func (o ProjectCardMapOutput) ToProjectCardMapOutput() ProjectCardMapOutput
- func (o ProjectCardMapOutput) ToProjectCardMapOutputWithContext(ctx context.Context) ProjectCardMapOutput
- type ProjectCardOutput
- func (o ProjectCardOutput) CardId() pulumi.IntOutput
- func (o ProjectCardOutput) ColumnId() pulumi.StringOutput
- func (o ProjectCardOutput) ContentId() pulumi.IntPtrOutput
- func (o ProjectCardOutput) ContentType() pulumi.StringPtrOutput
- func (ProjectCardOutput) ElementType() reflect.Type
- func (o ProjectCardOutput) Etag() pulumi.StringOutput
- func (o ProjectCardOutput) Note() pulumi.StringPtrOutput
- func (o ProjectCardOutput) ToProjectCardOutput() ProjectCardOutput
- func (o ProjectCardOutput) ToProjectCardOutputWithContext(ctx context.Context) ProjectCardOutput
- type ProjectCardState
- type ProjectColumn
- type ProjectColumnArgs
- type ProjectColumnArray
- type ProjectColumnArrayInput
- type ProjectColumnArrayOutput
- func (ProjectColumnArrayOutput) ElementType() reflect.Type
- func (o ProjectColumnArrayOutput) Index(i pulumi.IntInput) ProjectColumnOutput
- func (o ProjectColumnArrayOutput) ToProjectColumnArrayOutput() ProjectColumnArrayOutput
- func (o ProjectColumnArrayOutput) ToProjectColumnArrayOutputWithContext(ctx context.Context) ProjectColumnArrayOutput
- type ProjectColumnInput
- type ProjectColumnMap
- type ProjectColumnMapInput
- type ProjectColumnMapOutput
- func (ProjectColumnMapOutput) ElementType() reflect.Type
- func (o ProjectColumnMapOutput) MapIndex(k pulumi.StringInput) ProjectColumnOutput
- func (o ProjectColumnMapOutput) ToProjectColumnMapOutput() ProjectColumnMapOutput
- func (o ProjectColumnMapOutput) ToProjectColumnMapOutputWithContext(ctx context.Context) ProjectColumnMapOutput
- type ProjectColumnOutput
- func (o ProjectColumnOutput) ColumnId() pulumi.IntOutput
- func (ProjectColumnOutput) ElementType() reflect.Type
- func (o ProjectColumnOutput) Etag() pulumi.StringOutput
- func (o ProjectColumnOutput) Name() pulumi.StringOutput
- func (o ProjectColumnOutput) ProjectId() pulumi.StringOutput
- func (o ProjectColumnOutput) ToProjectColumnOutput() ProjectColumnOutput
- func (o ProjectColumnOutput) ToProjectColumnOutputWithContext(ctx context.Context) ProjectColumnOutput
- type ProjectColumnState
- type Provider
- type ProviderAppAuth
- type ProviderAppAuthArgs
- func (ProviderAppAuthArgs) ElementType() reflect.Type
- func (i ProviderAppAuthArgs) ToProviderAppAuthOutput() ProviderAppAuthOutput
- func (i ProviderAppAuthArgs) ToProviderAppAuthOutputWithContext(ctx context.Context) ProviderAppAuthOutput
- func (i ProviderAppAuthArgs) ToProviderAppAuthPtrOutput() ProviderAppAuthPtrOutput
- func (i ProviderAppAuthArgs) ToProviderAppAuthPtrOutputWithContext(ctx context.Context) ProviderAppAuthPtrOutput
- type ProviderAppAuthInput
- type ProviderAppAuthOutput
- func (ProviderAppAuthOutput) ElementType() reflect.Type
- func (o ProviderAppAuthOutput) Id() pulumi.StringOutput
- func (o ProviderAppAuthOutput) InstallationId() pulumi.StringOutput
- func (o ProviderAppAuthOutput) PemFile() pulumi.StringOutput
- func (o ProviderAppAuthOutput) ToProviderAppAuthOutput() ProviderAppAuthOutput
- func (o ProviderAppAuthOutput) ToProviderAppAuthOutputWithContext(ctx context.Context) ProviderAppAuthOutput
- func (o ProviderAppAuthOutput) ToProviderAppAuthPtrOutput() ProviderAppAuthPtrOutput
- func (o ProviderAppAuthOutput) ToProviderAppAuthPtrOutputWithContext(ctx context.Context) ProviderAppAuthPtrOutput
- type ProviderAppAuthPtrInput
- type ProviderAppAuthPtrOutput
- func (o ProviderAppAuthPtrOutput) Elem() ProviderAppAuthOutput
- func (ProviderAppAuthPtrOutput) ElementType() reflect.Type
- func (o ProviderAppAuthPtrOutput) Id() pulumi.StringPtrOutput
- func (o ProviderAppAuthPtrOutput) InstallationId() pulumi.StringPtrOutput
- func (o ProviderAppAuthPtrOutput) PemFile() pulumi.StringPtrOutput
- func (o ProviderAppAuthPtrOutput) ToProviderAppAuthPtrOutput() ProviderAppAuthPtrOutput
- func (o ProviderAppAuthPtrOutput) ToProviderAppAuthPtrOutputWithContext(ctx context.Context) ProviderAppAuthPtrOutput
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) BaseUrl() pulumi.StringPtrOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) Organization() pulumi.StringPtrOutputdeprecated
- func (o ProviderOutput) Owner() pulumi.StringPtrOutput
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- func (o ProviderOutput) Token() pulumi.StringPtrOutput
- type Repository
- type RepositoryArgs
- type RepositoryArray
- type RepositoryArrayInput
- type RepositoryArrayOutput
- func (RepositoryArrayOutput) ElementType() reflect.Type
- func (o RepositoryArrayOutput) Index(i pulumi.IntInput) RepositoryOutput
- func (o RepositoryArrayOutput) ToRepositoryArrayOutput() RepositoryArrayOutput
- func (o RepositoryArrayOutput) ToRepositoryArrayOutputWithContext(ctx context.Context) RepositoryArrayOutput
- type RepositoryAutolinkReference
- func (*RepositoryAutolinkReference) ElementType() reflect.Type
- func (i *RepositoryAutolinkReference) ToRepositoryAutolinkReferenceOutput() RepositoryAutolinkReferenceOutput
- func (i *RepositoryAutolinkReference) ToRepositoryAutolinkReferenceOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceOutput
- type RepositoryAutolinkReferenceArgs
- type RepositoryAutolinkReferenceArray
- func (RepositoryAutolinkReferenceArray) ElementType() reflect.Type
- func (i RepositoryAutolinkReferenceArray) ToRepositoryAutolinkReferenceArrayOutput() RepositoryAutolinkReferenceArrayOutput
- func (i RepositoryAutolinkReferenceArray) ToRepositoryAutolinkReferenceArrayOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceArrayOutput
- type RepositoryAutolinkReferenceArrayInput
- type RepositoryAutolinkReferenceArrayOutput
- func (RepositoryAutolinkReferenceArrayOutput) ElementType() reflect.Type
- func (o RepositoryAutolinkReferenceArrayOutput) Index(i pulumi.IntInput) RepositoryAutolinkReferenceOutput
- func (o RepositoryAutolinkReferenceArrayOutput) ToRepositoryAutolinkReferenceArrayOutput() RepositoryAutolinkReferenceArrayOutput
- func (o RepositoryAutolinkReferenceArrayOutput) ToRepositoryAutolinkReferenceArrayOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceArrayOutput
- type RepositoryAutolinkReferenceInput
- type RepositoryAutolinkReferenceMap
- func (RepositoryAutolinkReferenceMap) ElementType() reflect.Type
- func (i RepositoryAutolinkReferenceMap) ToRepositoryAutolinkReferenceMapOutput() RepositoryAutolinkReferenceMapOutput
- func (i RepositoryAutolinkReferenceMap) ToRepositoryAutolinkReferenceMapOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceMapOutput
- type RepositoryAutolinkReferenceMapInput
- type RepositoryAutolinkReferenceMapOutput
- func (RepositoryAutolinkReferenceMapOutput) ElementType() reflect.Type
- func (o RepositoryAutolinkReferenceMapOutput) MapIndex(k pulumi.StringInput) RepositoryAutolinkReferenceOutput
- func (o RepositoryAutolinkReferenceMapOutput) ToRepositoryAutolinkReferenceMapOutput() RepositoryAutolinkReferenceMapOutput
- func (o RepositoryAutolinkReferenceMapOutput) ToRepositoryAutolinkReferenceMapOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceMapOutput
- type RepositoryAutolinkReferenceOutput
- func (RepositoryAutolinkReferenceOutput) ElementType() reflect.Type
- func (o RepositoryAutolinkReferenceOutput) Etag() pulumi.StringOutput
- func (o RepositoryAutolinkReferenceOutput) KeyPrefix() pulumi.StringOutput
- func (o RepositoryAutolinkReferenceOutput) Repository() pulumi.StringOutput
- func (o RepositoryAutolinkReferenceOutput) TargetUrlTemplate() pulumi.StringOutput
- func (o RepositoryAutolinkReferenceOutput) ToRepositoryAutolinkReferenceOutput() RepositoryAutolinkReferenceOutput
- func (o RepositoryAutolinkReferenceOutput) ToRepositoryAutolinkReferenceOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceOutput
- type RepositoryAutolinkReferenceState
- type RepositoryBranch
- type RepositoryBranchArgs
- type RepositoryBranchArray
- type RepositoryBranchArrayInput
- type RepositoryBranchArrayOutput
- func (RepositoryBranchArrayOutput) ElementType() reflect.Type
- func (o RepositoryBranchArrayOutput) Index(i pulumi.IntInput) RepositoryBranchOutput
- func (o RepositoryBranchArrayOutput) ToRepositoryBranchArrayOutput() RepositoryBranchArrayOutput
- func (o RepositoryBranchArrayOutput) ToRepositoryBranchArrayOutputWithContext(ctx context.Context) RepositoryBranchArrayOutput
- type RepositoryBranchInput
- type RepositoryBranchOutput
- func (RepositoryBranchOutput) ElementType() reflect.Type
- func (o RepositoryBranchOutput) Name() pulumi.StringPtrOutput
- func (o RepositoryBranchOutput) Protected() pulumi.BoolPtrOutput
- func (o RepositoryBranchOutput) ToRepositoryBranchOutput() RepositoryBranchOutput
- func (o RepositoryBranchOutput) ToRepositoryBranchOutputWithContext(ctx context.Context) RepositoryBranchOutput
- type RepositoryCollaborator
- type RepositoryCollaboratorArgs
- type RepositoryCollaboratorArray
- func (RepositoryCollaboratorArray) ElementType() reflect.Type
- func (i RepositoryCollaboratorArray) ToRepositoryCollaboratorArrayOutput() RepositoryCollaboratorArrayOutput
- func (i RepositoryCollaboratorArray) ToRepositoryCollaboratorArrayOutputWithContext(ctx context.Context) RepositoryCollaboratorArrayOutput
- type RepositoryCollaboratorArrayInput
- type RepositoryCollaboratorArrayOutput
- func (RepositoryCollaboratorArrayOutput) ElementType() reflect.Type
- func (o RepositoryCollaboratorArrayOutput) Index(i pulumi.IntInput) RepositoryCollaboratorOutput
- func (o RepositoryCollaboratorArrayOutput) ToRepositoryCollaboratorArrayOutput() RepositoryCollaboratorArrayOutput
- func (o RepositoryCollaboratorArrayOutput) ToRepositoryCollaboratorArrayOutputWithContext(ctx context.Context) RepositoryCollaboratorArrayOutput
- type RepositoryCollaboratorInput
- type RepositoryCollaboratorMap
- type RepositoryCollaboratorMapInput
- type RepositoryCollaboratorMapOutput
- func (RepositoryCollaboratorMapOutput) ElementType() reflect.Type
- func (o RepositoryCollaboratorMapOutput) MapIndex(k pulumi.StringInput) RepositoryCollaboratorOutput
- func (o RepositoryCollaboratorMapOutput) ToRepositoryCollaboratorMapOutput() RepositoryCollaboratorMapOutput
- func (o RepositoryCollaboratorMapOutput) ToRepositoryCollaboratorMapOutputWithContext(ctx context.Context) RepositoryCollaboratorMapOutput
- type RepositoryCollaboratorOutput
- func (RepositoryCollaboratorOutput) ElementType() reflect.Type
- func (o RepositoryCollaboratorOutput) InvitationId() pulumi.StringOutput
- func (o RepositoryCollaboratorOutput) Permission() pulumi.StringPtrOutput
- func (o RepositoryCollaboratorOutput) PermissionDiffSuppression() pulumi.BoolPtrOutput
- func (o RepositoryCollaboratorOutput) Repository() pulumi.StringOutput
- func (o RepositoryCollaboratorOutput) ToRepositoryCollaboratorOutput() RepositoryCollaboratorOutput
- func (o RepositoryCollaboratorOutput) ToRepositoryCollaboratorOutputWithContext(ctx context.Context) RepositoryCollaboratorOutput
- func (o RepositoryCollaboratorOutput) Username() pulumi.StringOutput
- type RepositoryCollaboratorState
- type RepositoryDeployKey
- type RepositoryDeployKeyArgs
- type RepositoryDeployKeyArray
- type RepositoryDeployKeyArrayInput
- type RepositoryDeployKeyArrayOutput
- func (RepositoryDeployKeyArrayOutput) ElementType() reflect.Type
- func (o RepositoryDeployKeyArrayOutput) Index(i pulumi.IntInput) RepositoryDeployKeyOutput
- func (o RepositoryDeployKeyArrayOutput) ToRepositoryDeployKeyArrayOutput() RepositoryDeployKeyArrayOutput
- func (o RepositoryDeployKeyArrayOutput) ToRepositoryDeployKeyArrayOutputWithContext(ctx context.Context) RepositoryDeployKeyArrayOutput
- type RepositoryDeployKeyInput
- type RepositoryDeployKeyMap
- type RepositoryDeployKeyMapInput
- type RepositoryDeployKeyMapOutput
- func (RepositoryDeployKeyMapOutput) ElementType() reflect.Type
- func (o RepositoryDeployKeyMapOutput) MapIndex(k pulumi.StringInput) RepositoryDeployKeyOutput
- func (o RepositoryDeployKeyMapOutput) ToRepositoryDeployKeyMapOutput() RepositoryDeployKeyMapOutput
- func (o RepositoryDeployKeyMapOutput) ToRepositoryDeployKeyMapOutputWithContext(ctx context.Context) RepositoryDeployKeyMapOutput
- type RepositoryDeployKeyOutput
- func (RepositoryDeployKeyOutput) ElementType() reflect.Type
- func (o RepositoryDeployKeyOutput) Etag() pulumi.StringOutput
- func (o RepositoryDeployKeyOutput) Key() pulumi.StringOutput
- func (o RepositoryDeployKeyOutput) ReadOnly() pulumi.BoolPtrOutput
- func (o RepositoryDeployKeyOutput) Repository() pulumi.StringOutput
- func (o RepositoryDeployKeyOutput) Title() pulumi.StringOutput
- func (o RepositoryDeployKeyOutput) ToRepositoryDeployKeyOutput() RepositoryDeployKeyOutput
- func (o RepositoryDeployKeyOutput) ToRepositoryDeployKeyOutputWithContext(ctx context.Context) RepositoryDeployKeyOutput
- type RepositoryDeployKeyState
- type RepositoryEnvironment
- type RepositoryEnvironmentArgs
- type RepositoryEnvironmentArray
- func (RepositoryEnvironmentArray) ElementType() reflect.Type
- func (i RepositoryEnvironmentArray) ToRepositoryEnvironmentArrayOutput() RepositoryEnvironmentArrayOutput
- func (i RepositoryEnvironmentArray) ToRepositoryEnvironmentArrayOutputWithContext(ctx context.Context) RepositoryEnvironmentArrayOutput
- type RepositoryEnvironmentArrayInput
- type RepositoryEnvironmentArrayOutput
- func (RepositoryEnvironmentArrayOutput) ElementType() reflect.Type
- func (o RepositoryEnvironmentArrayOutput) Index(i pulumi.IntInput) RepositoryEnvironmentOutput
- func (o RepositoryEnvironmentArrayOutput) ToRepositoryEnvironmentArrayOutput() RepositoryEnvironmentArrayOutput
- func (o RepositoryEnvironmentArrayOutput) ToRepositoryEnvironmentArrayOutputWithContext(ctx context.Context) RepositoryEnvironmentArrayOutput
- type RepositoryEnvironmentDeploymentBranchPolicy
- type RepositoryEnvironmentDeploymentBranchPolicyArgs
- func (RepositoryEnvironmentDeploymentBranchPolicyArgs) ElementType() reflect.Type
- func (i RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyOutput() RepositoryEnvironmentDeploymentBranchPolicyOutput
- func (i RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyOutput
- func (i RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput() RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
- func (i RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
- type RepositoryEnvironmentDeploymentBranchPolicyInput
- type RepositoryEnvironmentDeploymentBranchPolicyOutput
- func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) CustomBranchPolicies() pulumi.BoolOutput
- func (RepositoryEnvironmentDeploymentBranchPolicyOutput) ElementType() reflect.Type
- func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) ProtectedBranches() pulumi.BoolOutput
- func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyOutput() RepositoryEnvironmentDeploymentBranchPolicyOutput
- func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyOutput
- func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput() RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
- func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
- type RepositoryEnvironmentDeploymentBranchPolicyPtrInput
- type RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
- func (o RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) CustomBranchPolicies() pulumi.BoolPtrOutput
- func (o RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) Elem() RepositoryEnvironmentDeploymentBranchPolicyOutput
- func (RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ElementType() reflect.Type
- func (o RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ProtectedBranches() pulumi.BoolPtrOutput
- func (o RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput() RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
- func (o RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
- type RepositoryEnvironmentInput
- type RepositoryEnvironmentMap
- type RepositoryEnvironmentMapInput
- type RepositoryEnvironmentMapOutput
- func (RepositoryEnvironmentMapOutput) ElementType() reflect.Type
- func (o RepositoryEnvironmentMapOutput) MapIndex(k pulumi.StringInput) RepositoryEnvironmentOutput
- func (o RepositoryEnvironmentMapOutput) ToRepositoryEnvironmentMapOutput() RepositoryEnvironmentMapOutput
- func (o RepositoryEnvironmentMapOutput) ToRepositoryEnvironmentMapOutputWithContext(ctx context.Context) RepositoryEnvironmentMapOutput
- type RepositoryEnvironmentOutput
- func (o RepositoryEnvironmentOutput) DeploymentBranchPolicy() RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
- func (RepositoryEnvironmentOutput) ElementType() reflect.Type
- func (o RepositoryEnvironmentOutput) Environment() pulumi.StringOutput
- func (o RepositoryEnvironmentOutput) Repository() pulumi.StringOutput
- func (o RepositoryEnvironmentOutput) Reviewers() RepositoryEnvironmentReviewerArrayOutput
- func (o RepositoryEnvironmentOutput) ToRepositoryEnvironmentOutput() RepositoryEnvironmentOutput
- func (o RepositoryEnvironmentOutput) ToRepositoryEnvironmentOutputWithContext(ctx context.Context) RepositoryEnvironmentOutput
- func (o RepositoryEnvironmentOutput) WaitTimer() pulumi.IntPtrOutput
- type RepositoryEnvironmentReviewer
- type RepositoryEnvironmentReviewerArgs
- func (RepositoryEnvironmentReviewerArgs) ElementType() reflect.Type
- func (i RepositoryEnvironmentReviewerArgs) ToRepositoryEnvironmentReviewerOutput() RepositoryEnvironmentReviewerOutput
- func (i RepositoryEnvironmentReviewerArgs) ToRepositoryEnvironmentReviewerOutputWithContext(ctx context.Context) RepositoryEnvironmentReviewerOutput
- type RepositoryEnvironmentReviewerArray
- func (RepositoryEnvironmentReviewerArray) ElementType() reflect.Type
- func (i RepositoryEnvironmentReviewerArray) ToRepositoryEnvironmentReviewerArrayOutput() RepositoryEnvironmentReviewerArrayOutput
- func (i RepositoryEnvironmentReviewerArray) ToRepositoryEnvironmentReviewerArrayOutputWithContext(ctx context.Context) RepositoryEnvironmentReviewerArrayOutput
- type RepositoryEnvironmentReviewerArrayInput
- type RepositoryEnvironmentReviewerArrayOutput
- func (RepositoryEnvironmentReviewerArrayOutput) ElementType() reflect.Type
- func (o RepositoryEnvironmentReviewerArrayOutput) Index(i pulumi.IntInput) RepositoryEnvironmentReviewerOutput
- func (o RepositoryEnvironmentReviewerArrayOutput) ToRepositoryEnvironmentReviewerArrayOutput() RepositoryEnvironmentReviewerArrayOutput
- func (o RepositoryEnvironmentReviewerArrayOutput) ToRepositoryEnvironmentReviewerArrayOutputWithContext(ctx context.Context) RepositoryEnvironmentReviewerArrayOutput
- type RepositoryEnvironmentReviewerInput
- type RepositoryEnvironmentReviewerOutput
- func (RepositoryEnvironmentReviewerOutput) ElementType() reflect.Type
- func (o RepositoryEnvironmentReviewerOutput) Teams() pulumi.IntArrayOutput
- func (o RepositoryEnvironmentReviewerOutput) ToRepositoryEnvironmentReviewerOutput() RepositoryEnvironmentReviewerOutput
- func (o RepositoryEnvironmentReviewerOutput) ToRepositoryEnvironmentReviewerOutputWithContext(ctx context.Context) RepositoryEnvironmentReviewerOutput
- func (o RepositoryEnvironmentReviewerOutput) Users() pulumi.IntArrayOutput
- type RepositoryEnvironmentState
- type RepositoryFile
- type RepositoryFileArgs
- type RepositoryFileArray
- type RepositoryFileArrayInput
- type RepositoryFileArrayOutput
- func (RepositoryFileArrayOutput) ElementType() reflect.Type
- func (o RepositoryFileArrayOutput) Index(i pulumi.IntInput) RepositoryFileOutput
- func (o RepositoryFileArrayOutput) ToRepositoryFileArrayOutput() RepositoryFileArrayOutput
- func (o RepositoryFileArrayOutput) ToRepositoryFileArrayOutputWithContext(ctx context.Context) RepositoryFileArrayOutput
- type RepositoryFileInput
- type RepositoryFileMap
- type RepositoryFileMapInput
- type RepositoryFileMapOutput
- func (RepositoryFileMapOutput) ElementType() reflect.Type
- func (o RepositoryFileMapOutput) MapIndex(k pulumi.StringInput) RepositoryFileOutput
- func (o RepositoryFileMapOutput) ToRepositoryFileMapOutput() RepositoryFileMapOutput
- func (o RepositoryFileMapOutput) ToRepositoryFileMapOutputWithContext(ctx context.Context) RepositoryFileMapOutput
- type RepositoryFileOutput
- func (o RepositoryFileOutput) Branch() pulumi.StringPtrOutput
- func (o RepositoryFileOutput) CommitAuthor() pulumi.StringOutput
- func (o RepositoryFileOutput) CommitEmail() pulumi.StringOutput
- func (o RepositoryFileOutput) CommitMessage() pulumi.StringOutput
- func (o RepositoryFileOutput) CommitSha() pulumi.StringOutput
- func (o RepositoryFileOutput) Content() pulumi.StringOutput
- func (RepositoryFileOutput) ElementType() reflect.Type
- func (o RepositoryFileOutput) File() pulumi.StringOutput
- func (o RepositoryFileOutput) OverwriteOnCreate() pulumi.BoolPtrOutput
- func (o RepositoryFileOutput) Repository() pulumi.StringOutput
- func (o RepositoryFileOutput) Sha() pulumi.StringOutput
- func (o RepositoryFileOutput) ToRepositoryFileOutput() RepositoryFileOutput
- func (o RepositoryFileOutput) ToRepositoryFileOutputWithContext(ctx context.Context) RepositoryFileOutput
- type RepositoryFileState
- type RepositoryInput
- type RepositoryMap
- type RepositoryMapInput
- type RepositoryMapOutput
- func (RepositoryMapOutput) ElementType() reflect.Type
- func (o RepositoryMapOutput) MapIndex(k pulumi.StringInput) RepositoryOutput
- func (o RepositoryMapOutput) ToRepositoryMapOutput() RepositoryMapOutput
- func (o RepositoryMapOutput) ToRepositoryMapOutputWithContext(ctx context.Context) RepositoryMapOutput
- type RepositoryMilestone
- type RepositoryMilestoneArgs
- type RepositoryMilestoneArray
- type RepositoryMilestoneArrayInput
- type RepositoryMilestoneArrayOutput
- func (RepositoryMilestoneArrayOutput) ElementType() reflect.Type
- func (o RepositoryMilestoneArrayOutput) Index(i pulumi.IntInput) RepositoryMilestoneOutput
- func (o RepositoryMilestoneArrayOutput) ToRepositoryMilestoneArrayOutput() RepositoryMilestoneArrayOutput
- func (o RepositoryMilestoneArrayOutput) ToRepositoryMilestoneArrayOutputWithContext(ctx context.Context) RepositoryMilestoneArrayOutput
- type RepositoryMilestoneInput
- type RepositoryMilestoneMap
- type RepositoryMilestoneMapInput
- type RepositoryMilestoneMapOutput
- func (RepositoryMilestoneMapOutput) ElementType() reflect.Type
- func (o RepositoryMilestoneMapOutput) MapIndex(k pulumi.StringInput) RepositoryMilestoneOutput
- func (o RepositoryMilestoneMapOutput) ToRepositoryMilestoneMapOutput() RepositoryMilestoneMapOutput
- func (o RepositoryMilestoneMapOutput) ToRepositoryMilestoneMapOutputWithContext(ctx context.Context) RepositoryMilestoneMapOutput
- type RepositoryMilestoneOutput
- func (o RepositoryMilestoneOutput) Description() pulumi.StringPtrOutput
- func (o RepositoryMilestoneOutput) DueDate() pulumi.StringPtrOutput
- func (RepositoryMilestoneOutput) ElementType() reflect.Type
- func (o RepositoryMilestoneOutput) Number() pulumi.IntOutput
- func (o RepositoryMilestoneOutput) Owner() pulumi.StringOutput
- func (o RepositoryMilestoneOutput) Repository() pulumi.StringOutput
- func (o RepositoryMilestoneOutput) State() pulumi.StringPtrOutput
- func (o RepositoryMilestoneOutput) Title() pulumi.StringOutput
- func (o RepositoryMilestoneOutput) ToRepositoryMilestoneOutput() RepositoryMilestoneOutput
- func (o RepositoryMilestoneOutput) ToRepositoryMilestoneOutputWithContext(ctx context.Context) RepositoryMilestoneOutput
- type RepositoryMilestoneState
- type RepositoryOutput
- func (o RepositoryOutput) AllowAutoMerge() pulumi.BoolPtrOutput
- func (o RepositoryOutput) AllowMergeCommit() pulumi.BoolPtrOutput
- func (o RepositoryOutput) AllowRebaseMerge() pulumi.BoolPtrOutput
- func (o RepositoryOutput) AllowSquashMerge() pulumi.BoolPtrOutput
- func (o RepositoryOutput) ArchiveOnDestroy() pulumi.BoolPtrOutput
- func (o RepositoryOutput) Archived() pulumi.BoolPtrOutput
- func (o RepositoryOutput) AutoInit() pulumi.BoolPtrOutput
- func (o RepositoryOutput) Branches() RepositoryBranchArrayOutput
- func (o RepositoryOutput) DefaultBranch() pulumi.StringOutputdeprecated
- func (o RepositoryOutput) DeleteBranchOnMerge() pulumi.BoolPtrOutput
- func (o RepositoryOutput) Description() pulumi.StringPtrOutput
- func (RepositoryOutput) ElementType() reflect.Type
- func (o RepositoryOutput) Etag() pulumi.StringOutput
- func (o RepositoryOutput) FullName() pulumi.StringOutput
- func (o RepositoryOutput) GitCloneUrl() pulumi.StringOutput
- func (o RepositoryOutput) GitignoreTemplate() pulumi.StringPtrOutput
- func (o RepositoryOutput) HasDownloads() pulumi.BoolPtrOutput
- func (o RepositoryOutput) HasIssues() pulumi.BoolPtrOutput
- func (o RepositoryOutput) HasProjects() pulumi.BoolPtrOutput
- func (o RepositoryOutput) HasWiki() pulumi.BoolPtrOutput
- func (o RepositoryOutput) HomepageUrl() pulumi.StringPtrOutput
- func (o RepositoryOutput) HtmlUrl() pulumi.StringOutput
- func (o RepositoryOutput) HttpCloneUrl() pulumi.StringOutput
- func (o RepositoryOutput) IgnoreVulnerabilityAlertsDuringRead() pulumi.BoolPtrOutput
- func (o RepositoryOutput) IsTemplate() pulumi.BoolPtrOutput
- func (o RepositoryOutput) LicenseTemplate() pulumi.StringPtrOutput
- func (o RepositoryOutput) MergeCommitMessage() pulumi.StringPtrOutput
- func (o RepositoryOutput) MergeCommitTitle() pulumi.StringPtrOutput
- func (o RepositoryOutput) Name() pulumi.StringOutput
- func (o RepositoryOutput) NodeId() pulumi.StringOutput
- func (o RepositoryOutput) Pages() RepositoryPagesPtrOutput
- func (o RepositoryOutput) Private() pulumi.BoolOutputdeprecated
- func (o RepositoryOutput) RepoId() pulumi.IntOutput
- func (o RepositoryOutput) SquashMergeCommitMessage() pulumi.StringPtrOutput
- func (o RepositoryOutput) SquashMergeCommitTitle() pulumi.StringPtrOutput
- func (o RepositoryOutput) SshCloneUrl() pulumi.StringOutput
- func (o RepositoryOutput) SvnUrl() pulumi.StringOutput
- func (o RepositoryOutput) Template() RepositoryTemplatePtrOutput
- func (o RepositoryOutput) ToRepositoryOutput() RepositoryOutput
- func (o RepositoryOutput) ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput
- func (o RepositoryOutput) Topics() pulumi.StringArrayOutput
- func (o RepositoryOutput) Visibility() pulumi.StringOutput
- func (o RepositoryOutput) VulnerabilityAlerts() pulumi.BoolPtrOutput
- type RepositoryPages
- type RepositoryPagesArgs
- func (RepositoryPagesArgs) ElementType() reflect.Type
- func (i RepositoryPagesArgs) ToRepositoryPagesOutput() RepositoryPagesOutput
- func (i RepositoryPagesArgs) ToRepositoryPagesOutputWithContext(ctx context.Context) RepositoryPagesOutput
- func (i RepositoryPagesArgs) ToRepositoryPagesPtrOutput() RepositoryPagesPtrOutput
- func (i RepositoryPagesArgs) ToRepositoryPagesPtrOutputWithContext(ctx context.Context) RepositoryPagesPtrOutput
- type RepositoryPagesInput
- type RepositoryPagesOutput
- func (o RepositoryPagesOutput) Cname() pulumi.StringPtrOutput
- func (o RepositoryPagesOutput) Custom404() pulumi.BoolPtrOutput
- func (RepositoryPagesOutput) ElementType() reflect.Type
- func (o RepositoryPagesOutput) HtmlUrl() pulumi.StringPtrOutput
- func (o RepositoryPagesOutput) Source() RepositoryPagesSourceOutput
- func (o RepositoryPagesOutput) Status() pulumi.StringPtrOutput
- func (o RepositoryPagesOutput) ToRepositoryPagesOutput() RepositoryPagesOutput
- func (o RepositoryPagesOutput) ToRepositoryPagesOutputWithContext(ctx context.Context) RepositoryPagesOutput
- func (o RepositoryPagesOutput) ToRepositoryPagesPtrOutput() RepositoryPagesPtrOutput
- func (o RepositoryPagesOutput) ToRepositoryPagesPtrOutputWithContext(ctx context.Context) RepositoryPagesPtrOutput
- func (o RepositoryPagesOutput) Url() pulumi.StringPtrOutput
- type RepositoryPagesPtrInput
- type RepositoryPagesPtrOutput
- func (o RepositoryPagesPtrOutput) Cname() pulumi.StringPtrOutput
- func (o RepositoryPagesPtrOutput) Custom404() pulumi.BoolPtrOutput
- func (o RepositoryPagesPtrOutput) Elem() RepositoryPagesOutput
- func (RepositoryPagesPtrOutput) ElementType() reflect.Type
- func (o RepositoryPagesPtrOutput) HtmlUrl() pulumi.StringPtrOutput
- func (o RepositoryPagesPtrOutput) Source() RepositoryPagesSourcePtrOutput
- func (o RepositoryPagesPtrOutput) Status() pulumi.StringPtrOutput
- func (o RepositoryPagesPtrOutput) ToRepositoryPagesPtrOutput() RepositoryPagesPtrOutput
- func (o RepositoryPagesPtrOutput) ToRepositoryPagesPtrOutputWithContext(ctx context.Context) RepositoryPagesPtrOutput
- func (o RepositoryPagesPtrOutput) Url() pulumi.StringPtrOutput
- type RepositoryPagesSource
- type RepositoryPagesSourceArgs
- func (RepositoryPagesSourceArgs) ElementType() reflect.Type
- func (i RepositoryPagesSourceArgs) ToRepositoryPagesSourceOutput() RepositoryPagesSourceOutput
- func (i RepositoryPagesSourceArgs) ToRepositoryPagesSourceOutputWithContext(ctx context.Context) RepositoryPagesSourceOutput
- func (i RepositoryPagesSourceArgs) ToRepositoryPagesSourcePtrOutput() RepositoryPagesSourcePtrOutput
- func (i RepositoryPagesSourceArgs) ToRepositoryPagesSourcePtrOutputWithContext(ctx context.Context) RepositoryPagesSourcePtrOutput
- type RepositoryPagesSourceInput
- type RepositoryPagesSourceOutput
- func (o RepositoryPagesSourceOutput) Branch() pulumi.StringOutput
- func (RepositoryPagesSourceOutput) ElementType() reflect.Type
- func (o RepositoryPagesSourceOutput) Path() pulumi.StringPtrOutput
- func (o RepositoryPagesSourceOutput) ToRepositoryPagesSourceOutput() RepositoryPagesSourceOutput
- func (o RepositoryPagesSourceOutput) ToRepositoryPagesSourceOutputWithContext(ctx context.Context) RepositoryPagesSourceOutput
- func (o RepositoryPagesSourceOutput) ToRepositoryPagesSourcePtrOutput() RepositoryPagesSourcePtrOutput
- func (o RepositoryPagesSourceOutput) ToRepositoryPagesSourcePtrOutputWithContext(ctx context.Context) RepositoryPagesSourcePtrOutput
- type RepositoryPagesSourcePtrInput
- type RepositoryPagesSourcePtrOutput
- func (o RepositoryPagesSourcePtrOutput) Branch() pulumi.StringPtrOutput
- func (o RepositoryPagesSourcePtrOutput) Elem() RepositoryPagesSourceOutput
- func (RepositoryPagesSourcePtrOutput) ElementType() reflect.Type
- func (o RepositoryPagesSourcePtrOutput) Path() pulumi.StringPtrOutput
- func (o RepositoryPagesSourcePtrOutput) ToRepositoryPagesSourcePtrOutput() RepositoryPagesSourcePtrOutput
- func (o RepositoryPagesSourcePtrOutput) ToRepositoryPagesSourcePtrOutputWithContext(ctx context.Context) RepositoryPagesSourcePtrOutput
- type RepositoryProject
- type RepositoryProjectArgs
- type RepositoryProjectArray
- type RepositoryProjectArrayInput
- type RepositoryProjectArrayOutput
- func (RepositoryProjectArrayOutput) ElementType() reflect.Type
- func (o RepositoryProjectArrayOutput) Index(i pulumi.IntInput) RepositoryProjectOutput
- func (o RepositoryProjectArrayOutput) ToRepositoryProjectArrayOutput() RepositoryProjectArrayOutput
- func (o RepositoryProjectArrayOutput) ToRepositoryProjectArrayOutputWithContext(ctx context.Context) RepositoryProjectArrayOutput
- type RepositoryProjectInput
- type RepositoryProjectMap
- type RepositoryProjectMapInput
- type RepositoryProjectMapOutput
- func (RepositoryProjectMapOutput) ElementType() reflect.Type
- func (o RepositoryProjectMapOutput) MapIndex(k pulumi.StringInput) RepositoryProjectOutput
- func (o RepositoryProjectMapOutput) ToRepositoryProjectMapOutput() RepositoryProjectMapOutput
- func (o RepositoryProjectMapOutput) ToRepositoryProjectMapOutputWithContext(ctx context.Context) RepositoryProjectMapOutput
- type RepositoryProjectOutput
- func (o RepositoryProjectOutput) Body() pulumi.StringPtrOutput
- func (RepositoryProjectOutput) ElementType() reflect.Type
- func (o RepositoryProjectOutput) Etag() pulumi.StringOutput
- func (o RepositoryProjectOutput) Name() pulumi.StringOutput
- func (o RepositoryProjectOutput) Repository() pulumi.StringOutput
- func (o RepositoryProjectOutput) ToRepositoryProjectOutput() RepositoryProjectOutput
- func (o RepositoryProjectOutput) ToRepositoryProjectOutputWithContext(ctx context.Context) RepositoryProjectOutput
- func (o RepositoryProjectOutput) Url() pulumi.StringOutput
- type RepositoryProjectState
- type RepositoryPullRequest
- type RepositoryPullRequestArgs
- type RepositoryPullRequestArray
- func (RepositoryPullRequestArray) ElementType() reflect.Type
- func (i RepositoryPullRequestArray) ToRepositoryPullRequestArrayOutput() RepositoryPullRequestArrayOutput
- func (i RepositoryPullRequestArray) ToRepositoryPullRequestArrayOutputWithContext(ctx context.Context) RepositoryPullRequestArrayOutput
- type RepositoryPullRequestArrayInput
- type RepositoryPullRequestArrayOutput
- func (RepositoryPullRequestArrayOutput) ElementType() reflect.Type
- func (o RepositoryPullRequestArrayOutput) Index(i pulumi.IntInput) RepositoryPullRequestOutput
- func (o RepositoryPullRequestArrayOutput) ToRepositoryPullRequestArrayOutput() RepositoryPullRequestArrayOutput
- func (o RepositoryPullRequestArrayOutput) ToRepositoryPullRequestArrayOutputWithContext(ctx context.Context) RepositoryPullRequestArrayOutput
- type RepositoryPullRequestInput
- type RepositoryPullRequestMap
- type RepositoryPullRequestMapInput
- type RepositoryPullRequestMapOutput
- func (RepositoryPullRequestMapOutput) ElementType() reflect.Type
- func (o RepositoryPullRequestMapOutput) MapIndex(k pulumi.StringInput) RepositoryPullRequestOutput
- func (o RepositoryPullRequestMapOutput) ToRepositoryPullRequestMapOutput() RepositoryPullRequestMapOutput
- func (o RepositoryPullRequestMapOutput) ToRepositoryPullRequestMapOutputWithContext(ctx context.Context) RepositoryPullRequestMapOutput
- type RepositoryPullRequestOutput
- func (o RepositoryPullRequestOutput) BaseRef() pulumi.StringOutput
- func (o RepositoryPullRequestOutput) BaseRepository() pulumi.StringOutput
- func (o RepositoryPullRequestOutput) BaseSha() pulumi.StringOutput
- func (o RepositoryPullRequestOutput) Body() pulumi.StringPtrOutput
- func (o RepositoryPullRequestOutput) Draft() pulumi.BoolOutput
- func (RepositoryPullRequestOutput) ElementType() reflect.Type
- func (o RepositoryPullRequestOutput) HeadRef() pulumi.StringOutput
- func (o RepositoryPullRequestOutput) HeadSha() pulumi.StringOutput
- func (o RepositoryPullRequestOutput) Labels() pulumi.StringArrayOutput
- func (o RepositoryPullRequestOutput) MaintainerCanModify() pulumi.BoolPtrOutput
- func (o RepositoryPullRequestOutput) Number() pulumi.IntOutput
- func (o RepositoryPullRequestOutput) OpenedAt() pulumi.IntOutput
- func (o RepositoryPullRequestOutput) OpenedBy() pulumi.StringOutput
- func (o RepositoryPullRequestOutput) Owner() pulumi.StringPtrOutput
- func (o RepositoryPullRequestOutput) State() pulumi.StringOutput
- func (o RepositoryPullRequestOutput) Title() pulumi.StringOutput
- func (o RepositoryPullRequestOutput) ToRepositoryPullRequestOutput() RepositoryPullRequestOutput
- func (o RepositoryPullRequestOutput) ToRepositoryPullRequestOutputWithContext(ctx context.Context) RepositoryPullRequestOutput
- func (o RepositoryPullRequestOutput) UpdatedAt() pulumi.IntOutput
- type RepositoryPullRequestState
- type RepositoryState
- type RepositoryTemplate
- type RepositoryTemplateArgs
- func (RepositoryTemplateArgs) ElementType() reflect.Type
- func (i RepositoryTemplateArgs) ToRepositoryTemplateOutput() RepositoryTemplateOutput
- func (i RepositoryTemplateArgs) ToRepositoryTemplateOutputWithContext(ctx context.Context) RepositoryTemplateOutput
- func (i RepositoryTemplateArgs) ToRepositoryTemplatePtrOutput() RepositoryTemplatePtrOutput
- func (i RepositoryTemplateArgs) ToRepositoryTemplatePtrOutputWithContext(ctx context.Context) RepositoryTemplatePtrOutput
- type RepositoryTemplateInput
- type RepositoryTemplateOutput
- func (RepositoryTemplateOutput) ElementType() reflect.Type
- func (o RepositoryTemplateOutput) Owner() pulumi.StringOutput
- func (o RepositoryTemplateOutput) Repository() pulumi.StringOutput
- func (o RepositoryTemplateOutput) ToRepositoryTemplateOutput() RepositoryTemplateOutput
- func (o RepositoryTemplateOutput) ToRepositoryTemplateOutputWithContext(ctx context.Context) RepositoryTemplateOutput
- func (o RepositoryTemplateOutput) ToRepositoryTemplatePtrOutput() RepositoryTemplatePtrOutput
- func (o RepositoryTemplateOutput) ToRepositoryTemplatePtrOutputWithContext(ctx context.Context) RepositoryTemplatePtrOutput
- type RepositoryTemplatePtrInput
- type RepositoryTemplatePtrOutput
- func (o RepositoryTemplatePtrOutput) Elem() RepositoryTemplateOutput
- func (RepositoryTemplatePtrOutput) ElementType() reflect.Type
- func (o RepositoryTemplatePtrOutput) Owner() pulumi.StringPtrOutput
- func (o RepositoryTemplatePtrOutput) Repository() pulumi.StringPtrOutput
- func (o RepositoryTemplatePtrOutput) ToRepositoryTemplatePtrOutput() RepositoryTemplatePtrOutput
- func (o RepositoryTemplatePtrOutput) ToRepositoryTemplatePtrOutputWithContext(ctx context.Context) RepositoryTemplatePtrOutput
- type RepositoryWebhook
- type RepositoryWebhookArgs
- type RepositoryWebhookArray
- type RepositoryWebhookArrayInput
- type RepositoryWebhookArrayOutput
- func (RepositoryWebhookArrayOutput) ElementType() reflect.Type
- func (o RepositoryWebhookArrayOutput) Index(i pulumi.IntInput) RepositoryWebhookOutput
- func (o RepositoryWebhookArrayOutput) ToRepositoryWebhookArrayOutput() RepositoryWebhookArrayOutput
- func (o RepositoryWebhookArrayOutput) ToRepositoryWebhookArrayOutputWithContext(ctx context.Context) RepositoryWebhookArrayOutput
- type RepositoryWebhookConfiguration
- type RepositoryWebhookConfigurationArgs
- func (RepositoryWebhookConfigurationArgs) ElementType() reflect.Type
- func (i RepositoryWebhookConfigurationArgs) ToRepositoryWebhookConfigurationOutput() RepositoryWebhookConfigurationOutput
- func (i RepositoryWebhookConfigurationArgs) ToRepositoryWebhookConfigurationOutputWithContext(ctx context.Context) RepositoryWebhookConfigurationOutput
- func (i RepositoryWebhookConfigurationArgs) ToRepositoryWebhookConfigurationPtrOutput() RepositoryWebhookConfigurationPtrOutput
- func (i RepositoryWebhookConfigurationArgs) ToRepositoryWebhookConfigurationPtrOutputWithContext(ctx context.Context) RepositoryWebhookConfigurationPtrOutput
- type RepositoryWebhookConfigurationInput
- type RepositoryWebhookConfigurationOutput
- func (o RepositoryWebhookConfigurationOutput) ContentType() pulumi.StringPtrOutput
- func (RepositoryWebhookConfigurationOutput) ElementType() reflect.Type
- func (o RepositoryWebhookConfigurationOutput) InsecureSsl() pulumi.BoolPtrOutput
- func (o RepositoryWebhookConfigurationOutput) Secret() pulumi.StringPtrOutput
- func (o RepositoryWebhookConfigurationOutput) ToRepositoryWebhookConfigurationOutput() RepositoryWebhookConfigurationOutput
- func (o RepositoryWebhookConfigurationOutput) ToRepositoryWebhookConfigurationOutputWithContext(ctx context.Context) RepositoryWebhookConfigurationOutput
- func (o RepositoryWebhookConfigurationOutput) ToRepositoryWebhookConfigurationPtrOutput() RepositoryWebhookConfigurationPtrOutput
- func (o RepositoryWebhookConfigurationOutput) ToRepositoryWebhookConfigurationPtrOutputWithContext(ctx context.Context) RepositoryWebhookConfigurationPtrOutput
- func (o RepositoryWebhookConfigurationOutput) Url() pulumi.StringOutput
- type RepositoryWebhookConfigurationPtrInput
- type RepositoryWebhookConfigurationPtrOutput
- func (o RepositoryWebhookConfigurationPtrOutput) ContentType() pulumi.StringPtrOutput
- func (o RepositoryWebhookConfigurationPtrOutput) Elem() RepositoryWebhookConfigurationOutput
- func (RepositoryWebhookConfigurationPtrOutput) ElementType() reflect.Type
- func (o RepositoryWebhookConfigurationPtrOutput) InsecureSsl() pulumi.BoolPtrOutput
- func (o RepositoryWebhookConfigurationPtrOutput) Secret() pulumi.StringPtrOutput
- func (o RepositoryWebhookConfigurationPtrOutput) ToRepositoryWebhookConfigurationPtrOutput() RepositoryWebhookConfigurationPtrOutput
- func (o RepositoryWebhookConfigurationPtrOutput) ToRepositoryWebhookConfigurationPtrOutputWithContext(ctx context.Context) RepositoryWebhookConfigurationPtrOutput
- func (o RepositoryWebhookConfigurationPtrOutput) Url() pulumi.StringPtrOutput
- type RepositoryWebhookInput
- type RepositoryWebhookMap
- type RepositoryWebhookMapInput
- type RepositoryWebhookMapOutput
- func (RepositoryWebhookMapOutput) ElementType() reflect.Type
- func (o RepositoryWebhookMapOutput) MapIndex(k pulumi.StringInput) RepositoryWebhookOutput
- func (o RepositoryWebhookMapOutput) ToRepositoryWebhookMapOutput() RepositoryWebhookMapOutput
- func (o RepositoryWebhookMapOutput) ToRepositoryWebhookMapOutputWithContext(ctx context.Context) RepositoryWebhookMapOutput
- type RepositoryWebhookOutput
- func (o RepositoryWebhookOutput) Active() pulumi.BoolPtrOutput
- func (o RepositoryWebhookOutput) Configuration() RepositoryWebhookConfigurationPtrOutput
- func (RepositoryWebhookOutput) ElementType() reflect.Type
- func (o RepositoryWebhookOutput) Etag() pulumi.StringOutput
- func (o RepositoryWebhookOutput) Events() pulumi.StringArrayOutput
- func (o RepositoryWebhookOutput) Repository() pulumi.StringOutput
- func (o RepositoryWebhookOutput) ToRepositoryWebhookOutput() RepositoryWebhookOutput
- func (o RepositoryWebhookOutput) ToRepositoryWebhookOutputWithContext(ctx context.Context) RepositoryWebhookOutput
- func (o RepositoryWebhookOutput) Url() pulumi.StringOutput
- type RepositoryWebhookState
- type Team
- type TeamArgs
- type TeamArray
- type TeamArrayInput
- type TeamArrayOutput
- type TeamInput
- type TeamMap
- type TeamMapInput
- type TeamMapOutput
- type TeamMembers
- type TeamMembersArgs
- type TeamMembersArray
- type TeamMembersArrayInput
- type TeamMembersArrayOutput
- func (TeamMembersArrayOutput) ElementType() reflect.Type
- func (o TeamMembersArrayOutput) Index(i pulumi.IntInput) TeamMembersOutput
- func (o TeamMembersArrayOutput) ToTeamMembersArrayOutput() TeamMembersArrayOutput
- func (o TeamMembersArrayOutput) ToTeamMembersArrayOutputWithContext(ctx context.Context) TeamMembersArrayOutput
- type TeamMembersInput
- type TeamMembersMap
- type TeamMembersMapInput
- type TeamMembersMapOutput
- func (TeamMembersMapOutput) ElementType() reflect.Type
- func (o TeamMembersMapOutput) MapIndex(k pulumi.StringInput) TeamMembersOutput
- func (o TeamMembersMapOutput) ToTeamMembersMapOutput() TeamMembersMapOutput
- func (o TeamMembersMapOutput) ToTeamMembersMapOutputWithContext(ctx context.Context) TeamMembersMapOutput
- type TeamMembersMember
- type TeamMembersMemberArgs
- type TeamMembersMemberArray
- type TeamMembersMemberArrayInput
- type TeamMembersMemberArrayOutput
- func (TeamMembersMemberArrayOutput) ElementType() reflect.Type
- func (o TeamMembersMemberArrayOutput) Index(i pulumi.IntInput) TeamMembersMemberOutput
- func (o TeamMembersMemberArrayOutput) ToTeamMembersMemberArrayOutput() TeamMembersMemberArrayOutput
- func (o TeamMembersMemberArrayOutput) ToTeamMembersMemberArrayOutputWithContext(ctx context.Context) TeamMembersMemberArrayOutput
- type TeamMembersMemberInput
- type TeamMembersMemberOutput
- func (TeamMembersMemberOutput) ElementType() reflect.Type
- func (o TeamMembersMemberOutput) Role() pulumi.StringPtrOutput
- func (o TeamMembersMemberOutput) ToTeamMembersMemberOutput() TeamMembersMemberOutput
- func (o TeamMembersMemberOutput) ToTeamMembersMemberOutputWithContext(ctx context.Context) TeamMembersMemberOutput
- func (o TeamMembersMemberOutput) Username() pulumi.StringOutput
- type TeamMembersOutput
- func (TeamMembersOutput) ElementType() reflect.Type
- func (o TeamMembersOutput) Etag() pulumi.StringOutput
- func (o TeamMembersOutput) Members() TeamMembersMemberArrayOutput
- func (o TeamMembersOutput) TeamId() pulumi.StringOutput
- func (o TeamMembersOutput) ToTeamMembersOutput() TeamMembersOutput
- func (o TeamMembersOutput) ToTeamMembersOutputWithContext(ctx context.Context) TeamMembersOutput
- type TeamMembersState
- type TeamMembership
- type TeamMembershipArgs
- type TeamMembershipArray
- type TeamMembershipArrayInput
- type TeamMembershipArrayOutput
- func (TeamMembershipArrayOutput) ElementType() reflect.Type
- func (o TeamMembershipArrayOutput) Index(i pulumi.IntInput) TeamMembershipOutput
- func (o TeamMembershipArrayOutput) ToTeamMembershipArrayOutput() TeamMembershipArrayOutput
- func (o TeamMembershipArrayOutput) ToTeamMembershipArrayOutputWithContext(ctx context.Context) TeamMembershipArrayOutput
- type TeamMembershipInput
- type TeamMembershipMap
- type TeamMembershipMapInput
- type TeamMembershipMapOutput
- func (TeamMembershipMapOutput) ElementType() reflect.Type
- func (o TeamMembershipMapOutput) MapIndex(k pulumi.StringInput) TeamMembershipOutput
- func (o TeamMembershipMapOutput) ToTeamMembershipMapOutput() TeamMembershipMapOutput
- func (o TeamMembershipMapOutput) ToTeamMembershipMapOutputWithContext(ctx context.Context) TeamMembershipMapOutput
- type TeamMembershipOutput
- func (TeamMembershipOutput) ElementType() reflect.Type
- func (o TeamMembershipOutput) Etag() pulumi.StringOutput
- func (o TeamMembershipOutput) Role() pulumi.StringPtrOutput
- func (o TeamMembershipOutput) TeamId() pulumi.StringOutput
- func (o TeamMembershipOutput) ToTeamMembershipOutput() TeamMembershipOutput
- func (o TeamMembershipOutput) ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput
- func (o TeamMembershipOutput) Username() pulumi.StringOutput
- type TeamMembershipState
- type TeamOutput
- func (o TeamOutput) CreateDefaultMaintainer() pulumi.BoolPtrOutput
- func (o TeamOutput) Description() pulumi.StringPtrOutput
- func (TeamOutput) ElementType() reflect.Type
- func (o TeamOutput) Etag() pulumi.StringOutput
- func (o TeamOutput) LdapDn() pulumi.StringPtrOutput
- func (o TeamOutput) MembersCount() pulumi.IntOutput
- func (o TeamOutput) Name() pulumi.StringOutput
- func (o TeamOutput) NodeId() pulumi.StringOutput
- func (o TeamOutput) ParentTeamId() pulumi.IntPtrOutput
- func (o TeamOutput) Privacy() pulumi.StringPtrOutput
- func (o TeamOutput) Slug() pulumi.StringOutput
- func (o TeamOutput) ToTeamOutput() TeamOutput
- func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput
- type TeamRepository
- type TeamRepositoryArgs
- type TeamRepositoryArray
- type TeamRepositoryArrayInput
- type TeamRepositoryArrayOutput
- func (TeamRepositoryArrayOutput) ElementType() reflect.Type
- func (o TeamRepositoryArrayOutput) Index(i pulumi.IntInput) TeamRepositoryOutput
- func (o TeamRepositoryArrayOutput) ToTeamRepositoryArrayOutput() TeamRepositoryArrayOutput
- func (o TeamRepositoryArrayOutput) ToTeamRepositoryArrayOutputWithContext(ctx context.Context) TeamRepositoryArrayOutput
- type TeamRepositoryInput
- type TeamRepositoryMap
- type TeamRepositoryMapInput
- type TeamRepositoryMapOutput
- func (TeamRepositoryMapOutput) ElementType() reflect.Type
- func (o TeamRepositoryMapOutput) MapIndex(k pulumi.StringInput) TeamRepositoryOutput
- func (o TeamRepositoryMapOutput) ToTeamRepositoryMapOutput() TeamRepositoryMapOutput
- func (o TeamRepositoryMapOutput) ToTeamRepositoryMapOutputWithContext(ctx context.Context) TeamRepositoryMapOutput
- type TeamRepositoryOutput
- func (TeamRepositoryOutput) ElementType() reflect.Type
- func (o TeamRepositoryOutput) Etag() pulumi.StringOutput
- func (o TeamRepositoryOutput) Permission() pulumi.StringPtrOutput
- func (o TeamRepositoryOutput) Repository() pulumi.StringOutput
- func (o TeamRepositoryOutput) TeamId() pulumi.StringOutput
- func (o TeamRepositoryOutput) ToTeamRepositoryOutput() TeamRepositoryOutput
- func (o TeamRepositoryOutput) ToTeamRepositoryOutputWithContext(ctx context.Context) TeamRepositoryOutput
- type TeamRepositoryState
- type TeamState
- type TeamSyncGroupMapping
- type TeamSyncGroupMappingArgs
- type TeamSyncGroupMappingArray
- type TeamSyncGroupMappingArrayInput
- type TeamSyncGroupMappingArrayOutput
- func (TeamSyncGroupMappingArrayOutput) ElementType() reflect.Type
- func (o TeamSyncGroupMappingArrayOutput) Index(i pulumi.IntInput) TeamSyncGroupMappingOutput
- func (o TeamSyncGroupMappingArrayOutput) ToTeamSyncGroupMappingArrayOutput() TeamSyncGroupMappingArrayOutput
- func (o TeamSyncGroupMappingArrayOutput) ToTeamSyncGroupMappingArrayOutputWithContext(ctx context.Context) TeamSyncGroupMappingArrayOutput
- type TeamSyncGroupMappingGroup
- type TeamSyncGroupMappingGroupArgs
- func (TeamSyncGroupMappingGroupArgs) ElementType() reflect.Type
- func (i TeamSyncGroupMappingGroupArgs) ToTeamSyncGroupMappingGroupOutput() TeamSyncGroupMappingGroupOutput
- func (i TeamSyncGroupMappingGroupArgs) ToTeamSyncGroupMappingGroupOutputWithContext(ctx context.Context) TeamSyncGroupMappingGroupOutput
- type TeamSyncGroupMappingGroupArray
- func (TeamSyncGroupMappingGroupArray) ElementType() reflect.Type
- func (i TeamSyncGroupMappingGroupArray) ToTeamSyncGroupMappingGroupArrayOutput() TeamSyncGroupMappingGroupArrayOutput
- func (i TeamSyncGroupMappingGroupArray) ToTeamSyncGroupMappingGroupArrayOutputWithContext(ctx context.Context) TeamSyncGroupMappingGroupArrayOutput
- type TeamSyncGroupMappingGroupArrayInput
- type TeamSyncGroupMappingGroupArrayOutput
- func (TeamSyncGroupMappingGroupArrayOutput) ElementType() reflect.Type
- func (o TeamSyncGroupMappingGroupArrayOutput) Index(i pulumi.IntInput) TeamSyncGroupMappingGroupOutput
- func (o TeamSyncGroupMappingGroupArrayOutput) ToTeamSyncGroupMappingGroupArrayOutput() TeamSyncGroupMappingGroupArrayOutput
- func (o TeamSyncGroupMappingGroupArrayOutput) ToTeamSyncGroupMappingGroupArrayOutputWithContext(ctx context.Context) TeamSyncGroupMappingGroupArrayOutput
- type TeamSyncGroupMappingGroupInput
- type TeamSyncGroupMappingGroupOutput
- func (TeamSyncGroupMappingGroupOutput) ElementType() reflect.Type
- func (o TeamSyncGroupMappingGroupOutput) GroupDescription() pulumi.StringOutput
- func (o TeamSyncGroupMappingGroupOutput) GroupId() pulumi.StringOutput
- func (o TeamSyncGroupMappingGroupOutput) GroupName() pulumi.StringOutput
- func (o TeamSyncGroupMappingGroupOutput) ToTeamSyncGroupMappingGroupOutput() TeamSyncGroupMappingGroupOutput
- func (o TeamSyncGroupMappingGroupOutput) ToTeamSyncGroupMappingGroupOutputWithContext(ctx context.Context) TeamSyncGroupMappingGroupOutput
- type TeamSyncGroupMappingInput
- type TeamSyncGroupMappingMap
- type TeamSyncGroupMappingMapInput
- type TeamSyncGroupMappingMapOutput
- func (TeamSyncGroupMappingMapOutput) ElementType() reflect.Type
- func (o TeamSyncGroupMappingMapOutput) MapIndex(k pulumi.StringInput) TeamSyncGroupMappingOutput
- func (o TeamSyncGroupMappingMapOutput) ToTeamSyncGroupMappingMapOutput() TeamSyncGroupMappingMapOutput
- func (o TeamSyncGroupMappingMapOutput) ToTeamSyncGroupMappingMapOutputWithContext(ctx context.Context) TeamSyncGroupMappingMapOutput
- type TeamSyncGroupMappingOutput
- func (TeamSyncGroupMappingOutput) ElementType() reflect.Type
- func (o TeamSyncGroupMappingOutput) Etag() pulumi.StringOutput
- func (o TeamSyncGroupMappingOutput) Groups() TeamSyncGroupMappingGroupArrayOutput
- func (o TeamSyncGroupMappingOutput) TeamSlug() pulumi.StringOutput
- func (o TeamSyncGroupMappingOutput) ToTeamSyncGroupMappingOutput() TeamSyncGroupMappingOutput
- func (o TeamSyncGroupMappingOutput) ToTeamSyncGroupMappingOutputWithContext(ctx context.Context) TeamSyncGroupMappingOutput
- type TeamSyncGroupMappingState
- type UserGpgKey
- type UserGpgKeyArgs
- type UserGpgKeyArray
- type UserGpgKeyArrayInput
- type UserGpgKeyArrayOutput
- func (UserGpgKeyArrayOutput) ElementType() reflect.Type
- func (o UserGpgKeyArrayOutput) Index(i pulumi.IntInput) UserGpgKeyOutput
- func (o UserGpgKeyArrayOutput) ToUserGpgKeyArrayOutput() UserGpgKeyArrayOutput
- func (o UserGpgKeyArrayOutput) ToUserGpgKeyArrayOutputWithContext(ctx context.Context) UserGpgKeyArrayOutput
- type UserGpgKeyInput
- type UserGpgKeyMap
- type UserGpgKeyMapInput
- type UserGpgKeyMapOutput
- func (UserGpgKeyMapOutput) ElementType() reflect.Type
- func (o UserGpgKeyMapOutput) MapIndex(k pulumi.StringInput) UserGpgKeyOutput
- func (o UserGpgKeyMapOutput) ToUserGpgKeyMapOutput() UserGpgKeyMapOutput
- func (o UserGpgKeyMapOutput) ToUserGpgKeyMapOutputWithContext(ctx context.Context) UserGpgKeyMapOutput
- type UserGpgKeyOutput
- func (o UserGpgKeyOutput) ArmoredPublicKey() pulumi.StringOutput
- func (UserGpgKeyOutput) ElementType() reflect.Type
- func (o UserGpgKeyOutput) Etag() pulumi.StringOutput
- func (o UserGpgKeyOutput) KeyId() pulumi.StringOutput
- func (o UserGpgKeyOutput) ToUserGpgKeyOutput() UserGpgKeyOutput
- func (o UserGpgKeyOutput) ToUserGpgKeyOutputWithContext(ctx context.Context) UserGpgKeyOutput
- type UserGpgKeyState
- type UserInvitationAccepter
- type UserInvitationAccepterArgs
- type UserInvitationAccepterArray
- func (UserInvitationAccepterArray) ElementType() reflect.Type
- func (i UserInvitationAccepterArray) ToUserInvitationAccepterArrayOutput() UserInvitationAccepterArrayOutput
- func (i UserInvitationAccepterArray) ToUserInvitationAccepterArrayOutputWithContext(ctx context.Context) UserInvitationAccepterArrayOutput
- type UserInvitationAccepterArrayInput
- type UserInvitationAccepterArrayOutput
- func (UserInvitationAccepterArrayOutput) ElementType() reflect.Type
- func (o UserInvitationAccepterArrayOutput) Index(i pulumi.IntInput) UserInvitationAccepterOutput
- func (o UserInvitationAccepterArrayOutput) ToUserInvitationAccepterArrayOutput() UserInvitationAccepterArrayOutput
- func (o UserInvitationAccepterArrayOutput) ToUserInvitationAccepterArrayOutputWithContext(ctx context.Context) UserInvitationAccepterArrayOutput
- type UserInvitationAccepterInput
- type UserInvitationAccepterMap
- type UserInvitationAccepterMapInput
- type UserInvitationAccepterMapOutput
- func (UserInvitationAccepterMapOutput) ElementType() reflect.Type
- func (o UserInvitationAccepterMapOutput) MapIndex(k pulumi.StringInput) UserInvitationAccepterOutput
- func (o UserInvitationAccepterMapOutput) ToUserInvitationAccepterMapOutput() UserInvitationAccepterMapOutput
- func (o UserInvitationAccepterMapOutput) ToUserInvitationAccepterMapOutputWithContext(ctx context.Context) UserInvitationAccepterMapOutput
- type UserInvitationAccepterOutput
- func (UserInvitationAccepterOutput) ElementType() reflect.Type
- func (o UserInvitationAccepterOutput) InvitationId() pulumi.StringOutput
- func (o UserInvitationAccepterOutput) ToUserInvitationAccepterOutput() UserInvitationAccepterOutput
- func (o UserInvitationAccepterOutput) ToUserInvitationAccepterOutputWithContext(ctx context.Context) UserInvitationAccepterOutput
- type UserInvitationAccepterState
- type UserSshKey
- type UserSshKeyArgs
- type UserSshKeyArray
- type UserSshKeyArrayInput
- type UserSshKeyArrayOutput
- func (UserSshKeyArrayOutput) ElementType() reflect.Type
- func (o UserSshKeyArrayOutput) Index(i pulumi.IntInput) UserSshKeyOutput
- func (o UserSshKeyArrayOutput) ToUserSshKeyArrayOutput() UserSshKeyArrayOutput
- func (o UserSshKeyArrayOutput) ToUserSshKeyArrayOutputWithContext(ctx context.Context) UserSshKeyArrayOutput
- type UserSshKeyInput
- type UserSshKeyMap
- type UserSshKeyMapInput
- type UserSshKeyMapOutput
- func (UserSshKeyMapOutput) ElementType() reflect.Type
- func (o UserSshKeyMapOutput) MapIndex(k pulumi.StringInput) UserSshKeyOutput
- func (o UserSshKeyMapOutput) ToUserSshKeyMapOutput() UserSshKeyMapOutput
- func (o UserSshKeyMapOutput) ToUserSshKeyMapOutputWithContext(ctx context.Context) UserSshKeyMapOutput
- type UserSshKeyOutput
- func (UserSshKeyOutput) ElementType() reflect.Type
- func (o UserSshKeyOutput) Etag() pulumi.StringOutput
- func (o UserSshKeyOutput) Key() pulumi.StringOutput
- func (o UserSshKeyOutput) Title() pulumi.StringOutput
- func (o UserSshKeyOutput) ToUserSshKeyOutput() UserSshKeyOutput
- func (o UserSshKeyOutput) ToUserSshKeyOutputWithContext(ctx context.Context) UserSshKeyOutput
- func (o UserSshKeyOutput) Url() pulumi.StringOutput
- type UserSshKeyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type ActionsEnvironmentSecret ¶ added in v4.3.0
type ActionsEnvironmentSecret struct { pulumi.CustomResourceState // Date of actionsEnvironmentSecret creation. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // Encrypted value of the secret using the Github public key in Base64 format. EncryptedValue pulumi.StringPtrOutput `pulumi:"encryptedValue"` // Name of the environment. Environment pulumi.StringOutput `pulumi:"environment"` // Plaintext value of the secret to be encrypted. PlaintextValue pulumi.StringPtrOutput `pulumi:"plaintextValue"` // Name of the repository. Repository pulumi.StringOutput `pulumi:"repository"` // Name of the secret. SecretName pulumi.StringOutput `pulumi:"secretName"` // Date of actionsEnvironmentSecret update. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewActionsEnvironmentSecret(ctx, "exampleSecretActionsEnvironmentSecret", &github.ActionsEnvironmentSecretArgs{ Environment: pulumi.String("example_environment"), SecretName: pulumi.String("example_secret_name"), PlaintextValue: pulumi.Any(_var.Some_secret_string), }) if err != nil { return err } _, err = github.NewActionsEnvironmentSecret(ctx, "exampleSecretIndex/actionsEnvironmentSecretActionsEnvironmentSecret", &github.ActionsEnvironmentSecretArgs{ Environment: pulumi.String("example_environment"), SecretName: pulumi.String("example_secret_name"), EncryptedValue: pulumi.Any(_var.Some_encrypted_secret_string), }) if err != nil { return err } return nil }) }
```
```go package main
import (
"fmt" "github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { repo, err := github.LookupRepository(ctx, &GetRepositoryArgs{ FullName: pulumi.StringRef("my-org/repo"), }, nil) if err != nil { return err } repoEnvironment, err := github.NewRepositoryEnvironment(ctx, "repoEnvironment", &github.RepositoryEnvironmentArgs{ Repository: pulumi.String(repo.Name), Environment: pulumi.String("example_environment"), }) if err != nil { return err } _, err = github.NewActionsEnvironmentSecret(ctx, "testSecret", &github.ActionsEnvironmentSecretArgs{ Repository: pulumi.String(repo.Name), Environment: repoEnvironment.Environment, SecretName: pulumi.String("test_secret_name"), PlaintextValue: pulumi.String(fmt.Sprintf("%vs", "%")), }) if err != nil { return err } return nil }) }
```
## Import
This resource can be imported using an ID made up of the secret name ¶
```sh
$ pulumi import github:index/actionsEnvironmentSecret:ActionsEnvironmentSecret test_secret test_secret_name
```
NOTEthe implementation is limited in that it won't fetch the value of the `plaintext_value` field when importing. You may need to ignore changes for the `plaintext_value` as a workaround.
func GetActionsEnvironmentSecret ¶ added in v4.3.0
func GetActionsEnvironmentSecret(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ActionsEnvironmentSecretState, opts ...pulumi.ResourceOption) (*ActionsEnvironmentSecret, error)
GetActionsEnvironmentSecret gets an existing ActionsEnvironmentSecret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewActionsEnvironmentSecret ¶ added in v4.3.0
func NewActionsEnvironmentSecret(ctx *pulumi.Context, name string, args *ActionsEnvironmentSecretArgs, opts ...pulumi.ResourceOption) (*ActionsEnvironmentSecret, error)
NewActionsEnvironmentSecret registers a new resource with the given unique name, arguments, and options.
func (*ActionsEnvironmentSecret) ElementType ¶ added in v4.3.0
func (*ActionsEnvironmentSecret) ElementType() reflect.Type
func (*ActionsEnvironmentSecret) ToActionsEnvironmentSecretOutput ¶ added in v4.3.0
func (i *ActionsEnvironmentSecret) ToActionsEnvironmentSecretOutput() ActionsEnvironmentSecretOutput
func (*ActionsEnvironmentSecret) ToActionsEnvironmentSecretOutputWithContext ¶ added in v4.3.0
func (i *ActionsEnvironmentSecret) ToActionsEnvironmentSecretOutputWithContext(ctx context.Context) ActionsEnvironmentSecretOutput
type ActionsEnvironmentSecretArgs ¶ added in v4.3.0
type ActionsEnvironmentSecretArgs struct { // Encrypted value of the secret using the Github public key in Base64 format. EncryptedValue pulumi.StringPtrInput // Name of the environment. Environment pulumi.StringInput // Plaintext value of the secret to be encrypted. PlaintextValue pulumi.StringPtrInput // Name of the repository. Repository pulumi.StringInput // Name of the secret. SecretName pulumi.StringInput }
The set of arguments for constructing a ActionsEnvironmentSecret resource.
func (ActionsEnvironmentSecretArgs) ElementType ¶ added in v4.3.0
func (ActionsEnvironmentSecretArgs) ElementType() reflect.Type
type ActionsEnvironmentSecretArray ¶ added in v4.3.0
type ActionsEnvironmentSecretArray []ActionsEnvironmentSecretInput
func (ActionsEnvironmentSecretArray) ElementType ¶ added in v4.3.0
func (ActionsEnvironmentSecretArray) ElementType() reflect.Type
func (ActionsEnvironmentSecretArray) ToActionsEnvironmentSecretArrayOutput ¶ added in v4.3.0
func (i ActionsEnvironmentSecretArray) ToActionsEnvironmentSecretArrayOutput() ActionsEnvironmentSecretArrayOutput
func (ActionsEnvironmentSecretArray) ToActionsEnvironmentSecretArrayOutputWithContext ¶ added in v4.3.0
func (i ActionsEnvironmentSecretArray) ToActionsEnvironmentSecretArrayOutputWithContext(ctx context.Context) ActionsEnvironmentSecretArrayOutput
type ActionsEnvironmentSecretArrayInput ¶ added in v4.3.0
type ActionsEnvironmentSecretArrayInput interface { pulumi.Input ToActionsEnvironmentSecretArrayOutput() ActionsEnvironmentSecretArrayOutput ToActionsEnvironmentSecretArrayOutputWithContext(context.Context) ActionsEnvironmentSecretArrayOutput }
ActionsEnvironmentSecretArrayInput is an input type that accepts ActionsEnvironmentSecretArray and ActionsEnvironmentSecretArrayOutput values. You can construct a concrete instance of `ActionsEnvironmentSecretArrayInput` via:
ActionsEnvironmentSecretArray{ ActionsEnvironmentSecretArgs{...} }
type ActionsEnvironmentSecretArrayOutput ¶ added in v4.3.0
type ActionsEnvironmentSecretArrayOutput struct{ *pulumi.OutputState }
func (ActionsEnvironmentSecretArrayOutput) ElementType ¶ added in v4.3.0
func (ActionsEnvironmentSecretArrayOutput) ElementType() reflect.Type
func (ActionsEnvironmentSecretArrayOutput) Index ¶ added in v4.3.0
func (o ActionsEnvironmentSecretArrayOutput) Index(i pulumi.IntInput) ActionsEnvironmentSecretOutput
func (ActionsEnvironmentSecretArrayOutput) ToActionsEnvironmentSecretArrayOutput ¶ added in v4.3.0
func (o ActionsEnvironmentSecretArrayOutput) ToActionsEnvironmentSecretArrayOutput() ActionsEnvironmentSecretArrayOutput
func (ActionsEnvironmentSecretArrayOutput) ToActionsEnvironmentSecretArrayOutputWithContext ¶ added in v4.3.0
func (o ActionsEnvironmentSecretArrayOutput) ToActionsEnvironmentSecretArrayOutputWithContext(ctx context.Context) ActionsEnvironmentSecretArrayOutput
type ActionsEnvironmentSecretInput ¶ added in v4.3.0
type ActionsEnvironmentSecretInput interface { pulumi.Input ToActionsEnvironmentSecretOutput() ActionsEnvironmentSecretOutput ToActionsEnvironmentSecretOutputWithContext(ctx context.Context) ActionsEnvironmentSecretOutput }
type ActionsEnvironmentSecretMap ¶ added in v4.3.0
type ActionsEnvironmentSecretMap map[string]ActionsEnvironmentSecretInput
func (ActionsEnvironmentSecretMap) ElementType ¶ added in v4.3.0
func (ActionsEnvironmentSecretMap) ElementType() reflect.Type
func (ActionsEnvironmentSecretMap) ToActionsEnvironmentSecretMapOutput ¶ added in v4.3.0
func (i ActionsEnvironmentSecretMap) ToActionsEnvironmentSecretMapOutput() ActionsEnvironmentSecretMapOutput
func (ActionsEnvironmentSecretMap) ToActionsEnvironmentSecretMapOutputWithContext ¶ added in v4.3.0
func (i ActionsEnvironmentSecretMap) ToActionsEnvironmentSecretMapOutputWithContext(ctx context.Context) ActionsEnvironmentSecretMapOutput
type ActionsEnvironmentSecretMapInput ¶ added in v4.3.0
type ActionsEnvironmentSecretMapInput interface { pulumi.Input ToActionsEnvironmentSecretMapOutput() ActionsEnvironmentSecretMapOutput ToActionsEnvironmentSecretMapOutputWithContext(context.Context) ActionsEnvironmentSecretMapOutput }
ActionsEnvironmentSecretMapInput is an input type that accepts ActionsEnvironmentSecretMap and ActionsEnvironmentSecretMapOutput values. You can construct a concrete instance of `ActionsEnvironmentSecretMapInput` via:
ActionsEnvironmentSecretMap{ "key": ActionsEnvironmentSecretArgs{...} }
type ActionsEnvironmentSecretMapOutput ¶ added in v4.3.0
type ActionsEnvironmentSecretMapOutput struct{ *pulumi.OutputState }
func (ActionsEnvironmentSecretMapOutput) ElementType ¶ added in v4.3.0
func (ActionsEnvironmentSecretMapOutput) ElementType() reflect.Type
func (ActionsEnvironmentSecretMapOutput) MapIndex ¶ added in v4.3.0
func (o ActionsEnvironmentSecretMapOutput) MapIndex(k pulumi.StringInput) ActionsEnvironmentSecretOutput
func (ActionsEnvironmentSecretMapOutput) ToActionsEnvironmentSecretMapOutput ¶ added in v4.3.0
func (o ActionsEnvironmentSecretMapOutput) ToActionsEnvironmentSecretMapOutput() ActionsEnvironmentSecretMapOutput
func (ActionsEnvironmentSecretMapOutput) ToActionsEnvironmentSecretMapOutputWithContext ¶ added in v4.3.0
func (o ActionsEnvironmentSecretMapOutput) ToActionsEnvironmentSecretMapOutputWithContext(ctx context.Context) ActionsEnvironmentSecretMapOutput
type ActionsEnvironmentSecretOutput ¶ added in v4.3.0
type ActionsEnvironmentSecretOutput struct{ *pulumi.OutputState }
func (ActionsEnvironmentSecretOutput) CreatedAt ¶ added in v4.15.0
func (o ActionsEnvironmentSecretOutput) CreatedAt() pulumi.StringOutput
Date of actionsEnvironmentSecret creation.
func (ActionsEnvironmentSecretOutput) ElementType ¶ added in v4.3.0
func (ActionsEnvironmentSecretOutput) ElementType() reflect.Type
func (ActionsEnvironmentSecretOutput) EncryptedValue ¶ added in v4.15.0
func (o ActionsEnvironmentSecretOutput) EncryptedValue() pulumi.StringPtrOutput
Encrypted value of the secret using the Github public key in Base64 format.
func (ActionsEnvironmentSecretOutput) Environment ¶ added in v4.15.0
func (o ActionsEnvironmentSecretOutput) Environment() pulumi.StringOutput
Name of the environment.
func (ActionsEnvironmentSecretOutput) PlaintextValue ¶ added in v4.15.0
func (o ActionsEnvironmentSecretOutput) PlaintextValue() pulumi.StringPtrOutput
Plaintext value of the secret to be encrypted.
func (ActionsEnvironmentSecretOutput) Repository ¶ added in v4.15.0
func (o ActionsEnvironmentSecretOutput) Repository() pulumi.StringOutput
Name of the repository.
func (ActionsEnvironmentSecretOutput) SecretName ¶ added in v4.15.0
func (o ActionsEnvironmentSecretOutput) SecretName() pulumi.StringOutput
Name of the secret.
func (ActionsEnvironmentSecretOutput) ToActionsEnvironmentSecretOutput ¶ added in v4.3.0
func (o ActionsEnvironmentSecretOutput) ToActionsEnvironmentSecretOutput() ActionsEnvironmentSecretOutput
func (ActionsEnvironmentSecretOutput) ToActionsEnvironmentSecretOutputWithContext ¶ added in v4.3.0
func (o ActionsEnvironmentSecretOutput) ToActionsEnvironmentSecretOutputWithContext(ctx context.Context) ActionsEnvironmentSecretOutput
func (ActionsEnvironmentSecretOutput) UpdatedAt ¶ added in v4.15.0
func (o ActionsEnvironmentSecretOutput) UpdatedAt() pulumi.StringOutput
Date of actionsEnvironmentSecret update.
type ActionsEnvironmentSecretState ¶ added in v4.3.0
type ActionsEnvironmentSecretState struct { // Date of actionsEnvironmentSecret creation. CreatedAt pulumi.StringPtrInput // Encrypted value of the secret using the Github public key in Base64 format. EncryptedValue pulumi.StringPtrInput // Name of the environment. Environment pulumi.StringPtrInput // Plaintext value of the secret to be encrypted. PlaintextValue pulumi.StringPtrInput // Name of the repository. Repository pulumi.StringPtrInput // Name of the secret. SecretName pulumi.StringPtrInput // Date of actionsEnvironmentSecret update. UpdatedAt pulumi.StringPtrInput }
func (ActionsEnvironmentSecretState) ElementType ¶ added in v4.3.0
func (ActionsEnvironmentSecretState) ElementType() reflect.Type
type ActionsOrganizationPermissions ¶ added in v4.7.0
type ActionsOrganizationPermissions struct { pulumi.CustomResourceState // The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `localOnly`, or `selected`. AllowedActions pulumi.StringPtrOutput `pulumi:"allowedActions"` // Sets the actions that are allowed in an organization. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details. AllowedActionsConfig ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput `pulumi:"allowedActionsConfig"` // The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`. EnabledRepositories pulumi.StringOutput `pulumi:"enabledRepositories"` // Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when `enabledRepositories` = `selected`. See Enabled Repositories Config below for details. EnabledRepositoriesConfig ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput `pulumi:"enabledRepositoriesConfig"` }
This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise organizations. You must have admin access to an organization to use this resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := github.NewRepository(ctx, "example", nil) if err != nil { return err } _, err = github.NewActionsOrganizationPermissions(ctx, "test", &github.ActionsOrganizationPermissionsArgs{ AllowedActions: pulumi.String("selected"), EnabledRepositories: pulumi.String("selected"), AllowedActionsConfig: &ActionsOrganizationPermissionsAllowedActionsConfigArgs{ GithubOwnedAllowed: pulumi.Bool(true), PatternsAlloweds: pulumi.StringArray{ pulumi.String("actions/cache@*"), pulumi.String("actions/checkout@*"), }, VerifiedAllowed: pulumi.Bool(true), }, EnabledRepositoriesConfig: &ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs{ RepositoryIds: pulumi.IntArray{ example.RepoId, }, }, }) if err != nil { return err } return nil }) }
```
## Import
This resource can be imported using the ID of the GitHub organization ¶
```sh
$ pulumi import github:index/actionsOrganizationPermissions:ActionsOrganizationPermissions test <github_organization_name>
```
func GetActionsOrganizationPermissions ¶ added in v4.7.0
func GetActionsOrganizationPermissions(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ActionsOrganizationPermissionsState, opts ...pulumi.ResourceOption) (*ActionsOrganizationPermissions, error)
GetActionsOrganizationPermissions gets an existing ActionsOrganizationPermissions resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewActionsOrganizationPermissions ¶ added in v4.7.0
func NewActionsOrganizationPermissions(ctx *pulumi.Context, name string, args *ActionsOrganizationPermissionsArgs, opts ...pulumi.ResourceOption) (*ActionsOrganizationPermissions, error)
NewActionsOrganizationPermissions registers a new resource with the given unique name, arguments, and options.
func (*ActionsOrganizationPermissions) ElementType ¶ added in v4.7.0
func (*ActionsOrganizationPermissions) ElementType() reflect.Type
func (*ActionsOrganizationPermissions) ToActionsOrganizationPermissionsOutput ¶ added in v4.7.0
func (i *ActionsOrganizationPermissions) ToActionsOrganizationPermissionsOutput() ActionsOrganizationPermissionsOutput
func (*ActionsOrganizationPermissions) ToActionsOrganizationPermissionsOutputWithContext ¶ added in v4.7.0
func (i *ActionsOrganizationPermissions) ToActionsOrganizationPermissionsOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsOutput
type ActionsOrganizationPermissionsAllowedActionsConfig ¶ added in v4.7.0
type ActionsOrganizationPermissionsAllowedActionsConfig struct { // Whether GitHub-owned actions are allowed in the organization. GithubOwnedAllowed bool `pulumi:"githubOwnedAllowed"` // Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*." PatternsAlloweds []string `pulumi:"patternsAlloweds"` // Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators. VerifiedAllowed *bool `pulumi:"verifiedAllowed"` }
type ActionsOrganizationPermissionsAllowedActionsConfigArgs ¶ added in v4.7.0
type ActionsOrganizationPermissionsAllowedActionsConfigArgs struct { // Whether GitHub-owned actions are allowed in the organization. GithubOwnedAllowed pulumi.BoolInput `pulumi:"githubOwnedAllowed"` // Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*." PatternsAlloweds pulumi.StringArrayInput `pulumi:"patternsAlloweds"` // Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators. VerifiedAllowed pulumi.BoolPtrInput `pulumi:"verifiedAllowed"` }
func (ActionsOrganizationPermissionsAllowedActionsConfigArgs) ElementType ¶ added in v4.7.0
func (ActionsOrganizationPermissionsAllowedActionsConfigArgs) ElementType() reflect.Type
func (ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigOutput ¶ added in v4.7.0
func (i ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigOutput() ActionsOrganizationPermissionsAllowedActionsConfigOutput
func (ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigOutputWithContext ¶ added in v4.7.0
func (i ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigOutput
func (ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutput ¶ added in v4.7.0
func (i ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutput() ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
func (ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext ¶ added in v4.7.0
func (i ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
type ActionsOrganizationPermissionsAllowedActionsConfigInput ¶ added in v4.7.0
type ActionsOrganizationPermissionsAllowedActionsConfigInput interface { pulumi.Input ToActionsOrganizationPermissionsAllowedActionsConfigOutput() ActionsOrganizationPermissionsAllowedActionsConfigOutput ToActionsOrganizationPermissionsAllowedActionsConfigOutputWithContext(context.Context) ActionsOrganizationPermissionsAllowedActionsConfigOutput }
ActionsOrganizationPermissionsAllowedActionsConfigInput is an input type that accepts ActionsOrganizationPermissionsAllowedActionsConfigArgs and ActionsOrganizationPermissionsAllowedActionsConfigOutput values. You can construct a concrete instance of `ActionsOrganizationPermissionsAllowedActionsConfigInput` via:
ActionsOrganizationPermissionsAllowedActionsConfigArgs{...}
type ActionsOrganizationPermissionsAllowedActionsConfigOutput ¶ added in v4.7.0
type ActionsOrganizationPermissionsAllowedActionsConfigOutput struct{ *pulumi.OutputState }
func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) ElementType ¶ added in v4.7.0
func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) ElementType() reflect.Type
func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) GithubOwnedAllowed ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) GithubOwnedAllowed() pulumi.BoolOutput
Whether GitHub-owned actions are allowed in the organization.
func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) PatternsAlloweds ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) PatternsAlloweds() pulumi.StringArrayOutput
Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*."
func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigOutput ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigOutput() ActionsOrganizationPermissionsAllowedActionsConfigOutput
func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigOutputWithContext ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigOutput
func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutput ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutput() ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) VerifiedAllowed ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) VerifiedAllowed() pulumi.BoolPtrOutput
Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
type ActionsOrganizationPermissionsAllowedActionsConfigPtrInput ¶ added in v4.7.0
type ActionsOrganizationPermissionsAllowedActionsConfigPtrInput interface { pulumi.Input ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutput() ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext(context.Context) ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput }
ActionsOrganizationPermissionsAllowedActionsConfigPtrInput is an input type that accepts ActionsOrganizationPermissionsAllowedActionsConfigArgs, ActionsOrganizationPermissionsAllowedActionsConfigPtr and ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput values. You can construct a concrete instance of `ActionsOrganizationPermissionsAllowedActionsConfigPtrInput` via:
ActionsOrganizationPermissionsAllowedActionsConfigArgs{...} or: nil
func ActionsOrganizationPermissionsAllowedActionsConfigPtr ¶ added in v4.7.0
func ActionsOrganizationPermissionsAllowedActionsConfigPtr(v *ActionsOrganizationPermissionsAllowedActionsConfigArgs) ActionsOrganizationPermissionsAllowedActionsConfigPtrInput
type ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput ¶ added in v4.7.0
type ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput struct{ *pulumi.OutputState }
func (ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) ElementType ¶ added in v4.7.0
func (ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) ElementType() reflect.Type
func (ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) GithubOwnedAllowed ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) GithubOwnedAllowed() pulumi.BoolPtrOutput
Whether GitHub-owned actions are allowed in the organization.
func (ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) PatternsAlloweds ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) PatternsAlloweds() pulumi.StringArrayOutput
Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*."
func (ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutput ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutput() ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
func (ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
func (ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) VerifiedAllowed ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) VerifiedAllowed() pulumi.BoolPtrOutput
Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
type ActionsOrganizationPermissionsArgs ¶ added in v4.7.0
type ActionsOrganizationPermissionsArgs struct { // The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `localOnly`, or `selected`. AllowedActions pulumi.StringPtrInput // Sets the actions that are allowed in an organization. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details. AllowedActionsConfig ActionsOrganizationPermissionsAllowedActionsConfigPtrInput // The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`. EnabledRepositories pulumi.StringInput // Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when `enabledRepositories` = `selected`. See Enabled Repositories Config below for details. EnabledRepositoriesConfig ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrInput }
The set of arguments for constructing a ActionsOrganizationPermissions resource.
func (ActionsOrganizationPermissionsArgs) ElementType ¶ added in v4.7.0
func (ActionsOrganizationPermissionsArgs) ElementType() reflect.Type
type ActionsOrganizationPermissionsArray ¶ added in v4.7.0
type ActionsOrganizationPermissionsArray []ActionsOrganizationPermissionsInput
func (ActionsOrganizationPermissionsArray) ElementType ¶ added in v4.7.0
func (ActionsOrganizationPermissionsArray) ElementType() reflect.Type
func (ActionsOrganizationPermissionsArray) ToActionsOrganizationPermissionsArrayOutput ¶ added in v4.7.0
func (i ActionsOrganizationPermissionsArray) ToActionsOrganizationPermissionsArrayOutput() ActionsOrganizationPermissionsArrayOutput
func (ActionsOrganizationPermissionsArray) ToActionsOrganizationPermissionsArrayOutputWithContext ¶ added in v4.7.0
func (i ActionsOrganizationPermissionsArray) ToActionsOrganizationPermissionsArrayOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsArrayOutput
type ActionsOrganizationPermissionsArrayInput ¶ added in v4.7.0
type ActionsOrganizationPermissionsArrayInput interface { pulumi.Input ToActionsOrganizationPermissionsArrayOutput() ActionsOrganizationPermissionsArrayOutput ToActionsOrganizationPermissionsArrayOutputWithContext(context.Context) ActionsOrganizationPermissionsArrayOutput }
ActionsOrganizationPermissionsArrayInput is an input type that accepts ActionsOrganizationPermissionsArray and ActionsOrganizationPermissionsArrayOutput values. You can construct a concrete instance of `ActionsOrganizationPermissionsArrayInput` via:
ActionsOrganizationPermissionsArray{ ActionsOrganizationPermissionsArgs{...} }
type ActionsOrganizationPermissionsArrayOutput ¶ added in v4.7.0
type ActionsOrganizationPermissionsArrayOutput struct{ *pulumi.OutputState }
func (ActionsOrganizationPermissionsArrayOutput) ElementType ¶ added in v4.7.0
func (ActionsOrganizationPermissionsArrayOutput) ElementType() reflect.Type
func (ActionsOrganizationPermissionsArrayOutput) ToActionsOrganizationPermissionsArrayOutput ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsArrayOutput) ToActionsOrganizationPermissionsArrayOutput() ActionsOrganizationPermissionsArrayOutput
func (ActionsOrganizationPermissionsArrayOutput) ToActionsOrganizationPermissionsArrayOutputWithContext ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsArrayOutput) ToActionsOrganizationPermissionsArrayOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsArrayOutput
type ActionsOrganizationPermissionsEnabledRepositoriesConfig ¶ added in v4.7.0
type ActionsOrganizationPermissionsEnabledRepositoriesConfig struct { // List of repository IDs to enable for GitHub Actions. RepositoryIds []int `pulumi:"repositoryIds"` }
type ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs ¶ added in v4.7.0
type ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs struct { // List of repository IDs to enable for GitHub Actions. RepositoryIds pulumi.IntArrayInput `pulumi:"repositoryIds"` }
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ElementType ¶ added in v4.7.0
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ElementType() reflect.Type
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutput ¶ added in v4.7.0
func (i ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutput() ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutputWithContext ¶ added in v4.7.0
func (i ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput ¶ added in v4.7.0
func (i ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput() ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext ¶ added in v4.7.0
func (i ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
type ActionsOrganizationPermissionsEnabledRepositoriesConfigInput ¶ added in v4.7.0
type ActionsOrganizationPermissionsEnabledRepositoriesConfigInput interface { pulumi.Input ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutput() ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutputWithContext(context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput }
ActionsOrganizationPermissionsEnabledRepositoriesConfigInput is an input type that accepts ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs and ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput values. You can construct a concrete instance of `ActionsOrganizationPermissionsEnabledRepositoriesConfigInput` via:
ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs{...}
type ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput ¶ added in v4.7.0
type ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput struct{ *pulumi.OutputState }
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ElementType ¶ added in v4.7.0
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ElementType() reflect.Type
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) RepositoryIds ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) RepositoryIds() pulumi.IntArrayOutput
List of repository IDs to enable for GitHub Actions.
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutput ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutput() ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutputWithContext ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput() ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
type ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrInput ¶ added in v4.7.0
type ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrInput interface { pulumi.Input ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput() ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext(context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput }
ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrInput is an input type that accepts ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs, ActionsOrganizationPermissionsEnabledRepositoriesConfigPtr and ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput values. You can construct a concrete instance of `ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrInput` via:
ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs{...} or: nil
func ActionsOrganizationPermissionsEnabledRepositoriesConfigPtr ¶ added in v4.7.0
func ActionsOrganizationPermissionsEnabledRepositoriesConfigPtr(v *ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrInput
type ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput ¶ added in v4.7.0
type ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput struct{ *pulumi.OutputState }
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) ElementType ¶ added in v4.7.0
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) ElementType() reflect.Type
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) RepositoryIds ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) RepositoryIds() pulumi.IntArrayOutput
List of repository IDs to enable for GitHub Actions.
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput() ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
func (ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
type ActionsOrganizationPermissionsInput ¶ added in v4.7.0
type ActionsOrganizationPermissionsInput interface { pulumi.Input ToActionsOrganizationPermissionsOutput() ActionsOrganizationPermissionsOutput ToActionsOrganizationPermissionsOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsOutput }
type ActionsOrganizationPermissionsMap ¶ added in v4.7.0
type ActionsOrganizationPermissionsMap map[string]ActionsOrganizationPermissionsInput
func (ActionsOrganizationPermissionsMap) ElementType ¶ added in v4.7.0
func (ActionsOrganizationPermissionsMap) ElementType() reflect.Type
func (ActionsOrganizationPermissionsMap) ToActionsOrganizationPermissionsMapOutput ¶ added in v4.7.0
func (i ActionsOrganizationPermissionsMap) ToActionsOrganizationPermissionsMapOutput() ActionsOrganizationPermissionsMapOutput
func (ActionsOrganizationPermissionsMap) ToActionsOrganizationPermissionsMapOutputWithContext ¶ added in v4.7.0
func (i ActionsOrganizationPermissionsMap) ToActionsOrganizationPermissionsMapOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsMapOutput
type ActionsOrganizationPermissionsMapInput ¶ added in v4.7.0
type ActionsOrganizationPermissionsMapInput interface { pulumi.Input ToActionsOrganizationPermissionsMapOutput() ActionsOrganizationPermissionsMapOutput ToActionsOrganizationPermissionsMapOutputWithContext(context.Context) ActionsOrganizationPermissionsMapOutput }
ActionsOrganizationPermissionsMapInput is an input type that accepts ActionsOrganizationPermissionsMap and ActionsOrganizationPermissionsMapOutput values. You can construct a concrete instance of `ActionsOrganizationPermissionsMapInput` via:
ActionsOrganizationPermissionsMap{ "key": ActionsOrganizationPermissionsArgs{...} }
type ActionsOrganizationPermissionsMapOutput ¶ added in v4.7.0
type ActionsOrganizationPermissionsMapOutput struct{ *pulumi.OutputState }
func (ActionsOrganizationPermissionsMapOutput) ElementType ¶ added in v4.7.0
func (ActionsOrganizationPermissionsMapOutput) ElementType() reflect.Type
func (ActionsOrganizationPermissionsMapOutput) MapIndex ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsMapOutput) MapIndex(k pulumi.StringInput) ActionsOrganizationPermissionsOutput
func (ActionsOrganizationPermissionsMapOutput) ToActionsOrganizationPermissionsMapOutput ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsMapOutput) ToActionsOrganizationPermissionsMapOutput() ActionsOrganizationPermissionsMapOutput
func (ActionsOrganizationPermissionsMapOutput) ToActionsOrganizationPermissionsMapOutputWithContext ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsMapOutput) ToActionsOrganizationPermissionsMapOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsMapOutput
type ActionsOrganizationPermissionsOutput ¶ added in v4.7.0
type ActionsOrganizationPermissionsOutput struct{ *pulumi.OutputState }
func (ActionsOrganizationPermissionsOutput) AllowedActions ¶ added in v4.15.0
func (o ActionsOrganizationPermissionsOutput) AllowedActions() pulumi.StringPtrOutput
The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `localOnly`, or `selected`.
func (ActionsOrganizationPermissionsOutput) AllowedActionsConfig ¶ added in v4.15.0
func (o ActionsOrganizationPermissionsOutput) AllowedActionsConfig() ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput
Sets the actions that are allowed in an organization. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.
func (ActionsOrganizationPermissionsOutput) ElementType ¶ added in v4.7.0
func (ActionsOrganizationPermissionsOutput) ElementType() reflect.Type
func (ActionsOrganizationPermissionsOutput) EnabledRepositories ¶ added in v4.15.0
func (o ActionsOrganizationPermissionsOutput) EnabledRepositories() pulumi.StringOutput
The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`.
func (ActionsOrganizationPermissionsOutput) EnabledRepositoriesConfig ¶ added in v4.15.0
func (o ActionsOrganizationPermissionsOutput) EnabledRepositoriesConfig() ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput
Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when `enabledRepositories` = `selected`. See Enabled Repositories Config below for details.
func (ActionsOrganizationPermissionsOutput) ToActionsOrganizationPermissionsOutput ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsOutput) ToActionsOrganizationPermissionsOutput() ActionsOrganizationPermissionsOutput
func (ActionsOrganizationPermissionsOutput) ToActionsOrganizationPermissionsOutputWithContext ¶ added in v4.7.0
func (o ActionsOrganizationPermissionsOutput) ToActionsOrganizationPermissionsOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsOutput
type ActionsOrganizationPermissionsState ¶ added in v4.7.0
type ActionsOrganizationPermissionsState struct { // The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `localOnly`, or `selected`. AllowedActions pulumi.StringPtrInput // Sets the actions that are allowed in an organization. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details. AllowedActionsConfig ActionsOrganizationPermissionsAllowedActionsConfigPtrInput // The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`. EnabledRepositories pulumi.StringPtrInput // Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when `enabledRepositories` = `selected`. See Enabled Repositories Config below for details. EnabledRepositoriesConfig ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrInput }
func (ActionsOrganizationPermissionsState) ElementType ¶ added in v4.7.0
func (ActionsOrganizationPermissionsState) ElementType() reflect.Type
type ActionsOrganizationSecret ¶
type ActionsOrganizationSecret struct { pulumi.CustomResourceState // Date of actionsSecret creation. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // Encrypted value of the secret using the Github public key in Base64 format. EncryptedValue pulumi.StringPtrOutput `pulumi:"encryptedValue"` // Plaintext value of the secret to be encrypted PlaintextValue pulumi.StringPtrOutput `pulumi:"plaintextValue"` // Name of the secret SecretName pulumi.StringOutput `pulumi:"secretName"` // An array of repository ids that can access the organization secret. SelectedRepositoryIds pulumi.IntArrayOutput `pulumi:"selectedRepositoryIds"` // Date of actionsSecret update. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` // Configures the access that repositories have to the organization secret. // Must be one of `all`, `private`, `selected`. `selectedRepositoryIds` is required if set to `selected`. Visibility pulumi.StringOutput `pulumi:"visibility"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewActionsOrganizationSecret(ctx, "exampleSecretActionsOrganizationSecret", &github.ActionsOrganizationSecretArgs{ SecretName: pulumi.String("example_secret_name"), Visibility: pulumi.String("private"), PlaintextValue: pulumi.Any(_var.Some_secret_string), }) if err != nil { return err } _, err = github.NewActionsOrganizationSecret(ctx, "exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", &github.ActionsOrganizationSecretArgs{ SecretName: pulumi.String("example_secret_name"), Visibility: pulumi.String("private"), EncryptedValue: pulumi.Any(_var.Some_encrypted_secret_string), }) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { repo, err := github.LookupRepository(ctx, &GetRepositoryArgs{ FullName: pulumi.StringRef("my-org/repo"), }, nil) if err != nil { return err } _, err = github.NewActionsOrganizationSecret(ctx, "exampleSecretActionsOrganizationSecret", &github.ActionsOrganizationSecretArgs{ SecretName: pulumi.String("example_secret_name"), Visibility: pulumi.String("selected"), PlaintextValue: pulumi.Any(_var.Some_secret_string), SelectedRepositoryIds: pulumi.IntArray{ pulumi.Int(repo.RepoId), }, }) if err != nil { return err } _, err = github.NewActionsOrganizationSecret(ctx, "exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", &github.ActionsOrganizationSecretArgs{ SecretName: pulumi.String("example_secret_name"), Visibility: pulumi.String("selected"), EncryptedValue: pulumi.Any(_var.Some_encrypted_secret_string), SelectedRepositoryIds: pulumi.IntArray{ pulumi.Int(repo.RepoId), }, }) if err != nil { return err } return nil }) }
```
## Import
This resource can be imported using an ID made up of the secret name ¶
```sh
$ pulumi import github:index/actionsOrganizationSecret:ActionsOrganizationSecret test_secret test_secret_name
```
NOTEthe implementation is limited in that it won't fetch the value of the `plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.
func GetActionsOrganizationSecret ¶
func GetActionsOrganizationSecret(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ActionsOrganizationSecretState, opts ...pulumi.ResourceOption) (*ActionsOrganizationSecret, error)
GetActionsOrganizationSecret gets an existing ActionsOrganizationSecret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewActionsOrganizationSecret ¶
func NewActionsOrganizationSecret(ctx *pulumi.Context, name string, args *ActionsOrganizationSecretArgs, opts ...pulumi.ResourceOption) (*ActionsOrganizationSecret, error)
NewActionsOrganizationSecret registers a new resource with the given unique name, arguments, and options.
func (*ActionsOrganizationSecret) ElementType ¶
func (*ActionsOrganizationSecret) ElementType() reflect.Type
func (*ActionsOrganizationSecret) ToActionsOrganizationSecretOutput ¶
func (i *ActionsOrganizationSecret) ToActionsOrganizationSecretOutput() ActionsOrganizationSecretOutput
func (*ActionsOrganizationSecret) ToActionsOrganizationSecretOutputWithContext ¶
func (i *ActionsOrganizationSecret) ToActionsOrganizationSecretOutputWithContext(ctx context.Context) ActionsOrganizationSecretOutput
type ActionsOrganizationSecretArgs ¶
type ActionsOrganizationSecretArgs struct { // Encrypted value of the secret using the Github public key in Base64 format. EncryptedValue pulumi.StringPtrInput // Plaintext value of the secret to be encrypted PlaintextValue pulumi.StringPtrInput // Name of the secret SecretName pulumi.StringInput // An array of repository ids that can access the organization secret. SelectedRepositoryIds pulumi.IntArrayInput // Configures the access that repositories have to the organization secret. // Must be one of `all`, `private`, `selected`. `selectedRepositoryIds` is required if set to `selected`. Visibility pulumi.StringInput }
The set of arguments for constructing a ActionsOrganizationSecret resource.
func (ActionsOrganizationSecretArgs) ElementType ¶
func (ActionsOrganizationSecretArgs) ElementType() reflect.Type
type ActionsOrganizationSecretArray ¶
type ActionsOrganizationSecretArray []ActionsOrganizationSecretInput
func (ActionsOrganizationSecretArray) ElementType ¶
func (ActionsOrganizationSecretArray) ElementType() reflect.Type
func (ActionsOrganizationSecretArray) ToActionsOrganizationSecretArrayOutput ¶
func (i ActionsOrganizationSecretArray) ToActionsOrganizationSecretArrayOutput() ActionsOrganizationSecretArrayOutput
func (ActionsOrganizationSecretArray) ToActionsOrganizationSecretArrayOutputWithContext ¶
func (i ActionsOrganizationSecretArray) ToActionsOrganizationSecretArrayOutputWithContext(ctx context.Context) ActionsOrganizationSecretArrayOutput
type ActionsOrganizationSecretArrayInput ¶
type ActionsOrganizationSecretArrayInput interface { pulumi.Input ToActionsOrganizationSecretArrayOutput() ActionsOrganizationSecretArrayOutput ToActionsOrganizationSecretArrayOutputWithContext(context.Context) ActionsOrganizationSecretArrayOutput }
ActionsOrganizationSecretArrayInput is an input type that accepts ActionsOrganizationSecretArray and ActionsOrganizationSecretArrayOutput values. You can construct a concrete instance of `ActionsOrganizationSecretArrayInput` via:
ActionsOrganizationSecretArray{ ActionsOrganizationSecretArgs{...} }
type ActionsOrganizationSecretArrayOutput ¶
type ActionsOrganizationSecretArrayOutput struct{ *pulumi.OutputState }
func (ActionsOrganizationSecretArrayOutput) ElementType ¶
func (ActionsOrganizationSecretArrayOutput) ElementType() reflect.Type
func (ActionsOrganizationSecretArrayOutput) Index ¶
func (o ActionsOrganizationSecretArrayOutput) Index(i pulumi.IntInput) ActionsOrganizationSecretOutput
func (ActionsOrganizationSecretArrayOutput) ToActionsOrganizationSecretArrayOutput ¶
func (o ActionsOrganizationSecretArrayOutput) ToActionsOrganizationSecretArrayOutput() ActionsOrganizationSecretArrayOutput
func (ActionsOrganizationSecretArrayOutput) ToActionsOrganizationSecretArrayOutputWithContext ¶
func (o ActionsOrganizationSecretArrayOutput) ToActionsOrganizationSecretArrayOutputWithContext(ctx context.Context) ActionsOrganizationSecretArrayOutput
type ActionsOrganizationSecretInput ¶
type ActionsOrganizationSecretInput interface { pulumi.Input ToActionsOrganizationSecretOutput() ActionsOrganizationSecretOutput ToActionsOrganizationSecretOutputWithContext(ctx context.Context) ActionsOrganizationSecretOutput }
type ActionsOrganizationSecretMap ¶
type ActionsOrganizationSecretMap map[string]ActionsOrganizationSecretInput
func (ActionsOrganizationSecretMap) ElementType ¶
func (ActionsOrganizationSecretMap) ElementType() reflect.Type
func (ActionsOrganizationSecretMap) ToActionsOrganizationSecretMapOutput ¶
func (i ActionsOrganizationSecretMap) ToActionsOrganizationSecretMapOutput() ActionsOrganizationSecretMapOutput
func (ActionsOrganizationSecretMap) ToActionsOrganizationSecretMapOutputWithContext ¶
func (i ActionsOrganizationSecretMap) ToActionsOrganizationSecretMapOutputWithContext(ctx context.Context) ActionsOrganizationSecretMapOutput
type ActionsOrganizationSecretMapInput ¶
type ActionsOrganizationSecretMapInput interface { pulumi.Input ToActionsOrganizationSecretMapOutput() ActionsOrganizationSecretMapOutput ToActionsOrganizationSecretMapOutputWithContext(context.Context) ActionsOrganizationSecretMapOutput }
ActionsOrganizationSecretMapInput is an input type that accepts ActionsOrganizationSecretMap and ActionsOrganizationSecretMapOutput values. You can construct a concrete instance of `ActionsOrganizationSecretMapInput` via:
ActionsOrganizationSecretMap{ "key": ActionsOrganizationSecretArgs{...} }
type ActionsOrganizationSecretMapOutput ¶
type ActionsOrganizationSecretMapOutput struct{ *pulumi.OutputState }
func (ActionsOrganizationSecretMapOutput) ElementType ¶
func (ActionsOrganizationSecretMapOutput) ElementType() reflect.Type
func (ActionsOrganizationSecretMapOutput) MapIndex ¶
func (o ActionsOrganizationSecretMapOutput) MapIndex(k pulumi.StringInput) ActionsOrganizationSecretOutput
func (ActionsOrganizationSecretMapOutput) ToActionsOrganizationSecretMapOutput ¶
func (o ActionsOrganizationSecretMapOutput) ToActionsOrganizationSecretMapOutput() ActionsOrganizationSecretMapOutput
func (ActionsOrganizationSecretMapOutput) ToActionsOrganizationSecretMapOutputWithContext ¶
func (o ActionsOrganizationSecretMapOutput) ToActionsOrganizationSecretMapOutputWithContext(ctx context.Context) ActionsOrganizationSecretMapOutput
type ActionsOrganizationSecretOutput ¶
type ActionsOrganizationSecretOutput struct{ *pulumi.OutputState }
func (ActionsOrganizationSecretOutput) CreatedAt ¶ added in v4.15.0
func (o ActionsOrganizationSecretOutput) CreatedAt() pulumi.StringOutput
Date of actionsSecret creation.
func (ActionsOrganizationSecretOutput) ElementType ¶
func (ActionsOrganizationSecretOutput) ElementType() reflect.Type
func (ActionsOrganizationSecretOutput) EncryptedValue ¶ added in v4.15.0
func (o ActionsOrganizationSecretOutput) EncryptedValue() pulumi.StringPtrOutput
Encrypted value of the secret using the Github public key in Base64 format.
func (ActionsOrganizationSecretOutput) PlaintextValue ¶ added in v4.15.0
func (o ActionsOrganizationSecretOutput) PlaintextValue() pulumi.StringPtrOutput
Plaintext value of the secret to be encrypted
func (ActionsOrganizationSecretOutput) SecretName ¶ added in v4.15.0
func (o ActionsOrganizationSecretOutput) SecretName() pulumi.StringOutput
Name of the secret
func (ActionsOrganizationSecretOutput) SelectedRepositoryIds ¶ added in v4.15.0
func (o ActionsOrganizationSecretOutput) SelectedRepositoryIds() pulumi.IntArrayOutput
An array of repository ids that can access the organization secret.
func (ActionsOrganizationSecretOutput) ToActionsOrganizationSecretOutput ¶
func (o ActionsOrganizationSecretOutput) ToActionsOrganizationSecretOutput() ActionsOrganizationSecretOutput
func (ActionsOrganizationSecretOutput) ToActionsOrganizationSecretOutputWithContext ¶
func (o ActionsOrganizationSecretOutput) ToActionsOrganizationSecretOutputWithContext(ctx context.Context) ActionsOrganizationSecretOutput
func (ActionsOrganizationSecretOutput) UpdatedAt ¶ added in v4.15.0
func (o ActionsOrganizationSecretOutput) UpdatedAt() pulumi.StringOutput
Date of actionsSecret update.
func (ActionsOrganizationSecretOutput) Visibility ¶ added in v4.15.0
func (o ActionsOrganizationSecretOutput) Visibility() pulumi.StringOutput
Configures the access that repositories have to the organization secret. Must be one of `all`, `private`, `selected`. `selectedRepositoryIds` is required if set to `selected`.
type ActionsOrganizationSecretRepositories ¶ added in v4.5.0
type ActionsOrganizationSecretRepositories struct { pulumi.CustomResourceState // Name of the existing secret SecretName pulumi.StringOutput `pulumi:"secretName"` // An array of repository ids that can access the organization secret. SelectedRepositoryIds pulumi.IntArrayOutput `pulumi:"selectedRepositoryIds"` }
This resource allows you to manage repository allow list for existing GitHub Actions secrets within your GitHub organization. You must have write access to an organization secret to use this resource.
This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { repo, err := github.LookupRepository(ctx, &GetRepositoryArgs{ FullName: pulumi.StringRef("my-org/repo"), }, nil) if err != nil { return err } _, err = github.NewActionsOrganizationSecretRepositories(ctx, "orgSecretRepos", &github.ActionsOrganizationSecretRepositoriesArgs{ SecretName: pulumi.String("existing_secret_name"), SelectedRepositoryIds: pulumi.IntArray{ pulumi.Int(repo.RepoId), }, }) if err != nil { return err } return nil }) }
```
## Import
This resource can be imported using an ID made up of the secret name ¶
```sh
$ pulumi import github:index/actionsOrganizationSecretRepositories:ActionsOrganizationSecretRepositories test_secret_repos test_secret_name
```
func GetActionsOrganizationSecretRepositories ¶ added in v4.5.0
func GetActionsOrganizationSecretRepositories(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ActionsOrganizationSecretRepositoriesState, opts ...pulumi.ResourceOption) (*ActionsOrganizationSecretRepositories, error)
GetActionsOrganizationSecretRepositories gets an existing ActionsOrganizationSecretRepositories resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewActionsOrganizationSecretRepositories ¶ added in v4.5.0
func NewActionsOrganizationSecretRepositories(ctx *pulumi.Context, name string, args *ActionsOrganizationSecretRepositoriesArgs, opts ...pulumi.ResourceOption) (*ActionsOrganizationSecretRepositories, error)
NewActionsOrganizationSecretRepositories registers a new resource with the given unique name, arguments, and options.
func (*ActionsOrganizationSecretRepositories) ElementType ¶ added in v4.5.0
func (*ActionsOrganizationSecretRepositories) ElementType() reflect.Type
func (*ActionsOrganizationSecretRepositories) ToActionsOrganizationSecretRepositoriesOutput ¶ added in v4.5.0
func (i *ActionsOrganizationSecretRepositories) ToActionsOrganizationSecretRepositoriesOutput() ActionsOrganizationSecretRepositoriesOutput
func (*ActionsOrganizationSecretRepositories) ToActionsOrganizationSecretRepositoriesOutputWithContext ¶ added in v4.5.0
func (i *ActionsOrganizationSecretRepositories) ToActionsOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesOutput
type ActionsOrganizationSecretRepositoriesArgs ¶ added in v4.5.0
type ActionsOrganizationSecretRepositoriesArgs struct { // Name of the existing secret SecretName pulumi.StringInput // An array of repository ids that can access the organization secret. SelectedRepositoryIds pulumi.IntArrayInput }
The set of arguments for constructing a ActionsOrganizationSecretRepositories resource.
func (ActionsOrganizationSecretRepositoriesArgs) ElementType ¶ added in v4.5.0
func (ActionsOrganizationSecretRepositoriesArgs) ElementType() reflect.Type
type ActionsOrganizationSecretRepositoriesArray ¶ added in v4.5.0
type ActionsOrganizationSecretRepositoriesArray []ActionsOrganizationSecretRepositoriesInput
func (ActionsOrganizationSecretRepositoriesArray) ElementType ¶ added in v4.5.0
func (ActionsOrganizationSecretRepositoriesArray) ElementType() reflect.Type
func (ActionsOrganizationSecretRepositoriesArray) ToActionsOrganizationSecretRepositoriesArrayOutput ¶ added in v4.5.0
func (i ActionsOrganizationSecretRepositoriesArray) ToActionsOrganizationSecretRepositoriesArrayOutput() ActionsOrganizationSecretRepositoriesArrayOutput
func (ActionsOrganizationSecretRepositoriesArray) ToActionsOrganizationSecretRepositoriesArrayOutputWithContext ¶ added in v4.5.0
func (i ActionsOrganizationSecretRepositoriesArray) ToActionsOrganizationSecretRepositoriesArrayOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesArrayOutput
type ActionsOrganizationSecretRepositoriesArrayInput ¶ added in v4.5.0
type ActionsOrganizationSecretRepositoriesArrayInput interface { pulumi.Input ToActionsOrganizationSecretRepositoriesArrayOutput() ActionsOrganizationSecretRepositoriesArrayOutput ToActionsOrganizationSecretRepositoriesArrayOutputWithContext(context.Context) ActionsOrganizationSecretRepositoriesArrayOutput }
ActionsOrganizationSecretRepositoriesArrayInput is an input type that accepts ActionsOrganizationSecretRepositoriesArray and ActionsOrganizationSecretRepositoriesArrayOutput values. You can construct a concrete instance of `ActionsOrganizationSecretRepositoriesArrayInput` via:
ActionsOrganizationSecretRepositoriesArray{ ActionsOrganizationSecretRepositoriesArgs{...} }
type ActionsOrganizationSecretRepositoriesArrayOutput ¶ added in v4.5.0
type ActionsOrganizationSecretRepositoriesArrayOutput struct{ *pulumi.OutputState }
func (ActionsOrganizationSecretRepositoriesArrayOutput) ElementType ¶ added in v4.5.0
func (ActionsOrganizationSecretRepositoriesArrayOutput) ElementType() reflect.Type
func (ActionsOrganizationSecretRepositoriesArrayOutput) ToActionsOrganizationSecretRepositoriesArrayOutput ¶ added in v4.5.0
func (o ActionsOrganizationSecretRepositoriesArrayOutput) ToActionsOrganizationSecretRepositoriesArrayOutput() ActionsOrganizationSecretRepositoriesArrayOutput
func (ActionsOrganizationSecretRepositoriesArrayOutput) ToActionsOrganizationSecretRepositoriesArrayOutputWithContext ¶ added in v4.5.0
func (o ActionsOrganizationSecretRepositoriesArrayOutput) ToActionsOrganizationSecretRepositoriesArrayOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesArrayOutput
type ActionsOrganizationSecretRepositoriesInput ¶ added in v4.5.0
type ActionsOrganizationSecretRepositoriesInput interface { pulumi.Input ToActionsOrganizationSecretRepositoriesOutput() ActionsOrganizationSecretRepositoriesOutput ToActionsOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesOutput }
type ActionsOrganizationSecretRepositoriesMap ¶ added in v4.5.0
type ActionsOrganizationSecretRepositoriesMap map[string]ActionsOrganizationSecretRepositoriesInput
func (ActionsOrganizationSecretRepositoriesMap) ElementType ¶ added in v4.5.0
func (ActionsOrganizationSecretRepositoriesMap) ElementType() reflect.Type
func (ActionsOrganizationSecretRepositoriesMap) ToActionsOrganizationSecretRepositoriesMapOutput ¶ added in v4.5.0
func (i ActionsOrganizationSecretRepositoriesMap) ToActionsOrganizationSecretRepositoriesMapOutput() ActionsOrganizationSecretRepositoriesMapOutput
func (ActionsOrganizationSecretRepositoriesMap) ToActionsOrganizationSecretRepositoriesMapOutputWithContext ¶ added in v4.5.0
func (i ActionsOrganizationSecretRepositoriesMap) ToActionsOrganizationSecretRepositoriesMapOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesMapOutput
type ActionsOrganizationSecretRepositoriesMapInput ¶ added in v4.5.0
type ActionsOrganizationSecretRepositoriesMapInput interface { pulumi.Input ToActionsOrganizationSecretRepositoriesMapOutput() ActionsOrganizationSecretRepositoriesMapOutput ToActionsOrganizationSecretRepositoriesMapOutputWithContext(context.Context) ActionsOrganizationSecretRepositoriesMapOutput }
ActionsOrganizationSecretRepositoriesMapInput is an input type that accepts ActionsOrganizationSecretRepositoriesMap and ActionsOrganizationSecretRepositoriesMapOutput values. You can construct a concrete instance of `ActionsOrganizationSecretRepositoriesMapInput` via:
ActionsOrganizationSecretRepositoriesMap{ "key": ActionsOrganizationSecretRepositoriesArgs{...} }
type ActionsOrganizationSecretRepositoriesMapOutput ¶ added in v4.5.0
type ActionsOrganizationSecretRepositoriesMapOutput struct{ *pulumi.OutputState }
func (ActionsOrganizationSecretRepositoriesMapOutput) ElementType ¶ added in v4.5.0
func (ActionsOrganizationSecretRepositoriesMapOutput) ElementType() reflect.Type
func (ActionsOrganizationSecretRepositoriesMapOutput) ToActionsOrganizationSecretRepositoriesMapOutput ¶ added in v4.5.0
func (o ActionsOrganizationSecretRepositoriesMapOutput) ToActionsOrganizationSecretRepositoriesMapOutput() ActionsOrganizationSecretRepositoriesMapOutput
func (ActionsOrganizationSecretRepositoriesMapOutput) ToActionsOrganizationSecretRepositoriesMapOutputWithContext ¶ added in v4.5.0
func (o ActionsOrganizationSecretRepositoriesMapOutput) ToActionsOrganizationSecretRepositoriesMapOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesMapOutput
type ActionsOrganizationSecretRepositoriesOutput ¶ added in v4.5.0
type ActionsOrganizationSecretRepositoriesOutput struct{ *pulumi.OutputState }
func (ActionsOrganizationSecretRepositoriesOutput) ElementType ¶ added in v4.5.0
func (ActionsOrganizationSecretRepositoriesOutput) ElementType() reflect.Type
func (ActionsOrganizationSecretRepositoriesOutput) SecretName ¶ added in v4.15.0
func (o ActionsOrganizationSecretRepositoriesOutput) SecretName() pulumi.StringOutput
Name of the existing secret
func (ActionsOrganizationSecretRepositoriesOutput) SelectedRepositoryIds ¶ added in v4.15.0
func (o ActionsOrganizationSecretRepositoriesOutput) SelectedRepositoryIds() pulumi.IntArrayOutput
An array of repository ids that can access the organization secret.
func (ActionsOrganizationSecretRepositoriesOutput) ToActionsOrganizationSecretRepositoriesOutput ¶ added in v4.5.0
func (o ActionsOrganizationSecretRepositoriesOutput) ToActionsOrganizationSecretRepositoriesOutput() ActionsOrganizationSecretRepositoriesOutput
func (ActionsOrganizationSecretRepositoriesOutput) ToActionsOrganizationSecretRepositoriesOutputWithContext ¶ added in v4.5.0
func (o ActionsOrganizationSecretRepositoriesOutput) ToActionsOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesOutput
type ActionsOrganizationSecretRepositoriesState ¶ added in v4.5.0
type ActionsOrganizationSecretRepositoriesState struct { // Name of the existing secret SecretName pulumi.StringPtrInput // An array of repository ids that can access the organization secret. SelectedRepositoryIds pulumi.IntArrayInput }
func (ActionsOrganizationSecretRepositoriesState) ElementType ¶ added in v4.5.0
func (ActionsOrganizationSecretRepositoriesState) ElementType() reflect.Type
type ActionsOrganizationSecretState ¶
type ActionsOrganizationSecretState struct { // Date of actionsSecret creation. CreatedAt pulumi.StringPtrInput // Encrypted value of the secret using the Github public key in Base64 format. EncryptedValue pulumi.StringPtrInput // Plaintext value of the secret to be encrypted PlaintextValue pulumi.StringPtrInput // Name of the secret SecretName pulumi.StringPtrInput // An array of repository ids that can access the organization secret. SelectedRepositoryIds pulumi.IntArrayInput // Date of actionsSecret update. UpdatedAt pulumi.StringPtrInput // Configures the access that repositories have to the organization secret. // Must be one of `all`, `private`, `selected`. `selectedRepositoryIds` is required if set to `selected`. Visibility pulumi.StringPtrInput }
func (ActionsOrganizationSecretState) ElementType ¶
func (ActionsOrganizationSecretState) ElementType() reflect.Type
type ActionsRunnerGroup ¶ added in v4.5.0
type ActionsRunnerGroup struct { pulumi.CustomResourceState // Whether public repositories can be added to the runner group AllowsPublicRepositories pulumi.BoolOutput `pulumi:"allowsPublicRepositories"` // Whether this is the default runner group Default pulumi.BoolOutput `pulumi:"default"` // An etag representing the runner group object Etag pulumi.StringOutput `pulumi:"etag"` // Whether the runner group is inherited from the enterprise level Inherited pulumi.BoolOutput `pulumi:"inherited"` // Name of the runner group Name pulumi.StringOutput `pulumi:"name"` // The GitHub API URL for the runner group's runners RunnersUrl pulumi.StringOutput `pulumi:"runnersUrl"` // Github API URL for the runner group's repositories SelectedRepositoriesUrl pulumi.StringOutput `pulumi:"selectedRepositoriesUrl"` // IDs of the repositories which should be added to the runner group SelectedRepositoryIds pulumi.IntArrayOutput `pulumi:"selectedRepositoryIds"` // Visibility of a runner group. Whether the runner group can include `all`, `selected`, or `private` repositories. A value of `private` is not currently supported due to limitations in the GitHub API. Visibility pulumi.StringOutput `pulumi:"visibility"` }
This resource allows you to create and manage GitHub Actions runner groups within your GitHub enterprise organizations. You must have admin access to an organization to use this resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleRepository, err := github.NewRepository(ctx, "exampleRepository", nil) if err != nil { return err } _, err = github.NewActionsRunnerGroup(ctx, "exampleActionsRunnerGroup", &github.ActionsRunnerGroupArgs{ Visibility: pulumi.String("selected"), SelectedRepositoryIds: pulumi.IntArray{ exampleRepository.RepoId, }, }) if err != nil { return err } return nil }) }
```
## Import
This resource can be imported using the ID of the runner group ¶
```sh
$ pulumi import github:index/actionsRunnerGroup:ActionsRunnerGroup test 7
```
func GetActionsRunnerGroup ¶ added in v4.5.0
func GetActionsRunnerGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ActionsRunnerGroupState, opts ...pulumi.ResourceOption) (*ActionsRunnerGroup, error)
GetActionsRunnerGroup gets an existing ActionsRunnerGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewActionsRunnerGroup ¶ added in v4.5.0
func NewActionsRunnerGroup(ctx *pulumi.Context, name string, args *ActionsRunnerGroupArgs, opts ...pulumi.ResourceOption) (*ActionsRunnerGroup, error)
NewActionsRunnerGroup registers a new resource with the given unique name, arguments, and options.
func (*ActionsRunnerGroup) ElementType ¶ added in v4.5.0
func (*ActionsRunnerGroup) ElementType() reflect.Type
func (*ActionsRunnerGroup) ToActionsRunnerGroupOutput ¶ added in v4.5.0
func (i *ActionsRunnerGroup) ToActionsRunnerGroupOutput() ActionsRunnerGroupOutput
func (*ActionsRunnerGroup) ToActionsRunnerGroupOutputWithContext ¶ added in v4.5.0
func (i *ActionsRunnerGroup) ToActionsRunnerGroupOutputWithContext(ctx context.Context) ActionsRunnerGroupOutput
type ActionsRunnerGroupArgs ¶ added in v4.5.0
type ActionsRunnerGroupArgs struct { // Name of the runner group Name pulumi.StringPtrInput // IDs of the repositories which should be added to the runner group SelectedRepositoryIds pulumi.IntArrayInput // Visibility of a runner group. Whether the runner group can include `all`, `selected`, or `private` repositories. A value of `private` is not currently supported due to limitations in the GitHub API. Visibility pulumi.StringInput }
The set of arguments for constructing a ActionsRunnerGroup resource.
func (ActionsRunnerGroupArgs) ElementType ¶ added in v4.5.0
func (ActionsRunnerGroupArgs) ElementType() reflect.Type
type ActionsRunnerGroupArray ¶ added in v4.5.0
type ActionsRunnerGroupArray []ActionsRunnerGroupInput
func (ActionsRunnerGroupArray) ElementType ¶ added in v4.5.0
func (ActionsRunnerGroupArray) ElementType() reflect.Type
func (ActionsRunnerGroupArray) ToActionsRunnerGroupArrayOutput ¶ added in v4.5.0
func (i ActionsRunnerGroupArray) ToActionsRunnerGroupArrayOutput() ActionsRunnerGroupArrayOutput
func (ActionsRunnerGroupArray) ToActionsRunnerGroupArrayOutputWithContext ¶ added in v4.5.0
func (i ActionsRunnerGroupArray) ToActionsRunnerGroupArrayOutputWithContext(ctx context.Context) ActionsRunnerGroupArrayOutput
type ActionsRunnerGroupArrayInput ¶ added in v4.5.0
type ActionsRunnerGroupArrayInput interface { pulumi.Input ToActionsRunnerGroupArrayOutput() ActionsRunnerGroupArrayOutput ToActionsRunnerGroupArrayOutputWithContext(context.Context) ActionsRunnerGroupArrayOutput }
ActionsRunnerGroupArrayInput is an input type that accepts ActionsRunnerGroupArray and ActionsRunnerGroupArrayOutput values. You can construct a concrete instance of `ActionsRunnerGroupArrayInput` via:
ActionsRunnerGroupArray{ ActionsRunnerGroupArgs{...} }
type ActionsRunnerGroupArrayOutput ¶ added in v4.5.0
type ActionsRunnerGroupArrayOutput struct{ *pulumi.OutputState }
func (ActionsRunnerGroupArrayOutput) ElementType ¶ added in v4.5.0
func (ActionsRunnerGroupArrayOutput) ElementType() reflect.Type
func (ActionsRunnerGroupArrayOutput) Index ¶ added in v4.5.0
func (o ActionsRunnerGroupArrayOutput) Index(i pulumi.IntInput) ActionsRunnerGroupOutput
func (ActionsRunnerGroupArrayOutput) ToActionsRunnerGroupArrayOutput ¶ added in v4.5.0
func (o ActionsRunnerGroupArrayOutput) ToActionsRunnerGroupArrayOutput() ActionsRunnerGroupArrayOutput
func (ActionsRunnerGroupArrayOutput) ToActionsRunnerGroupArrayOutputWithContext ¶ added in v4.5.0
func (o ActionsRunnerGroupArrayOutput) ToActionsRunnerGroupArrayOutputWithContext(ctx context.Context) ActionsRunnerGroupArrayOutput
type ActionsRunnerGroupInput ¶ added in v4.5.0
type ActionsRunnerGroupInput interface { pulumi.Input ToActionsRunnerGroupOutput() ActionsRunnerGroupOutput ToActionsRunnerGroupOutputWithContext(ctx context.Context) ActionsRunnerGroupOutput }
type ActionsRunnerGroupMap ¶ added in v4.5.0
type ActionsRunnerGroupMap map[string]ActionsRunnerGroupInput
func (ActionsRunnerGroupMap) ElementType ¶ added in v4.5.0
func (ActionsRunnerGroupMap) ElementType() reflect.Type
func (ActionsRunnerGroupMap) ToActionsRunnerGroupMapOutput ¶ added in v4.5.0
func (i ActionsRunnerGroupMap) ToActionsRunnerGroupMapOutput() ActionsRunnerGroupMapOutput
func (ActionsRunnerGroupMap) ToActionsRunnerGroupMapOutputWithContext ¶ added in v4.5.0
func (i ActionsRunnerGroupMap) ToActionsRunnerGroupMapOutputWithContext(ctx context.Context) ActionsRunnerGroupMapOutput
type ActionsRunnerGroupMapInput ¶ added in v4.5.0
type ActionsRunnerGroupMapInput interface { pulumi.Input ToActionsRunnerGroupMapOutput() ActionsRunnerGroupMapOutput ToActionsRunnerGroupMapOutputWithContext(context.Context) ActionsRunnerGroupMapOutput }
ActionsRunnerGroupMapInput is an input type that accepts ActionsRunnerGroupMap and ActionsRunnerGroupMapOutput values. You can construct a concrete instance of `ActionsRunnerGroupMapInput` via:
ActionsRunnerGroupMap{ "key": ActionsRunnerGroupArgs{...} }
type ActionsRunnerGroupMapOutput ¶ added in v4.5.0
type ActionsRunnerGroupMapOutput struct{ *pulumi.OutputState }
func (ActionsRunnerGroupMapOutput) ElementType ¶ added in v4.5.0
func (ActionsRunnerGroupMapOutput) ElementType() reflect.Type
func (ActionsRunnerGroupMapOutput) MapIndex ¶ added in v4.5.0
func (o ActionsRunnerGroupMapOutput) MapIndex(k pulumi.StringInput) ActionsRunnerGroupOutput
func (ActionsRunnerGroupMapOutput) ToActionsRunnerGroupMapOutput ¶ added in v4.5.0
func (o ActionsRunnerGroupMapOutput) ToActionsRunnerGroupMapOutput() ActionsRunnerGroupMapOutput
func (ActionsRunnerGroupMapOutput) ToActionsRunnerGroupMapOutputWithContext ¶ added in v4.5.0
func (o ActionsRunnerGroupMapOutput) ToActionsRunnerGroupMapOutputWithContext(ctx context.Context) ActionsRunnerGroupMapOutput
type ActionsRunnerGroupOutput ¶ added in v4.5.0
type ActionsRunnerGroupOutput struct{ *pulumi.OutputState }
func (ActionsRunnerGroupOutput) AllowsPublicRepositories ¶ added in v4.15.0
func (o ActionsRunnerGroupOutput) AllowsPublicRepositories() pulumi.BoolOutput
Whether public repositories can be added to the runner group
func (ActionsRunnerGroupOutput) Default ¶ added in v4.15.0
func (o ActionsRunnerGroupOutput) Default() pulumi.BoolOutput
Whether this is the default runner group
func (ActionsRunnerGroupOutput) ElementType ¶ added in v4.5.0
func (ActionsRunnerGroupOutput) ElementType() reflect.Type
func (ActionsRunnerGroupOutput) Etag ¶ added in v4.15.0
func (o ActionsRunnerGroupOutput) Etag() pulumi.StringOutput
An etag representing the runner group object
func (ActionsRunnerGroupOutput) Inherited ¶ added in v4.15.0
func (o ActionsRunnerGroupOutput) Inherited() pulumi.BoolOutput
Whether the runner group is inherited from the enterprise level
func (ActionsRunnerGroupOutput) Name ¶ added in v4.15.0
func (o ActionsRunnerGroupOutput) Name() pulumi.StringOutput
Name of the runner group
func (ActionsRunnerGroupOutput) RunnersUrl ¶ added in v4.15.0
func (o ActionsRunnerGroupOutput) RunnersUrl() pulumi.StringOutput
The GitHub API URL for the runner group's runners
func (ActionsRunnerGroupOutput) SelectedRepositoriesUrl ¶ added in v4.15.0
func (o ActionsRunnerGroupOutput) SelectedRepositoriesUrl() pulumi.StringOutput
Github API URL for the runner group's repositories
func (ActionsRunnerGroupOutput) SelectedRepositoryIds ¶ added in v4.15.0
func (o ActionsRunnerGroupOutput) SelectedRepositoryIds() pulumi.IntArrayOutput
IDs of the repositories which should be added to the runner group
func (ActionsRunnerGroupOutput) ToActionsRunnerGroupOutput ¶ added in v4.5.0
func (o ActionsRunnerGroupOutput) ToActionsRunnerGroupOutput() ActionsRunnerGroupOutput
func (ActionsRunnerGroupOutput) ToActionsRunnerGroupOutputWithContext ¶ added in v4.5.0
func (o ActionsRunnerGroupOutput) ToActionsRunnerGroupOutputWithContext(ctx context.Context) ActionsRunnerGroupOutput
func (ActionsRunnerGroupOutput) Visibility ¶ added in v4.15.0
func (o ActionsRunnerGroupOutput) Visibility() pulumi.StringOutput
Visibility of a runner group. Whether the runner group can include `all`, `selected`, or `private` repositories. A value of `private` is not currently supported due to limitations in the GitHub API.
type ActionsRunnerGroupState ¶ added in v4.5.0
type ActionsRunnerGroupState struct { // Whether public repositories can be added to the runner group AllowsPublicRepositories pulumi.BoolPtrInput // Whether this is the default runner group Default pulumi.BoolPtrInput // An etag representing the runner group object Etag pulumi.StringPtrInput // Whether the runner group is inherited from the enterprise level Inherited pulumi.BoolPtrInput // Name of the runner group Name pulumi.StringPtrInput // The GitHub API URL for the runner group's runners RunnersUrl pulumi.StringPtrInput // Github API URL for the runner group's repositories SelectedRepositoriesUrl pulumi.StringPtrInput // IDs of the repositories which should be added to the runner group SelectedRepositoryIds pulumi.IntArrayInput // Visibility of a runner group. Whether the runner group can include `all`, `selected`, or `private` repositories. A value of `private` is not currently supported due to limitations in the GitHub API. Visibility pulumi.StringPtrInput }
func (ActionsRunnerGroupState) ElementType ¶ added in v4.5.0
func (ActionsRunnerGroupState) ElementType() reflect.Type
type ActionsSecret ¶
type ActionsSecret struct { pulumi.CustomResourceState // Date of actionsSecret creation. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // Encrypted value of the secret using the Github public key in Base64 format. EncryptedValue pulumi.StringPtrOutput `pulumi:"encryptedValue"` // Plaintext value of the secret to be encrypted PlaintextValue pulumi.StringPtrOutput `pulumi:"plaintextValue"` // Name of the repository Repository pulumi.StringOutput `pulumi:"repository"` // Name of the secret SecretName pulumi.StringOutput `pulumi:"secretName"` // Date of actionsSecret update. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.GetActionsPublicKey(ctx, &GetActionsPublicKeyArgs{ Repository: "example_repository", }, nil) if err != nil { return err } _, err = github.NewActionsSecret(ctx, "exampleSecretActionsSecret", &github.ActionsSecretArgs{ Repository: pulumi.String("example_repository"), SecretName: pulumi.String("example_secret_name"), PlaintextValue: pulumi.Any(_var.Some_secret_string), }) if err != nil { return err } _, err = github.NewActionsSecret(ctx, "exampleSecretIndex/actionsSecretActionsSecret", &github.ActionsSecretArgs{ Repository: pulumi.String("example_repository"), SecretName: pulumi.String("example_secret_name"), EncryptedValue: pulumi.Any(_var.Some_encrypted_secret_string), }) if err != nil { return err } return nil }) }
```
func GetActionsSecret ¶
func GetActionsSecret(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ActionsSecretState, opts ...pulumi.ResourceOption) (*ActionsSecret, error)
GetActionsSecret gets an existing ActionsSecret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewActionsSecret ¶
func NewActionsSecret(ctx *pulumi.Context, name string, args *ActionsSecretArgs, opts ...pulumi.ResourceOption) (*ActionsSecret, error)
NewActionsSecret registers a new resource with the given unique name, arguments, and options.
func (*ActionsSecret) ElementType ¶
func (*ActionsSecret) ElementType() reflect.Type
func (*ActionsSecret) ToActionsSecretOutput ¶
func (i *ActionsSecret) ToActionsSecretOutput() ActionsSecretOutput
func (*ActionsSecret) ToActionsSecretOutputWithContext ¶
func (i *ActionsSecret) ToActionsSecretOutputWithContext(ctx context.Context) ActionsSecretOutput
type ActionsSecretArgs ¶
type ActionsSecretArgs struct { // Encrypted value of the secret using the Github public key in Base64 format. EncryptedValue pulumi.StringPtrInput // Plaintext value of the secret to be encrypted PlaintextValue pulumi.StringPtrInput // Name of the repository Repository pulumi.StringInput // Name of the secret SecretName pulumi.StringInput }
The set of arguments for constructing a ActionsSecret resource.
func (ActionsSecretArgs) ElementType ¶
func (ActionsSecretArgs) ElementType() reflect.Type
type ActionsSecretArray ¶
type ActionsSecretArray []ActionsSecretInput
func (ActionsSecretArray) ElementType ¶
func (ActionsSecretArray) ElementType() reflect.Type
func (ActionsSecretArray) ToActionsSecretArrayOutput ¶
func (i ActionsSecretArray) ToActionsSecretArrayOutput() ActionsSecretArrayOutput
func (ActionsSecretArray) ToActionsSecretArrayOutputWithContext ¶
func (i ActionsSecretArray) ToActionsSecretArrayOutputWithContext(ctx context.Context) ActionsSecretArrayOutput
type ActionsSecretArrayInput ¶
type ActionsSecretArrayInput interface { pulumi.Input ToActionsSecretArrayOutput() ActionsSecretArrayOutput ToActionsSecretArrayOutputWithContext(context.Context) ActionsSecretArrayOutput }
ActionsSecretArrayInput is an input type that accepts ActionsSecretArray and ActionsSecretArrayOutput values. You can construct a concrete instance of `ActionsSecretArrayInput` via:
ActionsSecretArray{ ActionsSecretArgs{...} }
type ActionsSecretArrayOutput ¶
type ActionsSecretArrayOutput struct{ *pulumi.OutputState }
func (ActionsSecretArrayOutput) ElementType ¶
func (ActionsSecretArrayOutput) ElementType() reflect.Type
func (ActionsSecretArrayOutput) Index ¶
func (o ActionsSecretArrayOutput) Index(i pulumi.IntInput) ActionsSecretOutput
func (ActionsSecretArrayOutput) ToActionsSecretArrayOutput ¶
func (o ActionsSecretArrayOutput) ToActionsSecretArrayOutput() ActionsSecretArrayOutput
func (ActionsSecretArrayOutput) ToActionsSecretArrayOutputWithContext ¶
func (o ActionsSecretArrayOutput) ToActionsSecretArrayOutputWithContext(ctx context.Context) ActionsSecretArrayOutput
type ActionsSecretInput ¶
type ActionsSecretInput interface { pulumi.Input ToActionsSecretOutput() ActionsSecretOutput ToActionsSecretOutputWithContext(ctx context.Context) ActionsSecretOutput }
type ActionsSecretMap ¶
type ActionsSecretMap map[string]ActionsSecretInput
func (ActionsSecretMap) ElementType ¶
func (ActionsSecretMap) ElementType() reflect.Type
func (ActionsSecretMap) ToActionsSecretMapOutput ¶
func (i ActionsSecretMap) ToActionsSecretMapOutput() ActionsSecretMapOutput
func (ActionsSecretMap) ToActionsSecretMapOutputWithContext ¶
func (i ActionsSecretMap) ToActionsSecretMapOutputWithContext(ctx context.Context) ActionsSecretMapOutput
type ActionsSecretMapInput ¶
type ActionsSecretMapInput interface { pulumi.Input ToActionsSecretMapOutput() ActionsSecretMapOutput ToActionsSecretMapOutputWithContext(context.Context) ActionsSecretMapOutput }
ActionsSecretMapInput is an input type that accepts ActionsSecretMap and ActionsSecretMapOutput values. You can construct a concrete instance of `ActionsSecretMapInput` via:
ActionsSecretMap{ "key": ActionsSecretArgs{...} }
type ActionsSecretMapOutput ¶
type ActionsSecretMapOutput struct{ *pulumi.OutputState }
func (ActionsSecretMapOutput) ElementType ¶
func (ActionsSecretMapOutput) ElementType() reflect.Type
func (ActionsSecretMapOutput) MapIndex ¶
func (o ActionsSecretMapOutput) MapIndex(k pulumi.StringInput) ActionsSecretOutput
func (ActionsSecretMapOutput) ToActionsSecretMapOutput ¶
func (o ActionsSecretMapOutput) ToActionsSecretMapOutput() ActionsSecretMapOutput
func (ActionsSecretMapOutput) ToActionsSecretMapOutputWithContext ¶
func (o ActionsSecretMapOutput) ToActionsSecretMapOutputWithContext(ctx context.Context) ActionsSecretMapOutput
type ActionsSecretOutput ¶
type ActionsSecretOutput struct{ *pulumi.OutputState }
func (ActionsSecretOutput) CreatedAt ¶ added in v4.15.0
func (o ActionsSecretOutput) CreatedAt() pulumi.StringOutput
Date of actionsSecret creation.
func (ActionsSecretOutput) ElementType ¶
func (ActionsSecretOutput) ElementType() reflect.Type
func (ActionsSecretOutput) EncryptedValue ¶ added in v4.15.0
func (o ActionsSecretOutput) EncryptedValue() pulumi.StringPtrOutput
Encrypted value of the secret using the Github public key in Base64 format.
func (ActionsSecretOutput) PlaintextValue ¶ added in v4.15.0
func (o ActionsSecretOutput) PlaintextValue() pulumi.StringPtrOutput
Plaintext value of the secret to be encrypted
func (ActionsSecretOutput) Repository ¶ added in v4.15.0
func (o ActionsSecretOutput) Repository() pulumi.StringOutput
Name of the repository
func (ActionsSecretOutput) SecretName ¶ added in v4.15.0
func (o ActionsSecretOutput) SecretName() pulumi.StringOutput
Name of the secret
func (ActionsSecretOutput) ToActionsSecretOutput ¶
func (o ActionsSecretOutput) ToActionsSecretOutput() ActionsSecretOutput
func (ActionsSecretOutput) ToActionsSecretOutputWithContext ¶
func (o ActionsSecretOutput) ToActionsSecretOutputWithContext(ctx context.Context) ActionsSecretOutput
func (ActionsSecretOutput) UpdatedAt ¶ added in v4.15.0
func (o ActionsSecretOutput) UpdatedAt() pulumi.StringOutput
Date of actionsSecret update.
type ActionsSecretState ¶
type ActionsSecretState struct { // Date of actionsSecret creation. CreatedAt pulumi.StringPtrInput // Encrypted value of the secret using the Github public key in Base64 format. EncryptedValue pulumi.StringPtrInput // Plaintext value of the secret to be encrypted PlaintextValue pulumi.StringPtrInput // Name of the repository Repository pulumi.StringPtrInput // Name of the secret SecretName pulumi.StringPtrInput // Date of actionsSecret update. UpdatedAt pulumi.StringPtrInput }
func (ActionsSecretState) ElementType ¶
func (ActionsSecretState) ElementType() reflect.Type
type AppInstallationRepository ¶
type AppInstallationRepository struct { pulumi.CustomResourceState // The GitHub app installation id. InstallationId pulumi.StringOutput `pulumi:"installationId"` RepoId pulumi.IntOutput `pulumi:"repoId"` // The repository to install the app on. Repository pulumi.StringOutput `pulumi:"repository"` }
> **Note**: This resource is not compatible with the GitHub App Installation authentication method.
This resource manages relationships between app installations and repositories in your GitHub organization.
Creating this resource installs a particular app on a particular repository.
The app installation and the repository must both belong to the same organization on GitHub. Note: you can review your organization's installations by the following the instructions at this [link](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { someRepo, err := github.NewRepository(ctx, "someRepo", nil) if err != nil { return err } _, err = github.NewAppInstallationRepository(ctx, "someAppRepo", &github.AppInstallationRepositoryArgs{ InstallationId: pulumi.String("1234567"), Repository: someRepo.Name, }) if err != nil { return err } return nil }) }
```
## Import
GitHub App Installation Repository can be imported using an ID made up of `installation_id:repository`, e.g.
```sh
$ pulumi import github:index/appInstallationRepository:AppInstallationRepository terraform_repo 1234567:terraform
```
func GetAppInstallationRepository ¶
func GetAppInstallationRepository(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AppInstallationRepositoryState, opts ...pulumi.ResourceOption) (*AppInstallationRepository, error)
GetAppInstallationRepository gets an existing AppInstallationRepository resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAppInstallationRepository ¶
func NewAppInstallationRepository(ctx *pulumi.Context, name string, args *AppInstallationRepositoryArgs, opts ...pulumi.ResourceOption) (*AppInstallationRepository, error)
NewAppInstallationRepository registers a new resource with the given unique name, arguments, and options.
func (*AppInstallationRepository) ElementType ¶
func (*AppInstallationRepository) ElementType() reflect.Type
func (*AppInstallationRepository) ToAppInstallationRepositoryOutput ¶
func (i *AppInstallationRepository) ToAppInstallationRepositoryOutput() AppInstallationRepositoryOutput
func (*AppInstallationRepository) ToAppInstallationRepositoryOutputWithContext ¶
func (i *AppInstallationRepository) ToAppInstallationRepositoryOutputWithContext(ctx context.Context) AppInstallationRepositoryOutput
type AppInstallationRepositoryArgs ¶
type AppInstallationRepositoryArgs struct { // The GitHub app installation id. InstallationId pulumi.StringInput // The repository to install the app on. Repository pulumi.StringInput }
The set of arguments for constructing a AppInstallationRepository resource.
func (AppInstallationRepositoryArgs) ElementType ¶
func (AppInstallationRepositoryArgs) ElementType() reflect.Type
type AppInstallationRepositoryArray ¶
type AppInstallationRepositoryArray []AppInstallationRepositoryInput
func (AppInstallationRepositoryArray) ElementType ¶
func (AppInstallationRepositoryArray) ElementType() reflect.Type
func (AppInstallationRepositoryArray) ToAppInstallationRepositoryArrayOutput ¶
func (i AppInstallationRepositoryArray) ToAppInstallationRepositoryArrayOutput() AppInstallationRepositoryArrayOutput
func (AppInstallationRepositoryArray) ToAppInstallationRepositoryArrayOutputWithContext ¶
func (i AppInstallationRepositoryArray) ToAppInstallationRepositoryArrayOutputWithContext(ctx context.Context) AppInstallationRepositoryArrayOutput
type AppInstallationRepositoryArrayInput ¶
type AppInstallationRepositoryArrayInput interface { pulumi.Input ToAppInstallationRepositoryArrayOutput() AppInstallationRepositoryArrayOutput ToAppInstallationRepositoryArrayOutputWithContext(context.Context) AppInstallationRepositoryArrayOutput }
AppInstallationRepositoryArrayInput is an input type that accepts AppInstallationRepositoryArray and AppInstallationRepositoryArrayOutput values. You can construct a concrete instance of `AppInstallationRepositoryArrayInput` via:
AppInstallationRepositoryArray{ AppInstallationRepositoryArgs{...} }
type AppInstallationRepositoryArrayOutput ¶
type AppInstallationRepositoryArrayOutput struct{ *pulumi.OutputState }
func (AppInstallationRepositoryArrayOutput) ElementType ¶
func (AppInstallationRepositoryArrayOutput) ElementType() reflect.Type
func (AppInstallationRepositoryArrayOutput) Index ¶
func (o AppInstallationRepositoryArrayOutput) Index(i pulumi.IntInput) AppInstallationRepositoryOutput
func (AppInstallationRepositoryArrayOutput) ToAppInstallationRepositoryArrayOutput ¶
func (o AppInstallationRepositoryArrayOutput) ToAppInstallationRepositoryArrayOutput() AppInstallationRepositoryArrayOutput
func (AppInstallationRepositoryArrayOutput) ToAppInstallationRepositoryArrayOutputWithContext ¶
func (o AppInstallationRepositoryArrayOutput) ToAppInstallationRepositoryArrayOutputWithContext(ctx context.Context) AppInstallationRepositoryArrayOutput
type AppInstallationRepositoryInput ¶
type AppInstallationRepositoryInput interface { pulumi.Input ToAppInstallationRepositoryOutput() AppInstallationRepositoryOutput ToAppInstallationRepositoryOutputWithContext(ctx context.Context) AppInstallationRepositoryOutput }
type AppInstallationRepositoryMap ¶
type AppInstallationRepositoryMap map[string]AppInstallationRepositoryInput
func (AppInstallationRepositoryMap) ElementType ¶
func (AppInstallationRepositoryMap) ElementType() reflect.Type
func (AppInstallationRepositoryMap) ToAppInstallationRepositoryMapOutput ¶
func (i AppInstallationRepositoryMap) ToAppInstallationRepositoryMapOutput() AppInstallationRepositoryMapOutput
func (AppInstallationRepositoryMap) ToAppInstallationRepositoryMapOutputWithContext ¶
func (i AppInstallationRepositoryMap) ToAppInstallationRepositoryMapOutputWithContext(ctx context.Context) AppInstallationRepositoryMapOutput
type AppInstallationRepositoryMapInput ¶
type AppInstallationRepositoryMapInput interface { pulumi.Input ToAppInstallationRepositoryMapOutput() AppInstallationRepositoryMapOutput ToAppInstallationRepositoryMapOutputWithContext(context.Context) AppInstallationRepositoryMapOutput }
AppInstallationRepositoryMapInput is an input type that accepts AppInstallationRepositoryMap and AppInstallationRepositoryMapOutput values. You can construct a concrete instance of `AppInstallationRepositoryMapInput` via:
AppInstallationRepositoryMap{ "key": AppInstallationRepositoryArgs{...} }
type AppInstallationRepositoryMapOutput ¶
type AppInstallationRepositoryMapOutput struct{ *pulumi.OutputState }
func (AppInstallationRepositoryMapOutput) ElementType ¶
func (AppInstallationRepositoryMapOutput) ElementType() reflect.Type
func (AppInstallationRepositoryMapOutput) MapIndex ¶
func (o AppInstallationRepositoryMapOutput) MapIndex(k pulumi.StringInput) AppInstallationRepositoryOutput
func (AppInstallationRepositoryMapOutput) ToAppInstallationRepositoryMapOutput ¶
func (o AppInstallationRepositoryMapOutput) ToAppInstallationRepositoryMapOutput() AppInstallationRepositoryMapOutput
func (AppInstallationRepositoryMapOutput) ToAppInstallationRepositoryMapOutputWithContext ¶
func (o AppInstallationRepositoryMapOutput) ToAppInstallationRepositoryMapOutputWithContext(ctx context.Context) AppInstallationRepositoryMapOutput
type AppInstallationRepositoryOutput ¶
type AppInstallationRepositoryOutput struct{ *pulumi.OutputState }
func (AppInstallationRepositoryOutput) ElementType ¶
func (AppInstallationRepositoryOutput) ElementType() reflect.Type
func (AppInstallationRepositoryOutput) InstallationId ¶ added in v4.15.0
func (o AppInstallationRepositoryOutput) InstallationId() pulumi.StringOutput
The GitHub app installation id.
func (AppInstallationRepositoryOutput) RepoId ¶ added in v4.15.0
func (o AppInstallationRepositoryOutput) RepoId() pulumi.IntOutput
func (AppInstallationRepositoryOutput) Repository ¶ added in v4.15.0
func (o AppInstallationRepositoryOutput) Repository() pulumi.StringOutput
The repository to install the app on.
func (AppInstallationRepositoryOutput) ToAppInstallationRepositoryOutput ¶
func (o AppInstallationRepositoryOutput) ToAppInstallationRepositoryOutput() AppInstallationRepositoryOutput
func (AppInstallationRepositoryOutput) ToAppInstallationRepositoryOutputWithContext ¶
func (o AppInstallationRepositoryOutput) ToAppInstallationRepositoryOutputWithContext(ctx context.Context) AppInstallationRepositoryOutput
type AppInstallationRepositoryState ¶
type AppInstallationRepositoryState struct { // The GitHub app installation id. InstallationId pulumi.StringPtrInput RepoId pulumi.IntPtrInput // The repository to install the app on. Repository pulumi.StringPtrInput }
func (AppInstallationRepositoryState) ElementType ¶
func (AppInstallationRepositoryState) ElementType() reflect.Type
type Branch ¶
type Branch struct { pulumi.CustomResourceState // The repository branch to create. Branch pulumi.StringOutput `pulumi:"branch"` // An etag representing the Branch object. Etag pulumi.StringOutput `pulumi:"etag"` // A string representing a branch reference, in the form of `refs/heads/<branch>`. Ref pulumi.StringOutput `pulumi:"ref"` // The GitHub repository name. Repository pulumi.StringOutput `pulumi:"repository"` // A string storing the reference's `HEAD` commit's SHA1. Sha pulumi.StringOutput `pulumi:"sha"` // The branch name to start from. Defaults to `main`. SourceBranch pulumi.StringPtrOutput `pulumi:"sourceBranch"` // The commit hash to start from. Defaults to the tip of `sourceBranch`. If provided, `sourceBranch` is ignored. SourceSha pulumi.StringOutput `pulumi:"sourceSha"` }
This resource allows you to create and manage branches within your repository.
Additional constraints can be applied to ensure your branch is created from another branch or commit.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewBranch(ctx, "development", &github.BranchArgs{ Branch: pulumi.String("development"), Repository: pulumi.String("example"), }) if err != nil { return err } return nil }) }
```
## Import
GitHub Branch can be imported using an ID made up of `repository:branch`, e.g.
```sh
$ pulumi import github:index/branch:Branch terraform terraform:main
```
Importing github branch into an instance object (when using a for each block to manage multiple branches)
```sh
$ pulumi import github:index/branch:Branch terraform["terraform"] terraform:main
```
Optionally, a source branch may be specified using an ID of `repository:branch:source_branch`. This is useful for importing branches that do not branch directly off main.
```sh
$ pulumi import github:index/branch:Branch terraform terraform:feature-branch:dev
```
func GetBranch ¶
func GetBranch(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BranchState, opts ...pulumi.ResourceOption) (*Branch, error)
GetBranch gets an existing Branch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBranch ¶
func NewBranch(ctx *pulumi.Context, name string, args *BranchArgs, opts ...pulumi.ResourceOption) (*Branch, error)
NewBranch registers a new resource with the given unique name, arguments, and options.
func (*Branch) ElementType ¶
func (*Branch) ToBranchOutput ¶
func (i *Branch) ToBranchOutput() BranchOutput
func (*Branch) ToBranchOutputWithContext ¶
func (i *Branch) ToBranchOutputWithContext(ctx context.Context) BranchOutput
type BranchArgs ¶
type BranchArgs struct { // The repository branch to create. Branch pulumi.StringInput // The GitHub repository name. Repository pulumi.StringInput // The branch name to start from. Defaults to `main`. SourceBranch pulumi.StringPtrInput // The commit hash to start from. Defaults to the tip of `sourceBranch`. If provided, `sourceBranch` is ignored. SourceSha pulumi.StringPtrInput }
The set of arguments for constructing a Branch resource.
func (BranchArgs) ElementType ¶
func (BranchArgs) ElementType() reflect.Type
type BranchArray ¶
type BranchArray []BranchInput
func (BranchArray) ElementType ¶
func (BranchArray) ElementType() reflect.Type
func (BranchArray) ToBranchArrayOutput ¶
func (i BranchArray) ToBranchArrayOutput() BranchArrayOutput
func (BranchArray) ToBranchArrayOutputWithContext ¶
func (i BranchArray) ToBranchArrayOutputWithContext(ctx context.Context) BranchArrayOutput
type BranchArrayInput ¶
type BranchArrayInput interface { pulumi.Input ToBranchArrayOutput() BranchArrayOutput ToBranchArrayOutputWithContext(context.Context) BranchArrayOutput }
BranchArrayInput is an input type that accepts BranchArray and BranchArrayOutput values. You can construct a concrete instance of `BranchArrayInput` via:
BranchArray{ BranchArgs{...} }
type BranchArrayOutput ¶
type BranchArrayOutput struct{ *pulumi.OutputState }
func (BranchArrayOutput) ElementType ¶
func (BranchArrayOutput) ElementType() reflect.Type
func (BranchArrayOutput) Index ¶
func (o BranchArrayOutput) Index(i pulumi.IntInput) BranchOutput
func (BranchArrayOutput) ToBranchArrayOutput ¶
func (o BranchArrayOutput) ToBranchArrayOutput() BranchArrayOutput
func (BranchArrayOutput) ToBranchArrayOutputWithContext ¶
func (o BranchArrayOutput) ToBranchArrayOutputWithContext(ctx context.Context) BranchArrayOutput
type BranchDefault ¶
type BranchDefault struct { pulumi.CustomResourceState // The branch (e.g. `main`) Branch pulumi.StringOutput `pulumi:"branch"` // The GitHub repository Repository pulumi.StringOutput `pulumi:"repository"` }
Provides a GitHub branch default resource.
This resource allows you to set the default branch for a given repository.
Note that use of this resource is incompatible with the `defaultBranch` option of the `Repository` resource. Using both will result in plans always showing a diff.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := github.NewRepository(ctx, "example", &github.RepositoryArgs{ Description: pulumi.String("My awesome codebase"), AutoInit: pulumi.Bool(true), }) if err != nil { return err } development, err := github.NewBranch(ctx, "development", &github.BranchArgs{ Repository: example.Name, Branch: pulumi.String("development"), }) if err != nil { return err } _, err = github.NewBranchDefault(ctx, "default", &github.BranchDefaultArgs{ Repository: example.Name, Branch: development.Branch, }) if err != nil { return err } return nil }) }
```
## Import
GitHub Branch Defaults can be imported using an ID made up of `repository`, e.g.
```sh
$ pulumi import github:index/branchDefault:BranchDefault branch_default my-repo
```
func GetBranchDefault ¶
func GetBranchDefault(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BranchDefaultState, opts ...pulumi.ResourceOption) (*BranchDefault, error)
GetBranchDefault gets an existing BranchDefault resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBranchDefault ¶
func NewBranchDefault(ctx *pulumi.Context, name string, args *BranchDefaultArgs, opts ...pulumi.ResourceOption) (*BranchDefault, error)
NewBranchDefault registers a new resource with the given unique name, arguments, and options.
func (*BranchDefault) ElementType ¶
func (*BranchDefault) ElementType() reflect.Type
func (*BranchDefault) ToBranchDefaultOutput ¶
func (i *BranchDefault) ToBranchDefaultOutput() BranchDefaultOutput
func (*BranchDefault) ToBranchDefaultOutputWithContext ¶
func (i *BranchDefault) ToBranchDefaultOutputWithContext(ctx context.Context) BranchDefaultOutput
type BranchDefaultArgs ¶
type BranchDefaultArgs struct { // The branch (e.g. `main`) Branch pulumi.StringInput // The GitHub repository Repository pulumi.StringInput }
The set of arguments for constructing a BranchDefault resource.
func (BranchDefaultArgs) ElementType ¶
func (BranchDefaultArgs) ElementType() reflect.Type
type BranchDefaultArray ¶
type BranchDefaultArray []BranchDefaultInput
func (BranchDefaultArray) ElementType ¶
func (BranchDefaultArray) ElementType() reflect.Type
func (BranchDefaultArray) ToBranchDefaultArrayOutput ¶
func (i BranchDefaultArray) ToBranchDefaultArrayOutput() BranchDefaultArrayOutput
func (BranchDefaultArray) ToBranchDefaultArrayOutputWithContext ¶
func (i BranchDefaultArray) ToBranchDefaultArrayOutputWithContext(ctx context.Context) BranchDefaultArrayOutput
type BranchDefaultArrayInput ¶
type BranchDefaultArrayInput interface { pulumi.Input ToBranchDefaultArrayOutput() BranchDefaultArrayOutput ToBranchDefaultArrayOutputWithContext(context.Context) BranchDefaultArrayOutput }
BranchDefaultArrayInput is an input type that accepts BranchDefaultArray and BranchDefaultArrayOutput values. You can construct a concrete instance of `BranchDefaultArrayInput` via:
BranchDefaultArray{ BranchDefaultArgs{...} }
type BranchDefaultArrayOutput ¶
type BranchDefaultArrayOutput struct{ *pulumi.OutputState }
func (BranchDefaultArrayOutput) ElementType ¶
func (BranchDefaultArrayOutput) ElementType() reflect.Type
func (BranchDefaultArrayOutput) Index ¶
func (o BranchDefaultArrayOutput) Index(i pulumi.IntInput) BranchDefaultOutput
func (BranchDefaultArrayOutput) ToBranchDefaultArrayOutput ¶
func (o BranchDefaultArrayOutput) ToBranchDefaultArrayOutput() BranchDefaultArrayOutput
func (BranchDefaultArrayOutput) ToBranchDefaultArrayOutputWithContext ¶
func (o BranchDefaultArrayOutput) ToBranchDefaultArrayOutputWithContext(ctx context.Context) BranchDefaultArrayOutput
type BranchDefaultInput ¶
type BranchDefaultInput interface { pulumi.Input ToBranchDefaultOutput() BranchDefaultOutput ToBranchDefaultOutputWithContext(ctx context.Context) BranchDefaultOutput }
type BranchDefaultMap ¶
type BranchDefaultMap map[string]BranchDefaultInput
func (BranchDefaultMap) ElementType ¶
func (BranchDefaultMap) ElementType() reflect.Type
func (BranchDefaultMap) ToBranchDefaultMapOutput ¶
func (i BranchDefaultMap) ToBranchDefaultMapOutput() BranchDefaultMapOutput
func (BranchDefaultMap) ToBranchDefaultMapOutputWithContext ¶
func (i BranchDefaultMap) ToBranchDefaultMapOutputWithContext(ctx context.Context) BranchDefaultMapOutput
type BranchDefaultMapInput ¶
type BranchDefaultMapInput interface { pulumi.Input ToBranchDefaultMapOutput() BranchDefaultMapOutput ToBranchDefaultMapOutputWithContext(context.Context) BranchDefaultMapOutput }
BranchDefaultMapInput is an input type that accepts BranchDefaultMap and BranchDefaultMapOutput values. You can construct a concrete instance of `BranchDefaultMapInput` via:
BranchDefaultMap{ "key": BranchDefaultArgs{...} }
type BranchDefaultMapOutput ¶
type BranchDefaultMapOutput struct{ *pulumi.OutputState }
func (BranchDefaultMapOutput) ElementType ¶
func (BranchDefaultMapOutput) ElementType() reflect.Type
func (BranchDefaultMapOutput) MapIndex ¶
func (o BranchDefaultMapOutput) MapIndex(k pulumi.StringInput) BranchDefaultOutput
func (BranchDefaultMapOutput) ToBranchDefaultMapOutput ¶
func (o BranchDefaultMapOutput) ToBranchDefaultMapOutput() BranchDefaultMapOutput
func (BranchDefaultMapOutput) ToBranchDefaultMapOutputWithContext ¶
func (o BranchDefaultMapOutput) ToBranchDefaultMapOutputWithContext(ctx context.Context) BranchDefaultMapOutput
type BranchDefaultOutput ¶
type BranchDefaultOutput struct{ *pulumi.OutputState }
func (BranchDefaultOutput) Branch ¶ added in v4.15.0
func (o BranchDefaultOutput) Branch() pulumi.StringOutput
The branch (e.g. `main`)
func (BranchDefaultOutput) ElementType ¶
func (BranchDefaultOutput) ElementType() reflect.Type
func (BranchDefaultOutput) Repository ¶ added in v4.15.0
func (o BranchDefaultOutput) Repository() pulumi.StringOutput
The GitHub repository
func (BranchDefaultOutput) ToBranchDefaultOutput ¶
func (o BranchDefaultOutput) ToBranchDefaultOutput() BranchDefaultOutput
func (BranchDefaultOutput) ToBranchDefaultOutputWithContext ¶
func (o BranchDefaultOutput) ToBranchDefaultOutputWithContext(ctx context.Context) BranchDefaultOutput
type BranchDefaultState ¶
type BranchDefaultState struct { // The branch (e.g. `main`) Branch pulumi.StringPtrInput // The GitHub repository Repository pulumi.StringPtrInput }
func (BranchDefaultState) ElementType ¶
func (BranchDefaultState) ElementType() reflect.Type
type BranchInput ¶
type BranchInput interface { pulumi.Input ToBranchOutput() BranchOutput ToBranchOutputWithContext(ctx context.Context) BranchOutput }
type BranchMap ¶
type BranchMap map[string]BranchInput
func (BranchMap) ElementType ¶
func (BranchMap) ToBranchMapOutput ¶
func (i BranchMap) ToBranchMapOutput() BranchMapOutput
func (BranchMap) ToBranchMapOutputWithContext ¶
func (i BranchMap) ToBranchMapOutputWithContext(ctx context.Context) BranchMapOutput
type BranchMapInput ¶
type BranchMapInput interface { pulumi.Input ToBranchMapOutput() BranchMapOutput ToBranchMapOutputWithContext(context.Context) BranchMapOutput }
BranchMapInput is an input type that accepts BranchMap and BranchMapOutput values. You can construct a concrete instance of `BranchMapInput` via:
BranchMap{ "key": BranchArgs{...} }
type BranchMapOutput ¶
type BranchMapOutput struct{ *pulumi.OutputState }
func (BranchMapOutput) ElementType ¶
func (BranchMapOutput) ElementType() reflect.Type
func (BranchMapOutput) MapIndex ¶
func (o BranchMapOutput) MapIndex(k pulumi.StringInput) BranchOutput
func (BranchMapOutput) ToBranchMapOutput ¶
func (o BranchMapOutput) ToBranchMapOutput() BranchMapOutput
func (BranchMapOutput) ToBranchMapOutputWithContext ¶
func (o BranchMapOutput) ToBranchMapOutputWithContext(ctx context.Context) BranchMapOutput
type BranchOutput ¶
type BranchOutput struct{ *pulumi.OutputState }
func (BranchOutput) Branch ¶ added in v4.15.0
func (o BranchOutput) Branch() pulumi.StringOutput
The repository branch to create.
func (BranchOutput) ElementType ¶
func (BranchOutput) ElementType() reflect.Type
func (BranchOutput) Etag ¶ added in v4.15.0
func (o BranchOutput) Etag() pulumi.StringOutput
An etag representing the Branch object.
func (BranchOutput) Ref ¶ added in v4.15.0
func (o BranchOutput) Ref() pulumi.StringOutput
A string representing a branch reference, in the form of `refs/heads/<branch>`.
func (BranchOutput) Repository ¶ added in v4.15.0
func (o BranchOutput) Repository() pulumi.StringOutput
The GitHub repository name.
func (BranchOutput) Sha ¶ added in v4.15.0
func (o BranchOutput) Sha() pulumi.StringOutput
A string storing the reference's `HEAD` commit's SHA1.
func (BranchOutput) SourceBranch ¶ added in v4.15.0
func (o BranchOutput) SourceBranch() pulumi.StringPtrOutput
The branch name to start from. Defaults to `main`.
func (BranchOutput) SourceSha ¶ added in v4.15.0
func (o BranchOutput) SourceSha() pulumi.StringOutput
The commit hash to start from. Defaults to the tip of `sourceBranch`. If provided, `sourceBranch` is ignored.
func (BranchOutput) ToBranchOutput ¶
func (o BranchOutput) ToBranchOutput() BranchOutput
func (BranchOutput) ToBranchOutputWithContext ¶
func (o BranchOutput) ToBranchOutputWithContext(ctx context.Context) BranchOutput
type BranchProtection ¶
type BranchProtection struct { pulumi.CustomResourceState // Boolean, setting this to `true` to allow the branch to be deleted. AllowsDeletions pulumi.BoolPtrOutput `pulumi:"allowsDeletions"` // Boolean, setting this to `true` to allow force pushes on the branch. AllowsForcePushes pulumi.BoolPtrOutput `pulumi:"allowsForcePushes"` // Boolean, setting this to `true` to block creating the branch. BlocksCreations pulumi.BoolPtrOutput `pulumi:"blocksCreations"` // Boolean, setting this to `true` enforces status checks for repository administrators. EnforceAdmins pulumi.BoolPtrOutput `pulumi:"enforceAdmins"` // Identifies the protection rule pattern. Pattern pulumi.StringOutput `pulumi:"pattern"` // The list of actor IDs that may push to the branch. PushRestrictions pulumi.StringArrayOutput `pulumi:"pushRestrictions"` // The name or node ID of the repository associated with this branch protection rule. RepositoryId pulumi.StringOutput `pulumi:"repositoryId"` // Boolean, setting this to `true` requires all conversations on code must be resolved before a pull request can be merged. RequireConversationResolution pulumi.BoolPtrOutput `pulumi:"requireConversationResolution"` // Boolean, setting this to `true` requires all commits to be signed with GPG. RequireSignedCommits pulumi.BoolPtrOutput `pulumi:"requireSignedCommits"` // Boolean, setting this to `true` enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch RequiredLinearHistory pulumi.BoolPtrOutput `pulumi:"requiredLinearHistory"` // Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details. RequiredPullRequestReviews BranchProtectionRequiredPullRequestReviewArrayOutput `pulumi:"requiredPullRequestReviews"` // Enforce restrictions for required status checks. See Required Status Checks below for details. RequiredStatusChecks BranchProtectionRequiredStatusCheckArrayOutput `pulumi:"requiredStatusChecks"` }
Protects a GitHub branch.
This resource allows you to configure branch protection for repositories in your organization. When applied, the branch will be protected from forced pushes and deletion. Additional constraints, such as required status checks or restrictions on users, teams, and apps, can also be configured.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleRepository, err := github.NewRepository(ctx, "exampleRepository", nil) if err != nil { return err } exampleUser, err := github.GetUser(ctx, &GetUserArgs{ Username: "example", }, nil) if err != nil { return err } exampleTeam, err := github.NewTeam(ctx, "exampleTeam", nil) if err != nil { return err } _, err = github.NewBranchProtection(ctx, "exampleBranchProtection", &github.BranchProtectionArgs{ RepositoryId: exampleRepository.NodeId, Pattern: pulumi.String("main"), EnforceAdmins: pulumi.Bool(true), AllowsDeletions: pulumi.Bool(true), RequiredStatusChecks: BranchProtectionRequiredStatusCheckArray{ &BranchProtectionRequiredStatusCheckArgs{ Strict: pulumi.Bool(false), Contexts: pulumi.StringArray{ pulumi.String("ci/travis"), }, }, }, RequiredPullRequestReviews: BranchProtectionRequiredPullRequestReviewArray{ &BranchProtectionRequiredPullRequestReviewArgs{ DismissStaleReviews: pulumi.Bool(true), RestrictDismissals: pulumi.Bool(true), DismissalRestrictions: pulumi.StringArray{ pulumi.String(exampleUser.NodeId), exampleTeam.NodeId, }, }, }, PushRestrictions: pulumi.StringArray{ pulumi.String(exampleUser.NodeId), }, }) if err != nil { return err } _, err = github.NewTeamRepository(ctx, "exampleTeamRepository", &github.TeamRepositoryArgs{ TeamId: exampleTeam.ID(), Repository: exampleRepository.Name, Permission: pulumi.String("pull"), }) if err != nil { return err } return nil }) }
```
## Import
GitHub Branch Protection can be imported using an ID made up of `repository:pattern`, e.g.
```sh
$ pulumi import github:index/branchProtection:BranchProtection terraform terraform:main
```
func GetBranchProtection ¶
func GetBranchProtection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BranchProtectionState, opts ...pulumi.ResourceOption) (*BranchProtection, error)
GetBranchProtection gets an existing BranchProtection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBranchProtection ¶
func NewBranchProtection(ctx *pulumi.Context, name string, args *BranchProtectionArgs, opts ...pulumi.ResourceOption) (*BranchProtection, error)
NewBranchProtection registers a new resource with the given unique name, arguments, and options.
func (*BranchProtection) ElementType ¶
func (*BranchProtection) ElementType() reflect.Type
func (*BranchProtection) ToBranchProtectionOutput ¶
func (i *BranchProtection) ToBranchProtectionOutput() BranchProtectionOutput
func (*BranchProtection) ToBranchProtectionOutputWithContext ¶
func (i *BranchProtection) ToBranchProtectionOutputWithContext(ctx context.Context) BranchProtectionOutput
type BranchProtectionArgs ¶
type BranchProtectionArgs struct { // Boolean, setting this to `true` to allow the branch to be deleted. AllowsDeletions pulumi.BoolPtrInput // Boolean, setting this to `true` to allow force pushes on the branch. AllowsForcePushes pulumi.BoolPtrInput // Boolean, setting this to `true` to block creating the branch. BlocksCreations pulumi.BoolPtrInput // Boolean, setting this to `true` enforces status checks for repository administrators. EnforceAdmins pulumi.BoolPtrInput // Identifies the protection rule pattern. Pattern pulumi.StringInput // The list of actor IDs that may push to the branch. PushRestrictions pulumi.StringArrayInput // The name or node ID of the repository associated with this branch protection rule. RepositoryId pulumi.StringInput // Boolean, setting this to `true` requires all conversations on code must be resolved before a pull request can be merged. RequireConversationResolution pulumi.BoolPtrInput // Boolean, setting this to `true` requires all commits to be signed with GPG. RequireSignedCommits pulumi.BoolPtrInput // Boolean, setting this to `true` enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch RequiredLinearHistory pulumi.BoolPtrInput // Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details. RequiredPullRequestReviews BranchProtectionRequiredPullRequestReviewArrayInput // Enforce restrictions for required status checks. See Required Status Checks below for details. RequiredStatusChecks BranchProtectionRequiredStatusCheckArrayInput }
The set of arguments for constructing a BranchProtection resource.
func (BranchProtectionArgs) ElementType ¶
func (BranchProtectionArgs) ElementType() reflect.Type
type BranchProtectionArray ¶
type BranchProtectionArray []BranchProtectionInput
func (BranchProtectionArray) ElementType ¶
func (BranchProtectionArray) ElementType() reflect.Type
func (BranchProtectionArray) ToBranchProtectionArrayOutput ¶
func (i BranchProtectionArray) ToBranchProtectionArrayOutput() BranchProtectionArrayOutput
func (BranchProtectionArray) ToBranchProtectionArrayOutputWithContext ¶
func (i BranchProtectionArray) ToBranchProtectionArrayOutputWithContext(ctx context.Context) BranchProtectionArrayOutput
type BranchProtectionArrayInput ¶
type BranchProtectionArrayInput interface { pulumi.Input ToBranchProtectionArrayOutput() BranchProtectionArrayOutput ToBranchProtectionArrayOutputWithContext(context.Context) BranchProtectionArrayOutput }
BranchProtectionArrayInput is an input type that accepts BranchProtectionArray and BranchProtectionArrayOutput values. You can construct a concrete instance of `BranchProtectionArrayInput` via:
BranchProtectionArray{ BranchProtectionArgs{...} }
type BranchProtectionArrayOutput ¶
type BranchProtectionArrayOutput struct{ *pulumi.OutputState }
func (BranchProtectionArrayOutput) ElementType ¶
func (BranchProtectionArrayOutput) ElementType() reflect.Type
func (BranchProtectionArrayOutput) Index ¶
func (o BranchProtectionArrayOutput) Index(i pulumi.IntInput) BranchProtectionOutput
func (BranchProtectionArrayOutput) ToBranchProtectionArrayOutput ¶
func (o BranchProtectionArrayOutput) ToBranchProtectionArrayOutput() BranchProtectionArrayOutput
func (BranchProtectionArrayOutput) ToBranchProtectionArrayOutputWithContext ¶
func (o BranchProtectionArrayOutput) ToBranchProtectionArrayOutputWithContext(ctx context.Context) BranchProtectionArrayOutput
type BranchProtectionInput ¶
type BranchProtectionInput interface { pulumi.Input ToBranchProtectionOutput() BranchProtectionOutput ToBranchProtectionOutputWithContext(ctx context.Context) BranchProtectionOutput }
type BranchProtectionMap ¶
type BranchProtectionMap map[string]BranchProtectionInput
func (BranchProtectionMap) ElementType ¶
func (BranchProtectionMap) ElementType() reflect.Type
func (BranchProtectionMap) ToBranchProtectionMapOutput ¶
func (i BranchProtectionMap) ToBranchProtectionMapOutput() BranchProtectionMapOutput
func (BranchProtectionMap) ToBranchProtectionMapOutputWithContext ¶
func (i BranchProtectionMap) ToBranchProtectionMapOutputWithContext(ctx context.Context) BranchProtectionMapOutput
type BranchProtectionMapInput ¶
type BranchProtectionMapInput interface { pulumi.Input ToBranchProtectionMapOutput() BranchProtectionMapOutput ToBranchProtectionMapOutputWithContext(context.Context) BranchProtectionMapOutput }
BranchProtectionMapInput is an input type that accepts BranchProtectionMap and BranchProtectionMapOutput values. You can construct a concrete instance of `BranchProtectionMapInput` via:
BranchProtectionMap{ "key": BranchProtectionArgs{...} }
type BranchProtectionMapOutput ¶
type BranchProtectionMapOutput struct{ *pulumi.OutputState }
func (BranchProtectionMapOutput) ElementType ¶
func (BranchProtectionMapOutput) ElementType() reflect.Type
func (BranchProtectionMapOutput) MapIndex ¶
func (o BranchProtectionMapOutput) MapIndex(k pulumi.StringInput) BranchProtectionOutput
func (BranchProtectionMapOutput) ToBranchProtectionMapOutput ¶
func (o BranchProtectionMapOutput) ToBranchProtectionMapOutput() BranchProtectionMapOutput
func (BranchProtectionMapOutput) ToBranchProtectionMapOutputWithContext ¶
func (o BranchProtectionMapOutput) ToBranchProtectionMapOutputWithContext(ctx context.Context) BranchProtectionMapOutput
type BranchProtectionOutput ¶
type BranchProtectionOutput struct{ *pulumi.OutputState }
func (BranchProtectionOutput) AllowsDeletions ¶ added in v4.15.0
func (o BranchProtectionOutput) AllowsDeletions() pulumi.BoolPtrOutput
Boolean, setting this to `true` to allow the branch to be deleted.
func (BranchProtectionOutput) AllowsForcePushes ¶ added in v4.15.0
func (o BranchProtectionOutput) AllowsForcePushes() pulumi.BoolPtrOutput
Boolean, setting this to `true` to allow force pushes on the branch.
func (BranchProtectionOutput) BlocksCreations ¶ added in v4.15.0
func (o BranchProtectionOutput) BlocksCreations() pulumi.BoolPtrOutput
Boolean, setting this to `true` to block creating the branch.
func (BranchProtectionOutput) ElementType ¶
func (BranchProtectionOutput) ElementType() reflect.Type
func (BranchProtectionOutput) EnforceAdmins ¶ added in v4.15.0
func (o BranchProtectionOutput) EnforceAdmins() pulumi.BoolPtrOutput
Boolean, setting this to `true` enforces status checks for repository administrators.
func (BranchProtectionOutput) Pattern ¶ added in v4.15.0
func (o BranchProtectionOutput) Pattern() pulumi.StringOutput
Identifies the protection rule pattern.
func (BranchProtectionOutput) PushRestrictions ¶ added in v4.15.0
func (o BranchProtectionOutput) PushRestrictions() pulumi.StringArrayOutput
The list of actor IDs that may push to the branch.
func (BranchProtectionOutput) RepositoryId ¶ added in v4.15.0
func (o BranchProtectionOutput) RepositoryId() pulumi.StringOutput
The name or node ID of the repository associated with this branch protection rule.
func (BranchProtectionOutput) RequireConversationResolution ¶ added in v4.15.0
func (o BranchProtectionOutput) RequireConversationResolution() pulumi.BoolPtrOutput
Boolean, setting this to `true` requires all conversations on code must be resolved before a pull request can be merged.
func (BranchProtectionOutput) RequireSignedCommits ¶ added in v4.15.0
func (o BranchProtectionOutput) RequireSignedCommits() pulumi.BoolPtrOutput
Boolean, setting this to `true` requires all commits to be signed with GPG.
func (BranchProtectionOutput) RequiredLinearHistory ¶ added in v4.15.0
func (o BranchProtectionOutput) RequiredLinearHistory() pulumi.BoolPtrOutput
Boolean, setting this to `true` enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch
func (BranchProtectionOutput) RequiredPullRequestReviews ¶ added in v4.15.0
func (o BranchProtectionOutput) RequiredPullRequestReviews() BranchProtectionRequiredPullRequestReviewArrayOutput
Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details.
func (BranchProtectionOutput) RequiredStatusChecks ¶ added in v4.15.0
func (o BranchProtectionOutput) RequiredStatusChecks() BranchProtectionRequiredStatusCheckArrayOutput
Enforce restrictions for required status checks. See Required Status Checks below for details.
func (BranchProtectionOutput) ToBranchProtectionOutput ¶
func (o BranchProtectionOutput) ToBranchProtectionOutput() BranchProtectionOutput
func (BranchProtectionOutput) ToBranchProtectionOutputWithContext ¶
func (o BranchProtectionOutput) ToBranchProtectionOutputWithContext(ctx context.Context) BranchProtectionOutput
type BranchProtectionRequiredPullRequestReview ¶
type BranchProtectionRequiredPullRequestReview struct { DismissStaleReviews *bool `pulumi:"dismissStaleReviews"` DismissalRestrictions []string `pulumi:"dismissalRestrictions"` PullRequestBypassers []string `pulumi:"pullRequestBypassers"` RequireCodeOwnerReviews *bool `pulumi:"requireCodeOwnerReviews"` RequiredApprovingReviewCount *int `pulumi:"requiredApprovingReviewCount"` RestrictDismissals *bool `pulumi:"restrictDismissals"` }
type BranchProtectionRequiredPullRequestReviewArgs ¶
type BranchProtectionRequiredPullRequestReviewArgs struct { DismissStaleReviews pulumi.BoolPtrInput `pulumi:"dismissStaleReviews"` DismissalRestrictions pulumi.StringArrayInput `pulumi:"dismissalRestrictions"` PullRequestBypassers pulumi.StringArrayInput `pulumi:"pullRequestBypassers"` RequireCodeOwnerReviews pulumi.BoolPtrInput `pulumi:"requireCodeOwnerReviews"` RequiredApprovingReviewCount pulumi.IntPtrInput `pulumi:"requiredApprovingReviewCount"` RestrictDismissals pulumi.BoolPtrInput `pulumi:"restrictDismissals"` }
func (BranchProtectionRequiredPullRequestReviewArgs) ElementType ¶
func (BranchProtectionRequiredPullRequestReviewArgs) ElementType() reflect.Type
func (BranchProtectionRequiredPullRequestReviewArgs) ToBranchProtectionRequiredPullRequestReviewOutput ¶
func (i BranchProtectionRequiredPullRequestReviewArgs) ToBranchProtectionRequiredPullRequestReviewOutput() BranchProtectionRequiredPullRequestReviewOutput
func (BranchProtectionRequiredPullRequestReviewArgs) ToBranchProtectionRequiredPullRequestReviewOutputWithContext ¶
func (i BranchProtectionRequiredPullRequestReviewArgs) ToBranchProtectionRequiredPullRequestReviewOutputWithContext(ctx context.Context) BranchProtectionRequiredPullRequestReviewOutput
type BranchProtectionRequiredPullRequestReviewArray ¶
type BranchProtectionRequiredPullRequestReviewArray []BranchProtectionRequiredPullRequestReviewInput
func (BranchProtectionRequiredPullRequestReviewArray) ElementType ¶
func (BranchProtectionRequiredPullRequestReviewArray) ElementType() reflect.Type
func (BranchProtectionRequiredPullRequestReviewArray) ToBranchProtectionRequiredPullRequestReviewArrayOutput ¶
func (i BranchProtectionRequiredPullRequestReviewArray) ToBranchProtectionRequiredPullRequestReviewArrayOutput() BranchProtectionRequiredPullRequestReviewArrayOutput
func (BranchProtectionRequiredPullRequestReviewArray) ToBranchProtectionRequiredPullRequestReviewArrayOutputWithContext ¶
func (i BranchProtectionRequiredPullRequestReviewArray) ToBranchProtectionRequiredPullRequestReviewArrayOutputWithContext(ctx context.Context) BranchProtectionRequiredPullRequestReviewArrayOutput
type BranchProtectionRequiredPullRequestReviewArrayInput ¶
type BranchProtectionRequiredPullRequestReviewArrayInput interface { pulumi.Input ToBranchProtectionRequiredPullRequestReviewArrayOutput() BranchProtectionRequiredPullRequestReviewArrayOutput ToBranchProtectionRequiredPullRequestReviewArrayOutputWithContext(context.Context) BranchProtectionRequiredPullRequestReviewArrayOutput }
BranchProtectionRequiredPullRequestReviewArrayInput is an input type that accepts BranchProtectionRequiredPullRequestReviewArray and BranchProtectionRequiredPullRequestReviewArrayOutput values. You can construct a concrete instance of `BranchProtectionRequiredPullRequestReviewArrayInput` via:
BranchProtectionRequiredPullRequestReviewArray{ BranchProtectionRequiredPullRequestReviewArgs{...} }
type BranchProtectionRequiredPullRequestReviewArrayOutput ¶
type BranchProtectionRequiredPullRequestReviewArrayOutput struct{ *pulumi.OutputState }
func (BranchProtectionRequiredPullRequestReviewArrayOutput) ElementType ¶
func (BranchProtectionRequiredPullRequestReviewArrayOutput) ElementType() reflect.Type
func (BranchProtectionRequiredPullRequestReviewArrayOutput) ToBranchProtectionRequiredPullRequestReviewArrayOutput ¶
func (o BranchProtectionRequiredPullRequestReviewArrayOutput) ToBranchProtectionRequiredPullRequestReviewArrayOutput() BranchProtectionRequiredPullRequestReviewArrayOutput
func (BranchProtectionRequiredPullRequestReviewArrayOutput) ToBranchProtectionRequiredPullRequestReviewArrayOutputWithContext ¶
func (o BranchProtectionRequiredPullRequestReviewArrayOutput) ToBranchProtectionRequiredPullRequestReviewArrayOutputWithContext(ctx context.Context) BranchProtectionRequiredPullRequestReviewArrayOutput
type BranchProtectionRequiredPullRequestReviewInput ¶
type BranchProtectionRequiredPullRequestReviewInput interface { pulumi.Input ToBranchProtectionRequiredPullRequestReviewOutput() BranchProtectionRequiredPullRequestReviewOutput ToBranchProtectionRequiredPullRequestReviewOutputWithContext(context.Context) BranchProtectionRequiredPullRequestReviewOutput }
BranchProtectionRequiredPullRequestReviewInput is an input type that accepts BranchProtectionRequiredPullRequestReviewArgs and BranchProtectionRequiredPullRequestReviewOutput values. You can construct a concrete instance of `BranchProtectionRequiredPullRequestReviewInput` via:
BranchProtectionRequiredPullRequestReviewArgs{...}
type BranchProtectionRequiredPullRequestReviewOutput ¶
type BranchProtectionRequiredPullRequestReviewOutput struct{ *pulumi.OutputState }
func (BranchProtectionRequiredPullRequestReviewOutput) DismissStaleReviews ¶
func (o BranchProtectionRequiredPullRequestReviewOutput) DismissStaleReviews() pulumi.BoolPtrOutput
func (BranchProtectionRequiredPullRequestReviewOutput) DismissalRestrictions ¶
func (o BranchProtectionRequiredPullRequestReviewOutput) DismissalRestrictions() pulumi.StringArrayOutput
func (BranchProtectionRequiredPullRequestReviewOutput) ElementType ¶
func (BranchProtectionRequiredPullRequestReviewOutput) ElementType() reflect.Type
func (BranchProtectionRequiredPullRequestReviewOutput) PullRequestBypassers ¶ added in v4.11.0
func (o BranchProtectionRequiredPullRequestReviewOutput) PullRequestBypassers() pulumi.StringArrayOutput
func (BranchProtectionRequiredPullRequestReviewOutput) RequireCodeOwnerReviews ¶
func (o BranchProtectionRequiredPullRequestReviewOutput) RequireCodeOwnerReviews() pulumi.BoolPtrOutput
func (BranchProtectionRequiredPullRequestReviewOutput) RequiredApprovingReviewCount ¶
func (o BranchProtectionRequiredPullRequestReviewOutput) RequiredApprovingReviewCount() pulumi.IntPtrOutput
func (BranchProtectionRequiredPullRequestReviewOutput) RestrictDismissals ¶ added in v4.3.0
func (o BranchProtectionRequiredPullRequestReviewOutput) RestrictDismissals() pulumi.BoolPtrOutput
func (BranchProtectionRequiredPullRequestReviewOutput) ToBranchProtectionRequiredPullRequestReviewOutput ¶
func (o BranchProtectionRequiredPullRequestReviewOutput) ToBranchProtectionRequiredPullRequestReviewOutput() BranchProtectionRequiredPullRequestReviewOutput
func (BranchProtectionRequiredPullRequestReviewOutput) ToBranchProtectionRequiredPullRequestReviewOutputWithContext ¶
func (o BranchProtectionRequiredPullRequestReviewOutput) ToBranchProtectionRequiredPullRequestReviewOutputWithContext(ctx context.Context) BranchProtectionRequiredPullRequestReviewOutput
type BranchProtectionRequiredStatusCheckArgs ¶
type BranchProtectionRequiredStatusCheckArgs struct { Contexts pulumi.StringArrayInput `pulumi:"contexts"` Strict pulumi.BoolPtrInput `pulumi:"strict"` }
func (BranchProtectionRequiredStatusCheckArgs) ElementType ¶
func (BranchProtectionRequiredStatusCheckArgs) ElementType() reflect.Type
func (BranchProtectionRequiredStatusCheckArgs) ToBranchProtectionRequiredStatusCheckOutput ¶
func (i BranchProtectionRequiredStatusCheckArgs) ToBranchProtectionRequiredStatusCheckOutput() BranchProtectionRequiredStatusCheckOutput
func (BranchProtectionRequiredStatusCheckArgs) ToBranchProtectionRequiredStatusCheckOutputWithContext ¶
func (i BranchProtectionRequiredStatusCheckArgs) ToBranchProtectionRequiredStatusCheckOutputWithContext(ctx context.Context) BranchProtectionRequiredStatusCheckOutput
type BranchProtectionRequiredStatusCheckArray ¶
type BranchProtectionRequiredStatusCheckArray []BranchProtectionRequiredStatusCheckInput
func (BranchProtectionRequiredStatusCheckArray) ElementType ¶
func (BranchProtectionRequiredStatusCheckArray) ElementType() reflect.Type
func (BranchProtectionRequiredStatusCheckArray) ToBranchProtectionRequiredStatusCheckArrayOutput ¶
func (i BranchProtectionRequiredStatusCheckArray) ToBranchProtectionRequiredStatusCheckArrayOutput() BranchProtectionRequiredStatusCheckArrayOutput
func (BranchProtectionRequiredStatusCheckArray) ToBranchProtectionRequiredStatusCheckArrayOutputWithContext ¶
func (i BranchProtectionRequiredStatusCheckArray) ToBranchProtectionRequiredStatusCheckArrayOutputWithContext(ctx context.Context) BranchProtectionRequiredStatusCheckArrayOutput
type BranchProtectionRequiredStatusCheckArrayInput ¶
type BranchProtectionRequiredStatusCheckArrayInput interface { pulumi.Input ToBranchProtectionRequiredStatusCheckArrayOutput() BranchProtectionRequiredStatusCheckArrayOutput ToBranchProtectionRequiredStatusCheckArrayOutputWithContext(context.Context) BranchProtectionRequiredStatusCheckArrayOutput }
BranchProtectionRequiredStatusCheckArrayInput is an input type that accepts BranchProtectionRequiredStatusCheckArray and BranchProtectionRequiredStatusCheckArrayOutput values. You can construct a concrete instance of `BranchProtectionRequiredStatusCheckArrayInput` via:
BranchProtectionRequiredStatusCheckArray{ BranchProtectionRequiredStatusCheckArgs{...} }
type BranchProtectionRequiredStatusCheckArrayOutput ¶
type BranchProtectionRequiredStatusCheckArrayOutput struct{ *pulumi.OutputState }
func (BranchProtectionRequiredStatusCheckArrayOutput) ElementType ¶
func (BranchProtectionRequiredStatusCheckArrayOutput) ElementType() reflect.Type
func (BranchProtectionRequiredStatusCheckArrayOutput) ToBranchProtectionRequiredStatusCheckArrayOutput ¶
func (o BranchProtectionRequiredStatusCheckArrayOutput) ToBranchProtectionRequiredStatusCheckArrayOutput() BranchProtectionRequiredStatusCheckArrayOutput
func (BranchProtectionRequiredStatusCheckArrayOutput) ToBranchProtectionRequiredStatusCheckArrayOutputWithContext ¶
func (o BranchProtectionRequiredStatusCheckArrayOutput) ToBranchProtectionRequiredStatusCheckArrayOutputWithContext(ctx context.Context) BranchProtectionRequiredStatusCheckArrayOutput
type BranchProtectionRequiredStatusCheckInput ¶
type BranchProtectionRequiredStatusCheckInput interface { pulumi.Input ToBranchProtectionRequiredStatusCheckOutput() BranchProtectionRequiredStatusCheckOutput ToBranchProtectionRequiredStatusCheckOutputWithContext(context.Context) BranchProtectionRequiredStatusCheckOutput }
BranchProtectionRequiredStatusCheckInput is an input type that accepts BranchProtectionRequiredStatusCheckArgs and BranchProtectionRequiredStatusCheckOutput values. You can construct a concrete instance of `BranchProtectionRequiredStatusCheckInput` via:
BranchProtectionRequiredStatusCheckArgs{...}
type BranchProtectionRequiredStatusCheckOutput ¶
type BranchProtectionRequiredStatusCheckOutput struct{ *pulumi.OutputState }
func (BranchProtectionRequiredStatusCheckOutput) Contexts ¶
func (o BranchProtectionRequiredStatusCheckOutput) Contexts() pulumi.StringArrayOutput
func (BranchProtectionRequiredStatusCheckOutput) ElementType ¶
func (BranchProtectionRequiredStatusCheckOutput) ElementType() reflect.Type
func (BranchProtectionRequiredStatusCheckOutput) Strict ¶
func (o BranchProtectionRequiredStatusCheckOutput) Strict() pulumi.BoolPtrOutput
func (BranchProtectionRequiredStatusCheckOutput) ToBranchProtectionRequiredStatusCheckOutput ¶
func (o BranchProtectionRequiredStatusCheckOutput) ToBranchProtectionRequiredStatusCheckOutput() BranchProtectionRequiredStatusCheckOutput
func (BranchProtectionRequiredStatusCheckOutput) ToBranchProtectionRequiredStatusCheckOutputWithContext ¶
func (o BranchProtectionRequiredStatusCheckOutput) ToBranchProtectionRequiredStatusCheckOutputWithContext(ctx context.Context) BranchProtectionRequiredStatusCheckOutput
type BranchProtectionState ¶
type BranchProtectionState struct { // Boolean, setting this to `true` to allow the branch to be deleted. AllowsDeletions pulumi.BoolPtrInput // Boolean, setting this to `true` to allow force pushes on the branch. AllowsForcePushes pulumi.BoolPtrInput // Boolean, setting this to `true` to block creating the branch. BlocksCreations pulumi.BoolPtrInput // Boolean, setting this to `true` enforces status checks for repository administrators. EnforceAdmins pulumi.BoolPtrInput // Identifies the protection rule pattern. Pattern pulumi.StringPtrInput // The list of actor IDs that may push to the branch. PushRestrictions pulumi.StringArrayInput // The name or node ID of the repository associated with this branch protection rule. RepositoryId pulumi.StringPtrInput // Boolean, setting this to `true` requires all conversations on code must be resolved before a pull request can be merged. RequireConversationResolution pulumi.BoolPtrInput // Boolean, setting this to `true` requires all commits to be signed with GPG. RequireSignedCommits pulumi.BoolPtrInput // Boolean, setting this to `true` enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch RequiredLinearHistory pulumi.BoolPtrInput // Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details. RequiredPullRequestReviews BranchProtectionRequiredPullRequestReviewArrayInput // Enforce restrictions for required status checks. See Required Status Checks below for details. RequiredStatusChecks BranchProtectionRequiredStatusCheckArrayInput }
func (BranchProtectionState) ElementType ¶
func (BranchProtectionState) ElementType() reflect.Type
type BranchProtectionV3 ¶
type BranchProtectionV3 struct { pulumi.CustomResourceState // The Git branch to protect. Branch pulumi.StringOutput `pulumi:"branch"` // Boolean, setting this to `true` enforces status checks for repository administrators. EnforceAdmins pulumi.BoolPtrOutput `pulumi:"enforceAdmins"` Etag pulumi.StringOutput `pulumi:"etag"` // The GitHub repository name. Repository pulumi.StringOutput `pulumi:"repository"` // Boolean, setting this to `true` requires all conversations on code must be resolved before a pull request can be merged. RequireConversationResolution pulumi.BoolPtrOutput `pulumi:"requireConversationResolution"` // Boolean, setting this to `true` requires all commits to be signed with GPG. RequireSignedCommits pulumi.BoolPtrOutput `pulumi:"requireSignedCommits"` // Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details. RequiredPullRequestReviews BranchProtectionV3RequiredPullRequestReviewsPtrOutput `pulumi:"requiredPullRequestReviews"` // Enforce restrictions for required status checks. See Required Status Checks below for details. RequiredStatusChecks BranchProtectionV3RequiredStatusChecksPtrOutput `pulumi:"requiredStatusChecks"` // Enforce restrictions for the users and teams that may push to the branch. See Restrictions below for details. Restrictions BranchProtectionV3RestrictionsPtrOutput `pulumi:"restrictions"` }
Protects a GitHub branch.
The `BranchProtection` resource has moved to the GraphQL API, while this resource will continue to leverage the REST API.
This resource allows you to configure branch protection for repositories in your organization. When applied, the branch will be protected from forced pushes and deletion. Additional constraints, such as required status checks or restrictions on users, teams, and apps, can also be configured.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewBranchProtectionV3(ctx, "example", &github.BranchProtectionV3Args{ Repository: pulumi.Any(github_repository.Example.Name), Branch: pulumi.String("main"), Restrictions: &BranchProtectionV3RestrictionsArgs{ Users: pulumi.StringArray{ pulumi.String("foo-user"), }, }, }) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleRepository, err := github.NewRepository(ctx, "exampleRepository", nil) if err != nil { return err } exampleTeam, err := github.NewTeam(ctx, "exampleTeam", nil) if err != nil { return err } _, err = github.NewBranchProtectionV3(ctx, "exampleBranchProtectionV3", &github.BranchProtectionV3Args{ Repository: exampleRepository.Name, Branch: pulumi.String("main"), EnforceAdmins: pulumi.Bool(true), RequiredStatusChecks: &BranchProtectionV3RequiredStatusChecksArgs{ Strict: pulumi.Bool(false), Contexts: pulumi.StringArray{ pulumi.String("ci/travis"), }, }, RequiredPullRequestReviews: &BranchProtectionV3RequiredPullRequestReviewsArgs{ DismissStaleReviews: pulumi.Bool(true), DismissalUsers: pulumi.StringArray{ pulumi.String("foo-user"), }, DismissalTeams: pulumi.StringArray{ exampleTeam.Slug, }, }, Restrictions: &BranchProtectionV3RestrictionsArgs{ Users: pulumi.StringArray{ pulumi.String("foo-user"), }, Teams: pulumi.StringArray{ exampleTeam.Slug, }, Apps: pulumi.StringArray{ pulumi.String("foo-app"), }, }, }) if err != nil { return err } _, err = github.NewTeamRepository(ctx, "exampleTeamRepository", &github.TeamRepositoryArgs{ TeamId: exampleTeam.ID(), Repository: exampleRepository.Name, Permission: pulumi.String("pull"), }) if err != nil { return err } return nil }) }
```
## Import
GitHub Branch Protection can be imported using an ID made up of `repository:branch`, e.g.
```sh
$ pulumi import github:index/branchProtectionV3:BranchProtectionV3 terraform terraform:main
```
func GetBranchProtectionV3 ¶
func GetBranchProtectionV3(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BranchProtectionV3State, opts ...pulumi.ResourceOption) (*BranchProtectionV3, error)
GetBranchProtectionV3 gets an existing BranchProtectionV3 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBranchProtectionV3 ¶
func NewBranchProtectionV3(ctx *pulumi.Context, name string, args *BranchProtectionV3Args, opts ...pulumi.ResourceOption) (*BranchProtectionV3, error)
NewBranchProtectionV3 registers a new resource with the given unique name, arguments, and options.
func (*BranchProtectionV3) ElementType ¶
func (*BranchProtectionV3) ElementType() reflect.Type
func (*BranchProtectionV3) ToBranchProtectionV3Output ¶
func (i *BranchProtectionV3) ToBranchProtectionV3Output() BranchProtectionV3Output
func (*BranchProtectionV3) ToBranchProtectionV3OutputWithContext ¶
func (i *BranchProtectionV3) ToBranchProtectionV3OutputWithContext(ctx context.Context) BranchProtectionV3Output
type BranchProtectionV3Args ¶
type BranchProtectionV3Args struct { // The Git branch to protect. Branch pulumi.StringInput // Boolean, setting this to `true` enforces status checks for repository administrators. EnforceAdmins pulumi.BoolPtrInput // The GitHub repository name. Repository pulumi.StringInput // Boolean, setting this to `true` requires all conversations on code must be resolved before a pull request can be merged. RequireConversationResolution pulumi.BoolPtrInput // Boolean, setting this to `true` requires all commits to be signed with GPG. RequireSignedCommits pulumi.BoolPtrInput // Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details. RequiredPullRequestReviews BranchProtectionV3RequiredPullRequestReviewsPtrInput // Enforce restrictions for required status checks. See Required Status Checks below for details. RequiredStatusChecks BranchProtectionV3RequiredStatusChecksPtrInput // Enforce restrictions for the users and teams that may push to the branch. See Restrictions below for details. Restrictions BranchProtectionV3RestrictionsPtrInput }
The set of arguments for constructing a BranchProtectionV3 resource.
func (BranchProtectionV3Args) ElementType ¶
func (BranchProtectionV3Args) ElementType() reflect.Type
type BranchProtectionV3Array ¶
type BranchProtectionV3Array []BranchProtectionV3Input
func (BranchProtectionV3Array) ElementType ¶
func (BranchProtectionV3Array) ElementType() reflect.Type
func (BranchProtectionV3Array) ToBranchProtectionV3ArrayOutput ¶
func (i BranchProtectionV3Array) ToBranchProtectionV3ArrayOutput() BranchProtectionV3ArrayOutput
func (BranchProtectionV3Array) ToBranchProtectionV3ArrayOutputWithContext ¶
func (i BranchProtectionV3Array) ToBranchProtectionV3ArrayOutputWithContext(ctx context.Context) BranchProtectionV3ArrayOutput
type BranchProtectionV3ArrayInput ¶
type BranchProtectionV3ArrayInput interface { pulumi.Input ToBranchProtectionV3ArrayOutput() BranchProtectionV3ArrayOutput ToBranchProtectionV3ArrayOutputWithContext(context.Context) BranchProtectionV3ArrayOutput }
BranchProtectionV3ArrayInput is an input type that accepts BranchProtectionV3Array and BranchProtectionV3ArrayOutput values. You can construct a concrete instance of `BranchProtectionV3ArrayInput` via:
BranchProtectionV3Array{ BranchProtectionV3Args{...} }
type BranchProtectionV3ArrayOutput ¶
type BranchProtectionV3ArrayOutput struct{ *pulumi.OutputState }
func (BranchProtectionV3ArrayOutput) ElementType ¶
func (BranchProtectionV3ArrayOutput) ElementType() reflect.Type
func (BranchProtectionV3ArrayOutput) Index ¶
func (o BranchProtectionV3ArrayOutput) Index(i pulumi.IntInput) BranchProtectionV3Output
func (BranchProtectionV3ArrayOutput) ToBranchProtectionV3ArrayOutput ¶
func (o BranchProtectionV3ArrayOutput) ToBranchProtectionV3ArrayOutput() BranchProtectionV3ArrayOutput
func (BranchProtectionV3ArrayOutput) ToBranchProtectionV3ArrayOutputWithContext ¶
func (o BranchProtectionV3ArrayOutput) ToBranchProtectionV3ArrayOutputWithContext(ctx context.Context) BranchProtectionV3ArrayOutput
type BranchProtectionV3Input ¶
type BranchProtectionV3Input interface { pulumi.Input ToBranchProtectionV3Output() BranchProtectionV3Output ToBranchProtectionV3OutputWithContext(ctx context.Context) BranchProtectionV3Output }
type BranchProtectionV3Map ¶
type BranchProtectionV3Map map[string]BranchProtectionV3Input
func (BranchProtectionV3Map) ElementType ¶
func (BranchProtectionV3Map) ElementType() reflect.Type
func (BranchProtectionV3Map) ToBranchProtectionV3MapOutput ¶
func (i BranchProtectionV3Map) ToBranchProtectionV3MapOutput() BranchProtectionV3MapOutput
func (BranchProtectionV3Map) ToBranchProtectionV3MapOutputWithContext ¶
func (i BranchProtectionV3Map) ToBranchProtectionV3MapOutputWithContext(ctx context.Context) BranchProtectionV3MapOutput
type BranchProtectionV3MapInput ¶
type BranchProtectionV3MapInput interface { pulumi.Input ToBranchProtectionV3MapOutput() BranchProtectionV3MapOutput ToBranchProtectionV3MapOutputWithContext(context.Context) BranchProtectionV3MapOutput }
BranchProtectionV3MapInput is an input type that accepts BranchProtectionV3Map and BranchProtectionV3MapOutput values. You can construct a concrete instance of `BranchProtectionV3MapInput` via:
BranchProtectionV3Map{ "key": BranchProtectionV3Args{...} }
type BranchProtectionV3MapOutput ¶
type BranchProtectionV3MapOutput struct{ *pulumi.OutputState }
func (BranchProtectionV3MapOutput) ElementType ¶
func (BranchProtectionV3MapOutput) ElementType() reflect.Type
func (BranchProtectionV3MapOutput) MapIndex ¶
func (o BranchProtectionV3MapOutput) MapIndex(k pulumi.StringInput) BranchProtectionV3Output
func (BranchProtectionV3MapOutput) ToBranchProtectionV3MapOutput ¶
func (o BranchProtectionV3MapOutput) ToBranchProtectionV3MapOutput() BranchProtectionV3MapOutput
func (BranchProtectionV3MapOutput) ToBranchProtectionV3MapOutputWithContext ¶
func (o BranchProtectionV3MapOutput) ToBranchProtectionV3MapOutputWithContext(ctx context.Context) BranchProtectionV3MapOutput
type BranchProtectionV3Output ¶
type BranchProtectionV3Output struct{ *pulumi.OutputState }
func (BranchProtectionV3Output) Branch ¶ added in v4.15.0
func (o BranchProtectionV3Output) Branch() pulumi.StringOutput
The Git branch to protect.
func (BranchProtectionV3Output) ElementType ¶
func (BranchProtectionV3Output) ElementType() reflect.Type
func (BranchProtectionV3Output) EnforceAdmins ¶ added in v4.15.0
func (o BranchProtectionV3Output) EnforceAdmins() pulumi.BoolPtrOutput
Boolean, setting this to `true` enforces status checks for repository administrators.
func (BranchProtectionV3Output) Etag ¶ added in v4.15.0
func (o BranchProtectionV3Output) Etag() pulumi.StringOutput
func (BranchProtectionV3Output) Repository ¶ added in v4.15.0
func (o BranchProtectionV3Output) Repository() pulumi.StringOutput
The GitHub repository name.
func (BranchProtectionV3Output) RequireConversationResolution ¶ added in v4.15.0
func (o BranchProtectionV3Output) RequireConversationResolution() pulumi.BoolPtrOutput
Boolean, setting this to `true` requires all conversations on code must be resolved before a pull request can be merged.
func (BranchProtectionV3Output) RequireSignedCommits ¶ added in v4.15.0
func (o BranchProtectionV3Output) RequireSignedCommits() pulumi.BoolPtrOutput
Boolean, setting this to `true` requires all commits to be signed with GPG.
func (BranchProtectionV3Output) RequiredPullRequestReviews ¶ added in v4.15.0
func (o BranchProtectionV3Output) RequiredPullRequestReviews() BranchProtectionV3RequiredPullRequestReviewsPtrOutput
Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details.
func (BranchProtectionV3Output) RequiredStatusChecks ¶ added in v4.15.0
func (o BranchProtectionV3Output) RequiredStatusChecks() BranchProtectionV3RequiredStatusChecksPtrOutput
Enforce restrictions for required status checks. See Required Status Checks below for details.
func (BranchProtectionV3Output) Restrictions ¶ added in v4.15.0
func (o BranchProtectionV3Output) Restrictions() BranchProtectionV3RestrictionsPtrOutput
Enforce restrictions for the users and teams that may push to the branch. See Restrictions below for details.
func (BranchProtectionV3Output) ToBranchProtectionV3Output ¶
func (o BranchProtectionV3Output) ToBranchProtectionV3Output() BranchProtectionV3Output
func (BranchProtectionV3Output) ToBranchProtectionV3OutputWithContext ¶
func (o BranchProtectionV3Output) ToBranchProtectionV3OutputWithContext(ctx context.Context) BranchProtectionV3Output
type BranchProtectionV3RequiredPullRequestReviews ¶
type BranchProtectionV3RequiredPullRequestReviews struct { DismissStaleReviews *bool `pulumi:"dismissStaleReviews"` DismissalTeams []string `pulumi:"dismissalTeams"` DismissalUsers []string `pulumi:"dismissalUsers"` // Deprecated: Use enforce_admins instead IncludeAdmins *bool `pulumi:"includeAdmins"` RequireCodeOwnerReviews *bool `pulumi:"requireCodeOwnerReviews"` RequiredApprovingReviewCount *int `pulumi:"requiredApprovingReviewCount"` }
type BranchProtectionV3RequiredPullRequestReviewsArgs ¶
type BranchProtectionV3RequiredPullRequestReviewsArgs struct { DismissStaleReviews pulumi.BoolPtrInput `pulumi:"dismissStaleReviews"` DismissalTeams pulumi.StringArrayInput `pulumi:"dismissalTeams"` DismissalUsers pulumi.StringArrayInput `pulumi:"dismissalUsers"` // Deprecated: Use enforce_admins instead IncludeAdmins pulumi.BoolPtrInput `pulumi:"includeAdmins"` RequireCodeOwnerReviews pulumi.BoolPtrInput `pulumi:"requireCodeOwnerReviews"` RequiredApprovingReviewCount pulumi.IntPtrInput `pulumi:"requiredApprovingReviewCount"` }
func (BranchProtectionV3RequiredPullRequestReviewsArgs) ElementType ¶
func (BranchProtectionV3RequiredPullRequestReviewsArgs) ElementType() reflect.Type
func (BranchProtectionV3RequiredPullRequestReviewsArgs) ToBranchProtectionV3RequiredPullRequestReviewsOutput ¶
func (i BranchProtectionV3RequiredPullRequestReviewsArgs) ToBranchProtectionV3RequiredPullRequestReviewsOutput() BranchProtectionV3RequiredPullRequestReviewsOutput
func (BranchProtectionV3RequiredPullRequestReviewsArgs) ToBranchProtectionV3RequiredPullRequestReviewsOutputWithContext ¶
func (i BranchProtectionV3RequiredPullRequestReviewsArgs) ToBranchProtectionV3RequiredPullRequestReviewsOutputWithContext(ctx context.Context) BranchProtectionV3RequiredPullRequestReviewsOutput
func (BranchProtectionV3RequiredPullRequestReviewsArgs) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutput ¶
func (i BranchProtectionV3RequiredPullRequestReviewsArgs) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutput() BranchProtectionV3RequiredPullRequestReviewsPtrOutput
func (BranchProtectionV3RequiredPullRequestReviewsArgs) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutputWithContext ¶
func (i BranchProtectionV3RequiredPullRequestReviewsArgs) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredPullRequestReviewsPtrOutput
type BranchProtectionV3RequiredPullRequestReviewsInput ¶
type BranchProtectionV3RequiredPullRequestReviewsInput interface { pulumi.Input ToBranchProtectionV3RequiredPullRequestReviewsOutput() BranchProtectionV3RequiredPullRequestReviewsOutput ToBranchProtectionV3RequiredPullRequestReviewsOutputWithContext(context.Context) BranchProtectionV3RequiredPullRequestReviewsOutput }
BranchProtectionV3RequiredPullRequestReviewsInput is an input type that accepts BranchProtectionV3RequiredPullRequestReviewsArgs and BranchProtectionV3RequiredPullRequestReviewsOutput values. You can construct a concrete instance of `BranchProtectionV3RequiredPullRequestReviewsInput` via:
BranchProtectionV3RequiredPullRequestReviewsArgs{...}
type BranchProtectionV3RequiredPullRequestReviewsOutput ¶
type BranchProtectionV3RequiredPullRequestReviewsOutput struct{ *pulumi.OutputState }
func (BranchProtectionV3RequiredPullRequestReviewsOutput) DismissStaleReviews ¶
func (o BranchProtectionV3RequiredPullRequestReviewsOutput) DismissStaleReviews() pulumi.BoolPtrOutput
func (BranchProtectionV3RequiredPullRequestReviewsOutput) DismissalTeams ¶
func (o BranchProtectionV3RequiredPullRequestReviewsOutput) DismissalTeams() pulumi.StringArrayOutput
func (BranchProtectionV3RequiredPullRequestReviewsOutput) DismissalUsers ¶
func (o BranchProtectionV3RequiredPullRequestReviewsOutput) DismissalUsers() pulumi.StringArrayOutput
func (BranchProtectionV3RequiredPullRequestReviewsOutput) ElementType ¶
func (BranchProtectionV3RequiredPullRequestReviewsOutput) ElementType() reflect.Type
func (BranchProtectionV3RequiredPullRequestReviewsOutput) IncludeAdmins
deprecated
func (o BranchProtectionV3RequiredPullRequestReviewsOutput) IncludeAdmins() pulumi.BoolPtrOutput
Deprecated: Use enforce_admins instead
func (BranchProtectionV3RequiredPullRequestReviewsOutput) RequireCodeOwnerReviews ¶
func (o BranchProtectionV3RequiredPullRequestReviewsOutput) RequireCodeOwnerReviews() pulumi.BoolPtrOutput
func (BranchProtectionV3RequiredPullRequestReviewsOutput) RequiredApprovingReviewCount ¶
func (o BranchProtectionV3RequiredPullRequestReviewsOutput) RequiredApprovingReviewCount() pulumi.IntPtrOutput
func (BranchProtectionV3RequiredPullRequestReviewsOutput) ToBranchProtectionV3RequiredPullRequestReviewsOutput ¶
func (o BranchProtectionV3RequiredPullRequestReviewsOutput) ToBranchProtectionV3RequiredPullRequestReviewsOutput() BranchProtectionV3RequiredPullRequestReviewsOutput
func (BranchProtectionV3RequiredPullRequestReviewsOutput) ToBranchProtectionV3RequiredPullRequestReviewsOutputWithContext ¶
func (o BranchProtectionV3RequiredPullRequestReviewsOutput) ToBranchProtectionV3RequiredPullRequestReviewsOutputWithContext(ctx context.Context) BranchProtectionV3RequiredPullRequestReviewsOutput
func (BranchProtectionV3RequiredPullRequestReviewsOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutput ¶
func (o BranchProtectionV3RequiredPullRequestReviewsOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutput() BranchProtectionV3RequiredPullRequestReviewsPtrOutput
func (BranchProtectionV3RequiredPullRequestReviewsOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutputWithContext ¶
func (o BranchProtectionV3RequiredPullRequestReviewsOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredPullRequestReviewsPtrOutput
type BranchProtectionV3RequiredPullRequestReviewsPtrInput ¶
type BranchProtectionV3RequiredPullRequestReviewsPtrInput interface { pulumi.Input ToBranchProtectionV3RequiredPullRequestReviewsPtrOutput() BranchProtectionV3RequiredPullRequestReviewsPtrOutput ToBranchProtectionV3RequiredPullRequestReviewsPtrOutputWithContext(context.Context) BranchProtectionV3RequiredPullRequestReviewsPtrOutput }
BranchProtectionV3RequiredPullRequestReviewsPtrInput is an input type that accepts BranchProtectionV3RequiredPullRequestReviewsArgs, BranchProtectionV3RequiredPullRequestReviewsPtr and BranchProtectionV3RequiredPullRequestReviewsPtrOutput values. You can construct a concrete instance of `BranchProtectionV3RequiredPullRequestReviewsPtrInput` via:
BranchProtectionV3RequiredPullRequestReviewsArgs{...} or: nil
func BranchProtectionV3RequiredPullRequestReviewsPtr ¶
func BranchProtectionV3RequiredPullRequestReviewsPtr(v *BranchProtectionV3RequiredPullRequestReviewsArgs) BranchProtectionV3RequiredPullRequestReviewsPtrInput
type BranchProtectionV3RequiredPullRequestReviewsPtrOutput ¶
type BranchProtectionV3RequiredPullRequestReviewsPtrOutput struct{ *pulumi.OutputState }
func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) DismissStaleReviews ¶
func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) DismissStaleReviews() pulumi.BoolPtrOutput
func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) DismissalTeams ¶
func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) DismissalTeams() pulumi.StringArrayOutput
func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) DismissalUsers ¶
func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) DismissalUsers() pulumi.StringArrayOutput
func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) ElementType ¶
func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) ElementType() reflect.Type
func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) IncludeAdmins
deprecated
func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) IncludeAdmins() pulumi.BoolPtrOutput
Deprecated: Use enforce_admins instead
func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) RequireCodeOwnerReviews ¶
func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) RequireCodeOwnerReviews() pulumi.BoolPtrOutput
func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) RequiredApprovingReviewCount ¶
func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) RequiredApprovingReviewCount() pulumi.IntPtrOutput
func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutput ¶
func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutput() BranchProtectionV3RequiredPullRequestReviewsPtrOutput
func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutputWithContext ¶
func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredPullRequestReviewsPtrOutput
type BranchProtectionV3RequiredStatusChecksArgs ¶
type BranchProtectionV3RequiredStatusChecksArgs struct { Contexts pulumi.StringArrayInput `pulumi:"contexts"` // Deprecated: Use enforce_admins instead IncludeAdmins pulumi.BoolPtrInput `pulumi:"includeAdmins"` Strict pulumi.BoolPtrInput `pulumi:"strict"` }
func (BranchProtectionV3RequiredStatusChecksArgs) ElementType ¶
func (BranchProtectionV3RequiredStatusChecksArgs) ElementType() reflect.Type
func (BranchProtectionV3RequiredStatusChecksArgs) ToBranchProtectionV3RequiredStatusChecksOutput ¶
func (i BranchProtectionV3RequiredStatusChecksArgs) ToBranchProtectionV3RequiredStatusChecksOutput() BranchProtectionV3RequiredStatusChecksOutput
func (BranchProtectionV3RequiredStatusChecksArgs) ToBranchProtectionV3RequiredStatusChecksOutputWithContext ¶
func (i BranchProtectionV3RequiredStatusChecksArgs) ToBranchProtectionV3RequiredStatusChecksOutputWithContext(ctx context.Context) BranchProtectionV3RequiredStatusChecksOutput
func (BranchProtectionV3RequiredStatusChecksArgs) ToBranchProtectionV3RequiredStatusChecksPtrOutput ¶
func (i BranchProtectionV3RequiredStatusChecksArgs) ToBranchProtectionV3RequiredStatusChecksPtrOutput() BranchProtectionV3RequiredStatusChecksPtrOutput
func (BranchProtectionV3RequiredStatusChecksArgs) ToBranchProtectionV3RequiredStatusChecksPtrOutputWithContext ¶
func (i BranchProtectionV3RequiredStatusChecksArgs) ToBranchProtectionV3RequiredStatusChecksPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredStatusChecksPtrOutput
type BranchProtectionV3RequiredStatusChecksInput ¶
type BranchProtectionV3RequiredStatusChecksInput interface { pulumi.Input ToBranchProtectionV3RequiredStatusChecksOutput() BranchProtectionV3RequiredStatusChecksOutput ToBranchProtectionV3RequiredStatusChecksOutputWithContext(context.Context) BranchProtectionV3RequiredStatusChecksOutput }
BranchProtectionV3RequiredStatusChecksInput is an input type that accepts BranchProtectionV3RequiredStatusChecksArgs and BranchProtectionV3RequiredStatusChecksOutput values. You can construct a concrete instance of `BranchProtectionV3RequiredStatusChecksInput` via:
BranchProtectionV3RequiredStatusChecksArgs{...}
type BranchProtectionV3RequiredStatusChecksOutput ¶
type BranchProtectionV3RequiredStatusChecksOutput struct{ *pulumi.OutputState }
func (BranchProtectionV3RequiredStatusChecksOutput) Contexts ¶
func (o BranchProtectionV3RequiredStatusChecksOutput) Contexts() pulumi.StringArrayOutput
func (BranchProtectionV3RequiredStatusChecksOutput) ElementType ¶
func (BranchProtectionV3RequiredStatusChecksOutput) ElementType() reflect.Type
func (BranchProtectionV3RequiredStatusChecksOutput) IncludeAdmins
deprecated
func (o BranchProtectionV3RequiredStatusChecksOutput) IncludeAdmins() pulumi.BoolPtrOutput
Deprecated: Use enforce_admins instead
func (BranchProtectionV3RequiredStatusChecksOutput) Strict ¶
func (o BranchProtectionV3RequiredStatusChecksOutput) Strict() pulumi.BoolPtrOutput
func (BranchProtectionV3RequiredStatusChecksOutput) ToBranchProtectionV3RequiredStatusChecksOutput ¶
func (o BranchProtectionV3RequiredStatusChecksOutput) ToBranchProtectionV3RequiredStatusChecksOutput() BranchProtectionV3RequiredStatusChecksOutput
func (BranchProtectionV3RequiredStatusChecksOutput) ToBranchProtectionV3RequiredStatusChecksOutputWithContext ¶
func (o BranchProtectionV3RequiredStatusChecksOutput) ToBranchProtectionV3RequiredStatusChecksOutputWithContext(ctx context.Context) BranchProtectionV3RequiredStatusChecksOutput
func (BranchProtectionV3RequiredStatusChecksOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutput ¶
func (o BranchProtectionV3RequiredStatusChecksOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutput() BranchProtectionV3RequiredStatusChecksPtrOutput
func (BranchProtectionV3RequiredStatusChecksOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutputWithContext ¶
func (o BranchProtectionV3RequiredStatusChecksOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredStatusChecksPtrOutput
type BranchProtectionV3RequiredStatusChecksPtrInput ¶
type BranchProtectionV3RequiredStatusChecksPtrInput interface { pulumi.Input ToBranchProtectionV3RequiredStatusChecksPtrOutput() BranchProtectionV3RequiredStatusChecksPtrOutput ToBranchProtectionV3RequiredStatusChecksPtrOutputWithContext(context.Context) BranchProtectionV3RequiredStatusChecksPtrOutput }
BranchProtectionV3RequiredStatusChecksPtrInput is an input type that accepts BranchProtectionV3RequiredStatusChecksArgs, BranchProtectionV3RequiredStatusChecksPtr and BranchProtectionV3RequiredStatusChecksPtrOutput values. You can construct a concrete instance of `BranchProtectionV3RequiredStatusChecksPtrInput` via:
BranchProtectionV3RequiredStatusChecksArgs{...} or: nil
func BranchProtectionV3RequiredStatusChecksPtr ¶
func BranchProtectionV3RequiredStatusChecksPtr(v *BranchProtectionV3RequiredStatusChecksArgs) BranchProtectionV3RequiredStatusChecksPtrInput
type BranchProtectionV3RequiredStatusChecksPtrOutput ¶
type BranchProtectionV3RequiredStatusChecksPtrOutput struct{ *pulumi.OutputState }
func (BranchProtectionV3RequiredStatusChecksPtrOutput) Contexts ¶
func (o BranchProtectionV3RequiredStatusChecksPtrOutput) Contexts() pulumi.StringArrayOutput
func (BranchProtectionV3RequiredStatusChecksPtrOutput) ElementType ¶
func (BranchProtectionV3RequiredStatusChecksPtrOutput) ElementType() reflect.Type
func (BranchProtectionV3RequiredStatusChecksPtrOutput) IncludeAdmins
deprecated
func (o BranchProtectionV3RequiredStatusChecksPtrOutput) IncludeAdmins() pulumi.BoolPtrOutput
Deprecated: Use enforce_admins instead
func (BranchProtectionV3RequiredStatusChecksPtrOutput) Strict ¶
func (o BranchProtectionV3RequiredStatusChecksPtrOutput) Strict() pulumi.BoolPtrOutput
func (BranchProtectionV3RequiredStatusChecksPtrOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutput ¶
func (o BranchProtectionV3RequiredStatusChecksPtrOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutput() BranchProtectionV3RequiredStatusChecksPtrOutput
func (BranchProtectionV3RequiredStatusChecksPtrOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutputWithContext ¶
func (o BranchProtectionV3RequiredStatusChecksPtrOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredStatusChecksPtrOutput
type BranchProtectionV3RestrictionsArgs ¶
type BranchProtectionV3RestrictionsArgs struct { Apps pulumi.StringArrayInput `pulumi:"apps"` Teams pulumi.StringArrayInput `pulumi:"teams"` Users pulumi.StringArrayInput `pulumi:"users"` }
func (BranchProtectionV3RestrictionsArgs) ElementType ¶
func (BranchProtectionV3RestrictionsArgs) ElementType() reflect.Type
func (BranchProtectionV3RestrictionsArgs) ToBranchProtectionV3RestrictionsOutput ¶
func (i BranchProtectionV3RestrictionsArgs) ToBranchProtectionV3RestrictionsOutput() BranchProtectionV3RestrictionsOutput
func (BranchProtectionV3RestrictionsArgs) ToBranchProtectionV3RestrictionsOutputWithContext ¶
func (i BranchProtectionV3RestrictionsArgs) ToBranchProtectionV3RestrictionsOutputWithContext(ctx context.Context) BranchProtectionV3RestrictionsOutput
func (BranchProtectionV3RestrictionsArgs) ToBranchProtectionV3RestrictionsPtrOutput ¶
func (i BranchProtectionV3RestrictionsArgs) ToBranchProtectionV3RestrictionsPtrOutput() BranchProtectionV3RestrictionsPtrOutput
func (BranchProtectionV3RestrictionsArgs) ToBranchProtectionV3RestrictionsPtrOutputWithContext ¶
func (i BranchProtectionV3RestrictionsArgs) ToBranchProtectionV3RestrictionsPtrOutputWithContext(ctx context.Context) BranchProtectionV3RestrictionsPtrOutput
type BranchProtectionV3RestrictionsInput ¶
type BranchProtectionV3RestrictionsInput interface { pulumi.Input ToBranchProtectionV3RestrictionsOutput() BranchProtectionV3RestrictionsOutput ToBranchProtectionV3RestrictionsOutputWithContext(context.Context) BranchProtectionV3RestrictionsOutput }
BranchProtectionV3RestrictionsInput is an input type that accepts BranchProtectionV3RestrictionsArgs and BranchProtectionV3RestrictionsOutput values. You can construct a concrete instance of `BranchProtectionV3RestrictionsInput` via:
BranchProtectionV3RestrictionsArgs{...}
type BranchProtectionV3RestrictionsOutput ¶
type BranchProtectionV3RestrictionsOutput struct{ *pulumi.OutputState }
func (BranchProtectionV3RestrictionsOutput) Apps ¶
func (o BranchProtectionV3RestrictionsOutput) Apps() pulumi.StringArrayOutput
func (BranchProtectionV3RestrictionsOutput) ElementType ¶
func (BranchProtectionV3RestrictionsOutput) ElementType() reflect.Type
func (BranchProtectionV3RestrictionsOutput) Teams ¶
func (o BranchProtectionV3RestrictionsOutput) Teams() pulumi.StringArrayOutput
func (BranchProtectionV3RestrictionsOutput) ToBranchProtectionV3RestrictionsOutput ¶
func (o BranchProtectionV3RestrictionsOutput) ToBranchProtectionV3RestrictionsOutput() BranchProtectionV3RestrictionsOutput
func (BranchProtectionV3RestrictionsOutput) ToBranchProtectionV3RestrictionsOutputWithContext ¶
func (o BranchProtectionV3RestrictionsOutput) ToBranchProtectionV3RestrictionsOutputWithContext(ctx context.Context) BranchProtectionV3RestrictionsOutput
func (BranchProtectionV3RestrictionsOutput) ToBranchProtectionV3RestrictionsPtrOutput ¶
func (o BranchProtectionV3RestrictionsOutput) ToBranchProtectionV3RestrictionsPtrOutput() BranchProtectionV3RestrictionsPtrOutput
func (BranchProtectionV3RestrictionsOutput) ToBranchProtectionV3RestrictionsPtrOutputWithContext ¶
func (o BranchProtectionV3RestrictionsOutput) ToBranchProtectionV3RestrictionsPtrOutputWithContext(ctx context.Context) BranchProtectionV3RestrictionsPtrOutput
func (BranchProtectionV3RestrictionsOutput) Users ¶
func (o BranchProtectionV3RestrictionsOutput) Users() pulumi.StringArrayOutput
type BranchProtectionV3RestrictionsPtrInput ¶
type BranchProtectionV3RestrictionsPtrInput interface { pulumi.Input ToBranchProtectionV3RestrictionsPtrOutput() BranchProtectionV3RestrictionsPtrOutput ToBranchProtectionV3RestrictionsPtrOutputWithContext(context.Context) BranchProtectionV3RestrictionsPtrOutput }
BranchProtectionV3RestrictionsPtrInput is an input type that accepts BranchProtectionV3RestrictionsArgs, BranchProtectionV3RestrictionsPtr and BranchProtectionV3RestrictionsPtrOutput values. You can construct a concrete instance of `BranchProtectionV3RestrictionsPtrInput` via:
BranchProtectionV3RestrictionsArgs{...} or: nil
func BranchProtectionV3RestrictionsPtr ¶
func BranchProtectionV3RestrictionsPtr(v *BranchProtectionV3RestrictionsArgs) BranchProtectionV3RestrictionsPtrInput
type BranchProtectionV3RestrictionsPtrOutput ¶
type BranchProtectionV3RestrictionsPtrOutput struct{ *pulumi.OutputState }
func (BranchProtectionV3RestrictionsPtrOutput) Apps ¶
func (o BranchProtectionV3RestrictionsPtrOutput) Apps() pulumi.StringArrayOutput
func (BranchProtectionV3RestrictionsPtrOutput) ElementType ¶
func (BranchProtectionV3RestrictionsPtrOutput) ElementType() reflect.Type
func (BranchProtectionV3RestrictionsPtrOutput) Teams ¶
func (o BranchProtectionV3RestrictionsPtrOutput) Teams() pulumi.StringArrayOutput
func (BranchProtectionV3RestrictionsPtrOutput) ToBranchProtectionV3RestrictionsPtrOutput ¶
func (o BranchProtectionV3RestrictionsPtrOutput) ToBranchProtectionV3RestrictionsPtrOutput() BranchProtectionV3RestrictionsPtrOutput
func (BranchProtectionV3RestrictionsPtrOutput) ToBranchProtectionV3RestrictionsPtrOutputWithContext ¶
func (o BranchProtectionV3RestrictionsPtrOutput) ToBranchProtectionV3RestrictionsPtrOutputWithContext(ctx context.Context) BranchProtectionV3RestrictionsPtrOutput
func (BranchProtectionV3RestrictionsPtrOutput) Users ¶
func (o BranchProtectionV3RestrictionsPtrOutput) Users() pulumi.StringArrayOutput
type BranchProtectionV3State ¶
type BranchProtectionV3State struct { // The Git branch to protect. Branch pulumi.StringPtrInput // Boolean, setting this to `true` enforces status checks for repository administrators. EnforceAdmins pulumi.BoolPtrInput Etag pulumi.StringPtrInput // The GitHub repository name. Repository pulumi.StringPtrInput // Boolean, setting this to `true` requires all conversations on code must be resolved before a pull request can be merged. RequireConversationResolution pulumi.BoolPtrInput // Boolean, setting this to `true` requires all commits to be signed with GPG. RequireSignedCommits pulumi.BoolPtrInput // Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details. RequiredPullRequestReviews BranchProtectionV3RequiredPullRequestReviewsPtrInput // Enforce restrictions for required status checks. See Required Status Checks below for details. RequiredStatusChecks BranchProtectionV3RequiredStatusChecksPtrInput // Enforce restrictions for the users and teams that may push to the branch. See Restrictions below for details. Restrictions BranchProtectionV3RestrictionsPtrInput }
func (BranchProtectionV3State) ElementType ¶
func (BranchProtectionV3State) ElementType() reflect.Type
type BranchState ¶
type BranchState struct { // The repository branch to create. Branch pulumi.StringPtrInput // An etag representing the Branch object. Etag pulumi.StringPtrInput // A string representing a branch reference, in the form of `refs/heads/<branch>`. Ref pulumi.StringPtrInput // The GitHub repository name. Repository pulumi.StringPtrInput // A string storing the reference's `HEAD` commit's SHA1. Sha pulumi.StringPtrInput // The branch name to start from. Defaults to `main`. SourceBranch pulumi.StringPtrInput // The commit hash to start from. Defaults to the tip of `sourceBranch`. If provided, `sourceBranch` is ignored. SourceSha pulumi.StringPtrInput }
func (BranchState) ElementType ¶
func (BranchState) ElementType() reflect.Type
type DependabotOrganizationSecret ¶ added in v4.13.0
type DependabotOrganizationSecret struct { pulumi.CustomResourceState CreatedAt pulumi.StringOutput `pulumi:"createdAt"` EncryptedValue pulumi.StringPtrOutput `pulumi:"encryptedValue"` PlaintextValue pulumi.StringPtrOutput `pulumi:"plaintextValue"` SecretName pulumi.StringOutput `pulumi:"secretName"` SelectedRepositoryIds pulumi.IntArrayOutput `pulumi:"selectedRepositoryIds"` UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` Visibility pulumi.StringOutput `pulumi:"visibility"` }
func GetDependabotOrganizationSecret ¶ added in v4.13.0
func GetDependabotOrganizationSecret(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DependabotOrganizationSecretState, opts ...pulumi.ResourceOption) (*DependabotOrganizationSecret, error)
GetDependabotOrganizationSecret gets an existing DependabotOrganizationSecret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDependabotOrganizationSecret ¶ added in v4.13.0
func NewDependabotOrganizationSecret(ctx *pulumi.Context, name string, args *DependabotOrganizationSecretArgs, opts ...pulumi.ResourceOption) (*DependabotOrganizationSecret, error)
NewDependabotOrganizationSecret registers a new resource with the given unique name, arguments, and options.
func (*DependabotOrganizationSecret) ElementType ¶ added in v4.13.0
func (*DependabotOrganizationSecret) ElementType() reflect.Type
func (*DependabotOrganizationSecret) ToDependabotOrganizationSecretOutput ¶ added in v4.13.0
func (i *DependabotOrganizationSecret) ToDependabotOrganizationSecretOutput() DependabotOrganizationSecretOutput
func (*DependabotOrganizationSecret) ToDependabotOrganizationSecretOutputWithContext ¶ added in v4.13.0
func (i *DependabotOrganizationSecret) ToDependabotOrganizationSecretOutputWithContext(ctx context.Context) DependabotOrganizationSecretOutput
type DependabotOrganizationSecretArgs ¶ added in v4.13.0
type DependabotOrganizationSecretArgs struct { EncryptedValue pulumi.StringPtrInput PlaintextValue pulumi.StringPtrInput SecretName pulumi.StringInput SelectedRepositoryIds pulumi.IntArrayInput Visibility pulumi.StringInput }
The set of arguments for constructing a DependabotOrganizationSecret resource.
func (DependabotOrganizationSecretArgs) ElementType ¶ added in v4.13.0
func (DependabotOrganizationSecretArgs) ElementType() reflect.Type
type DependabotOrganizationSecretArray ¶ added in v4.13.0
type DependabotOrganizationSecretArray []DependabotOrganizationSecretInput
func (DependabotOrganizationSecretArray) ElementType ¶ added in v4.13.0
func (DependabotOrganizationSecretArray) ElementType() reflect.Type
func (DependabotOrganizationSecretArray) ToDependabotOrganizationSecretArrayOutput ¶ added in v4.13.0
func (i DependabotOrganizationSecretArray) ToDependabotOrganizationSecretArrayOutput() DependabotOrganizationSecretArrayOutput
func (DependabotOrganizationSecretArray) ToDependabotOrganizationSecretArrayOutputWithContext ¶ added in v4.13.0
func (i DependabotOrganizationSecretArray) ToDependabotOrganizationSecretArrayOutputWithContext(ctx context.Context) DependabotOrganizationSecretArrayOutput
type DependabotOrganizationSecretArrayInput ¶ added in v4.13.0
type DependabotOrganizationSecretArrayInput interface { pulumi.Input ToDependabotOrganizationSecretArrayOutput() DependabotOrganizationSecretArrayOutput ToDependabotOrganizationSecretArrayOutputWithContext(context.Context) DependabotOrganizationSecretArrayOutput }
DependabotOrganizationSecretArrayInput is an input type that accepts DependabotOrganizationSecretArray and DependabotOrganizationSecretArrayOutput values. You can construct a concrete instance of `DependabotOrganizationSecretArrayInput` via:
DependabotOrganizationSecretArray{ DependabotOrganizationSecretArgs{...} }
type DependabotOrganizationSecretArrayOutput ¶ added in v4.13.0
type DependabotOrganizationSecretArrayOutput struct{ *pulumi.OutputState }
func (DependabotOrganizationSecretArrayOutput) ElementType ¶ added in v4.13.0
func (DependabotOrganizationSecretArrayOutput) ElementType() reflect.Type
func (DependabotOrganizationSecretArrayOutput) ToDependabotOrganizationSecretArrayOutput ¶ added in v4.13.0
func (o DependabotOrganizationSecretArrayOutput) ToDependabotOrganizationSecretArrayOutput() DependabotOrganizationSecretArrayOutput
func (DependabotOrganizationSecretArrayOutput) ToDependabotOrganizationSecretArrayOutputWithContext ¶ added in v4.13.0
func (o DependabotOrganizationSecretArrayOutput) ToDependabotOrganizationSecretArrayOutputWithContext(ctx context.Context) DependabotOrganizationSecretArrayOutput
type DependabotOrganizationSecretInput ¶ added in v4.13.0
type DependabotOrganizationSecretInput interface { pulumi.Input ToDependabotOrganizationSecretOutput() DependabotOrganizationSecretOutput ToDependabotOrganizationSecretOutputWithContext(ctx context.Context) DependabotOrganizationSecretOutput }
type DependabotOrganizationSecretMap ¶ added in v4.13.0
type DependabotOrganizationSecretMap map[string]DependabotOrganizationSecretInput
func (DependabotOrganizationSecretMap) ElementType ¶ added in v4.13.0
func (DependabotOrganizationSecretMap) ElementType() reflect.Type
func (DependabotOrganizationSecretMap) ToDependabotOrganizationSecretMapOutput ¶ added in v4.13.0
func (i DependabotOrganizationSecretMap) ToDependabotOrganizationSecretMapOutput() DependabotOrganizationSecretMapOutput
func (DependabotOrganizationSecretMap) ToDependabotOrganizationSecretMapOutputWithContext ¶ added in v4.13.0
func (i DependabotOrganizationSecretMap) ToDependabotOrganizationSecretMapOutputWithContext(ctx context.Context) DependabotOrganizationSecretMapOutput
type DependabotOrganizationSecretMapInput ¶ added in v4.13.0
type DependabotOrganizationSecretMapInput interface { pulumi.Input ToDependabotOrganizationSecretMapOutput() DependabotOrganizationSecretMapOutput ToDependabotOrganizationSecretMapOutputWithContext(context.Context) DependabotOrganizationSecretMapOutput }
DependabotOrganizationSecretMapInput is an input type that accepts DependabotOrganizationSecretMap and DependabotOrganizationSecretMapOutput values. You can construct a concrete instance of `DependabotOrganizationSecretMapInput` via:
DependabotOrganizationSecretMap{ "key": DependabotOrganizationSecretArgs{...} }
type DependabotOrganizationSecretMapOutput ¶ added in v4.13.0
type DependabotOrganizationSecretMapOutput struct{ *pulumi.OutputState }
func (DependabotOrganizationSecretMapOutput) ElementType ¶ added in v4.13.0
func (DependabotOrganizationSecretMapOutput) ElementType() reflect.Type
func (DependabotOrganizationSecretMapOutput) MapIndex ¶ added in v4.13.0
func (o DependabotOrganizationSecretMapOutput) MapIndex(k pulumi.StringInput) DependabotOrganizationSecretOutput
func (DependabotOrganizationSecretMapOutput) ToDependabotOrganizationSecretMapOutput ¶ added in v4.13.0
func (o DependabotOrganizationSecretMapOutput) ToDependabotOrganizationSecretMapOutput() DependabotOrganizationSecretMapOutput
func (DependabotOrganizationSecretMapOutput) ToDependabotOrganizationSecretMapOutputWithContext ¶ added in v4.13.0
func (o DependabotOrganizationSecretMapOutput) ToDependabotOrganizationSecretMapOutputWithContext(ctx context.Context) DependabotOrganizationSecretMapOutput
type DependabotOrganizationSecretOutput ¶ added in v4.13.0
type DependabotOrganizationSecretOutput struct{ *pulumi.OutputState }
func (DependabotOrganizationSecretOutput) CreatedAt ¶ added in v4.15.0
func (o DependabotOrganizationSecretOutput) CreatedAt() pulumi.StringOutput
func (DependabotOrganizationSecretOutput) ElementType ¶ added in v4.13.0
func (DependabotOrganizationSecretOutput) ElementType() reflect.Type
func (DependabotOrganizationSecretOutput) EncryptedValue ¶ added in v4.15.0
func (o DependabotOrganizationSecretOutput) EncryptedValue() pulumi.StringPtrOutput
func (DependabotOrganizationSecretOutput) PlaintextValue ¶ added in v4.15.0
func (o DependabotOrganizationSecretOutput) PlaintextValue() pulumi.StringPtrOutput
func (DependabotOrganizationSecretOutput) SecretName ¶ added in v4.15.0
func (o DependabotOrganizationSecretOutput) SecretName() pulumi.StringOutput
func (DependabotOrganizationSecretOutput) SelectedRepositoryIds ¶ added in v4.15.0
func (o DependabotOrganizationSecretOutput) SelectedRepositoryIds() pulumi.IntArrayOutput
func (DependabotOrganizationSecretOutput) ToDependabotOrganizationSecretOutput ¶ added in v4.13.0
func (o DependabotOrganizationSecretOutput) ToDependabotOrganizationSecretOutput() DependabotOrganizationSecretOutput
func (DependabotOrganizationSecretOutput) ToDependabotOrganizationSecretOutputWithContext ¶ added in v4.13.0
func (o DependabotOrganizationSecretOutput) ToDependabotOrganizationSecretOutputWithContext(ctx context.Context) DependabotOrganizationSecretOutput
func (DependabotOrganizationSecretOutput) UpdatedAt ¶ added in v4.15.0
func (o DependabotOrganizationSecretOutput) UpdatedAt() pulumi.StringOutput
func (DependabotOrganizationSecretOutput) Visibility ¶ added in v4.15.0
func (o DependabotOrganizationSecretOutput) Visibility() pulumi.StringOutput
type DependabotOrganizationSecretRepositories ¶ added in v4.13.0
type DependabotOrganizationSecretRepositories struct { pulumi.CustomResourceState SecretName pulumi.StringOutput `pulumi:"secretName"` SelectedRepositoryIds pulumi.IntArrayOutput `pulumi:"selectedRepositoryIds"` }
func GetDependabotOrganizationSecretRepositories ¶ added in v4.13.0
func GetDependabotOrganizationSecretRepositories(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DependabotOrganizationSecretRepositoriesState, opts ...pulumi.ResourceOption) (*DependabotOrganizationSecretRepositories, error)
GetDependabotOrganizationSecretRepositories gets an existing DependabotOrganizationSecretRepositories resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDependabotOrganizationSecretRepositories ¶ added in v4.13.0
func NewDependabotOrganizationSecretRepositories(ctx *pulumi.Context, name string, args *DependabotOrganizationSecretRepositoriesArgs, opts ...pulumi.ResourceOption) (*DependabotOrganizationSecretRepositories, error)
NewDependabotOrganizationSecretRepositories registers a new resource with the given unique name, arguments, and options.
func (*DependabotOrganizationSecretRepositories) ElementType ¶ added in v4.13.0
func (*DependabotOrganizationSecretRepositories) ElementType() reflect.Type
func (*DependabotOrganizationSecretRepositories) ToDependabotOrganizationSecretRepositoriesOutput ¶ added in v4.13.0
func (i *DependabotOrganizationSecretRepositories) ToDependabotOrganizationSecretRepositoriesOutput() DependabotOrganizationSecretRepositoriesOutput
func (*DependabotOrganizationSecretRepositories) ToDependabotOrganizationSecretRepositoriesOutputWithContext ¶ added in v4.13.0
func (i *DependabotOrganizationSecretRepositories) ToDependabotOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesOutput
type DependabotOrganizationSecretRepositoriesArgs ¶ added in v4.13.0
type DependabotOrganizationSecretRepositoriesArgs struct { SecretName pulumi.StringInput SelectedRepositoryIds pulumi.IntArrayInput }
The set of arguments for constructing a DependabotOrganizationSecretRepositories resource.
func (DependabotOrganizationSecretRepositoriesArgs) ElementType ¶ added in v4.13.0
func (DependabotOrganizationSecretRepositoriesArgs) ElementType() reflect.Type
type DependabotOrganizationSecretRepositoriesArray ¶ added in v4.13.0
type DependabotOrganizationSecretRepositoriesArray []DependabotOrganizationSecretRepositoriesInput
func (DependabotOrganizationSecretRepositoriesArray) ElementType ¶ added in v4.13.0
func (DependabotOrganizationSecretRepositoriesArray) ElementType() reflect.Type
func (DependabotOrganizationSecretRepositoriesArray) ToDependabotOrganizationSecretRepositoriesArrayOutput ¶ added in v4.13.0
func (i DependabotOrganizationSecretRepositoriesArray) ToDependabotOrganizationSecretRepositoriesArrayOutput() DependabotOrganizationSecretRepositoriesArrayOutput
func (DependabotOrganizationSecretRepositoriesArray) ToDependabotOrganizationSecretRepositoriesArrayOutputWithContext ¶ added in v4.13.0
func (i DependabotOrganizationSecretRepositoriesArray) ToDependabotOrganizationSecretRepositoriesArrayOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesArrayOutput
type DependabotOrganizationSecretRepositoriesArrayInput ¶ added in v4.13.0
type DependabotOrganizationSecretRepositoriesArrayInput interface { pulumi.Input ToDependabotOrganizationSecretRepositoriesArrayOutput() DependabotOrganizationSecretRepositoriesArrayOutput ToDependabotOrganizationSecretRepositoriesArrayOutputWithContext(context.Context) DependabotOrganizationSecretRepositoriesArrayOutput }
DependabotOrganizationSecretRepositoriesArrayInput is an input type that accepts DependabotOrganizationSecretRepositoriesArray and DependabotOrganizationSecretRepositoriesArrayOutput values. You can construct a concrete instance of `DependabotOrganizationSecretRepositoriesArrayInput` via:
DependabotOrganizationSecretRepositoriesArray{ DependabotOrganizationSecretRepositoriesArgs{...} }
type DependabotOrganizationSecretRepositoriesArrayOutput ¶ added in v4.13.0
type DependabotOrganizationSecretRepositoriesArrayOutput struct{ *pulumi.OutputState }
func (DependabotOrganizationSecretRepositoriesArrayOutput) ElementType ¶ added in v4.13.0
func (DependabotOrganizationSecretRepositoriesArrayOutput) ElementType() reflect.Type
func (DependabotOrganizationSecretRepositoriesArrayOutput) ToDependabotOrganizationSecretRepositoriesArrayOutput ¶ added in v4.13.0
func (o DependabotOrganizationSecretRepositoriesArrayOutput) ToDependabotOrganizationSecretRepositoriesArrayOutput() DependabotOrganizationSecretRepositoriesArrayOutput
func (DependabotOrganizationSecretRepositoriesArrayOutput) ToDependabotOrganizationSecretRepositoriesArrayOutputWithContext ¶ added in v4.13.0
func (o DependabotOrganizationSecretRepositoriesArrayOutput) ToDependabotOrganizationSecretRepositoriesArrayOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesArrayOutput
type DependabotOrganizationSecretRepositoriesInput ¶ added in v4.13.0
type DependabotOrganizationSecretRepositoriesInput interface { pulumi.Input ToDependabotOrganizationSecretRepositoriesOutput() DependabotOrganizationSecretRepositoriesOutput ToDependabotOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesOutput }
type DependabotOrganizationSecretRepositoriesMap ¶ added in v4.13.0
type DependabotOrganizationSecretRepositoriesMap map[string]DependabotOrganizationSecretRepositoriesInput
func (DependabotOrganizationSecretRepositoriesMap) ElementType ¶ added in v4.13.0
func (DependabotOrganizationSecretRepositoriesMap) ElementType() reflect.Type
func (DependabotOrganizationSecretRepositoriesMap) ToDependabotOrganizationSecretRepositoriesMapOutput ¶ added in v4.13.0
func (i DependabotOrganizationSecretRepositoriesMap) ToDependabotOrganizationSecretRepositoriesMapOutput() DependabotOrganizationSecretRepositoriesMapOutput
func (DependabotOrganizationSecretRepositoriesMap) ToDependabotOrganizationSecretRepositoriesMapOutputWithContext ¶ added in v4.13.0
func (i DependabotOrganizationSecretRepositoriesMap) ToDependabotOrganizationSecretRepositoriesMapOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesMapOutput
type DependabotOrganizationSecretRepositoriesMapInput ¶ added in v4.13.0
type DependabotOrganizationSecretRepositoriesMapInput interface { pulumi.Input ToDependabotOrganizationSecretRepositoriesMapOutput() DependabotOrganizationSecretRepositoriesMapOutput ToDependabotOrganizationSecretRepositoriesMapOutputWithContext(context.Context) DependabotOrganizationSecretRepositoriesMapOutput }
DependabotOrganizationSecretRepositoriesMapInput is an input type that accepts DependabotOrganizationSecretRepositoriesMap and DependabotOrganizationSecretRepositoriesMapOutput values. You can construct a concrete instance of `DependabotOrganizationSecretRepositoriesMapInput` via:
DependabotOrganizationSecretRepositoriesMap{ "key": DependabotOrganizationSecretRepositoriesArgs{...} }
type DependabotOrganizationSecretRepositoriesMapOutput ¶ added in v4.13.0
type DependabotOrganizationSecretRepositoriesMapOutput struct{ *pulumi.OutputState }
func (DependabotOrganizationSecretRepositoriesMapOutput) ElementType ¶ added in v4.13.0
func (DependabotOrganizationSecretRepositoriesMapOutput) ElementType() reflect.Type
func (DependabotOrganizationSecretRepositoriesMapOutput) ToDependabotOrganizationSecretRepositoriesMapOutput ¶ added in v4.13.0
func (o DependabotOrganizationSecretRepositoriesMapOutput) ToDependabotOrganizationSecretRepositoriesMapOutput() DependabotOrganizationSecretRepositoriesMapOutput
func (DependabotOrganizationSecretRepositoriesMapOutput) ToDependabotOrganizationSecretRepositoriesMapOutputWithContext ¶ added in v4.13.0
func (o DependabotOrganizationSecretRepositoriesMapOutput) ToDependabotOrganizationSecretRepositoriesMapOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesMapOutput
type DependabotOrganizationSecretRepositoriesOutput ¶ added in v4.13.0
type DependabotOrganizationSecretRepositoriesOutput struct{ *pulumi.OutputState }
func (DependabotOrganizationSecretRepositoriesOutput) ElementType ¶ added in v4.13.0
func (DependabotOrganizationSecretRepositoriesOutput) ElementType() reflect.Type
func (DependabotOrganizationSecretRepositoriesOutput) SecretName ¶ added in v4.15.0
func (o DependabotOrganizationSecretRepositoriesOutput) SecretName() pulumi.StringOutput
func (DependabotOrganizationSecretRepositoriesOutput) SelectedRepositoryIds ¶ added in v4.15.0
func (o DependabotOrganizationSecretRepositoriesOutput) SelectedRepositoryIds() pulumi.IntArrayOutput
func (DependabotOrganizationSecretRepositoriesOutput) ToDependabotOrganizationSecretRepositoriesOutput ¶ added in v4.13.0
func (o DependabotOrganizationSecretRepositoriesOutput) ToDependabotOrganizationSecretRepositoriesOutput() DependabotOrganizationSecretRepositoriesOutput
func (DependabotOrganizationSecretRepositoriesOutput) ToDependabotOrganizationSecretRepositoriesOutputWithContext ¶ added in v4.13.0
func (o DependabotOrganizationSecretRepositoriesOutput) ToDependabotOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesOutput
type DependabotOrganizationSecretRepositoriesState ¶ added in v4.13.0
type DependabotOrganizationSecretRepositoriesState struct { SecretName pulumi.StringPtrInput SelectedRepositoryIds pulumi.IntArrayInput }
func (DependabotOrganizationSecretRepositoriesState) ElementType ¶ added in v4.13.0
func (DependabotOrganizationSecretRepositoriesState) ElementType() reflect.Type
type DependabotOrganizationSecretState ¶ added in v4.13.0
type DependabotOrganizationSecretState struct { CreatedAt pulumi.StringPtrInput EncryptedValue pulumi.StringPtrInput PlaintextValue pulumi.StringPtrInput SecretName pulumi.StringPtrInput SelectedRepositoryIds pulumi.IntArrayInput UpdatedAt pulumi.StringPtrInput Visibility pulumi.StringPtrInput }
func (DependabotOrganizationSecretState) ElementType ¶ added in v4.13.0
func (DependabotOrganizationSecretState) ElementType() reflect.Type
type DependabotSecret ¶ added in v4.13.0
type DependabotSecret struct { pulumi.CustomResourceState CreatedAt pulumi.StringOutput `pulumi:"createdAt"` EncryptedValue pulumi.StringPtrOutput `pulumi:"encryptedValue"` PlaintextValue pulumi.StringPtrOutput `pulumi:"plaintextValue"` Repository pulumi.StringOutput `pulumi:"repository"` SecretName pulumi.StringOutput `pulumi:"secretName"` UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` }
func GetDependabotSecret ¶ added in v4.13.0
func GetDependabotSecret(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DependabotSecretState, opts ...pulumi.ResourceOption) (*DependabotSecret, error)
GetDependabotSecret gets an existing DependabotSecret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDependabotSecret ¶ added in v4.13.0
func NewDependabotSecret(ctx *pulumi.Context, name string, args *DependabotSecretArgs, opts ...pulumi.ResourceOption) (*DependabotSecret, error)
NewDependabotSecret registers a new resource with the given unique name, arguments, and options.
func (*DependabotSecret) ElementType ¶ added in v4.13.0
func (*DependabotSecret) ElementType() reflect.Type
func (*DependabotSecret) ToDependabotSecretOutput ¶ added in v4.13.0
func (i *DependabotSecret) ToDependabotSecretOutput() DependabotSecretOutput
func (*DependabotSecret) ToDependabotSecretOutputWithContext ¶ added in v4.13.0
func (i *DependabotSecret) ToDependabotSecretOutputWithContext(ctx context.Context) DependabotSecretOutput
type DependabotSecretArgs ¶ added in v4.13.0
type DependabotSecretArgs struct { EncryptedValue pulumi.StringPtrInput PlaintextValue pulumi.StringPtrInput Repository pulumi.StringInput SecretName pulumi.StringInput }
The set of arguments for constructing a DependabotSecret resource.
func (DependabotSecretArgs) ElementType ¶ added in v4.13.0
func (DependabotSecretArgs) ElementType() reflect.Type
type DependabotSecretArray ¶ added in v4.13.0
type DependabotSecretArray []DependabotSecretInput
func (DependabotSecretArray) ElementType ¶ added in v4.13.0
func (DependabotSecretArray) ElementType() reflect.Type
func (DependabotSecretArray) ToDependabotSecretArrayOutput ¶ added in v4.13.0
func (i DependabotSecretArray) ToDependabotSecretArrayOutput() DependabotSecretArrayOutput
func (DependabotSecretArray) ToDependabotSecretArrayOutputWithContext ¶ added in v4.13.0
func (i DependabotSecretArray) ToDependabotSecretArrayOutputWithContext(ctx context.Context) DependabotSecretArrayOutput
type DependabotSecretArrayInput ¶ added in v4.13.0
type DependabotSecretArrayInput interface { pulumi.Input ToDependabotSecretArrayOutput() DependabotSecretArrayOutput ToDependabotSecretArrayOutputWithContext(context.Context) DependabotSecretArrayOutput }
DependabotSecretArrayInput is an input type that accepts DependabotSecretArray and DependabotSecretArrayOutput values. You can construct a concrete instance of `DependabotSecretArrayInput` via:
DependabotSecretArray{ DependabotSecretArgs{...} }
type DependabotSecretArrayOutput ¶ added in v4.13.0
type DependabotSecretArrayOutput struct{ *pulumi.OutputState }
func (DependabotSecretArrayOutput) ElementType ¶ added in v4.13.0
func (DependabotSecretArrayOutput) ElementType() reflect.Type
func (DependabotSecretArrayOutput) Index ¶ added in v4.13.0
func (o DependabotSecretArrayOutput) Index(i pulumi.IntInput) DependabotSecretOutput
func (DependabotSecretArrayOutput) ToDependabotSecretArrayOutput ¶ added in v4.13.0
func (o DependabotSecretArrayOutput) ToDependabotSecretArrayOutput() DependabotSecretArrayOutput
func (DependabotSecretArrayOutput) ToDependabotSecretArrayOutputWithContext ¶ added in v4.13.0
func (o DependabotSecretArrayOutput) ToDependabotSecretArrayOutputWithContext(ctx context.Context) DependabotSecretArrayOutput
type DependabotSecretInput ¶ added in v4.13.0
type DependabotSecretInput interface { pulumi.Input ToDependabotSecretOutput() DependabotSecretOutput ToDependabotSecretOutputWithContext(ctx context.Context) DependabotSecretOutput }
type DependabotSecretMap ¶ added in v4.13.0
type DependabotSecretMap map[string]DependabotSecretInput
func (DependabotSecretMap) ElementType ¶ added in v4.13.0
func (DependabotSecretMap) ElementType() reflect.Type
func (DependabotSecretMap) ToDependabotSecretMapOutput ¶ added in v4.13.0
func (i DependabotSecretMap) ToDependabotSecretMapOutput() DependabotSecretMapOutput
func (DependabotSecretMap) ToDependabotSecretMapOutputWithContext ¶ added in v4.13.0
func (i DependabotSecretMap) ToDependabotSecretMapOutputWithContext(ctx context.Context) DependabotSecretMapOutput
type DependabotSecretMapInput ¶ added in v4.13.0
type DependabotSecretMapInput interface { pulumi.Input ToDependabotSecretMapOutput() DependabotSecretMapOutput ToDependabotSecretMapOutputWithContext(context.Context) DependabotSecretMapOutput }
DependabotSecretMapInput is an input type that accepts DependabotSecretMap and DependabotSecretMapOutput values. You can construct a concrete instance of `DependabotSecretMapInput` via:
DependabotSecretMap{ "key": DependabotSecretArgs{...} }
type DependabotSecretMapOutput ¶ added in v4.13.0
type DependabotSecretMapOutput struct{ *pulumi.OutputState }
func (DependabotSecretMapOutput) ElementType ¶ added in v4.13.0
func (DependabotSecretMapOutput) ElementType() reflect.Type
func (DependabotSecretMapOutput) MapIndex ¶ added in v4.13.0
func (o DependabotSecretMapOutput) MapIndex(k pulumi.StringInput) DependabotSecretOutput
func (DependabotSecretMapOutput) ToDependabotSecretMapOutput ¶ added in v4.13.0
func (o DependabotSecretMapOutput) ToDependabotSecretMapOutput() DependabotSecretMapOutput
func (DependabotSecretMapOutput) ToDependabotSecretMapOutputWithContext ¶ added in v4.13.0
func (o DependabotSecretMapOutput) ToDependabotSecretMapOutputWithContext(ctx context.Context) DependabotSecretMapOutput
type DependabotSecretOutput ¶ added in v4.13.0
type DependabotSecretOutput struct{ *pulumi.OutputState }
func (DependabotSecretOutput) CreatedAt ¶ added in v4.15.0
func (o DependabotSecretOutput) CreatedAt() pulumi.StringOutput
func (DependabotSecretOutput) ElementType ¶ added in v4.13.0
func (DependabotSecretOutput) ElementType() reflect.Type
func (DependabotSecretOutput) EncryptedValue ¶ added in v4.15.0
func (o DependabotSecretOutput) EncryptedValue() pulumi.StringPtrOutput
func (DependabotSecretOutput) PlaintextValue ¶ added in v4.15.0
func (o DependabotSecretOutput) PlaintextValue() pulumi.StringPtrOutput
func (DependabotSecretOutput) Repository ¶ added in v4.15.0
func (o DependabotSecretOutput) Repository() pulumi.StringOutput
func (DependabotSecretOutput) SecretName ¶ added in v4.15.0
func (o DependabotSecretOutput) SecretName() pulumi.StringOutput
func (DependabotSecretOutput) ToDependabotSecretOutput ¶ added in v4.13.0
func (o DependabotSecretOutput) ToDependabotSecretOutput() DependabotSecretOutput
func (DependabotSecretOutput) ToDependabotSecretOutputWithContext ¶ added in v4.13.0
func (o DependabotSecretOutput) ToDependabotSecretOutputWithContext(ctx context.Context) DependabotSecretOutput
func (DependabotSecretOutput) UpdatedAt ¶ added in v4.15.0
func (o DependabotSecretOutput) UpdatedAt() pulumi.StringOutput
type DependabotSecretState ¶ added in v4.13.0
type DependabotSecretState struct { CreatedAt pulumi.StringPtrInput EncryptedValue pulumi.StringPtrInput PlaintextValue pulumi.StringPtrInput Repository pulumi.StringPtrInput SecretName pulumi.StringPtrInput UpdatedAt pulumi.StringPtrInput }
func (DependabotSecretState) ElementType ¶ added in v4.13.0
func (DependabotSecretState) ElementType() reflect.Type
type EmuGroupMapping ¶ added in v4.12.0
type EmuGroupMapping struct { pulumi.CustomResourceState Etag pulumi.StringOutput `pulumi:"etag"` // Integer corresponding to the external group ID to be linked GroupId pulumi.IntOutput `pulumi:"groupId"` // Slug of the GitHub team TeamSlug pulumi.StringOutput `pulumi:"teamSlug"` }
This resource manages mappings between external groups for enterprise managed users and GitHub teams. It wraps the API detailed [here](https://docs.github.com/en/rest/reference/teams#external-groups). Note that this is a distinct resource from `TeamSyncGroupMapping`. `EmuGroupMapping` is special to the Enterprise Managed User (EMU) external group feature, whereas `TeamSyncGroupMapping` is specific to Identity Provider Groups.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewEmuGroupMapping(ctx, "exampleEmuGroupMapping", &github.EmuGroupMappingArgs{ GroupId: pulumi.Int(28836), TeamSlug: pulumi.String("emu-test-team"), }) if err != nil { return err } return nil }) }
```
## Import
GitHub EMU External Group Mappings can be imported using the external `group_id`, e.g.
```sh
$ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping 28836
```
func GetEmuGroupMapping ¶ added in v4.12.0
func GetEmuGroupMapping(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EmuGroupMappingState, opts ...pulumi.ResourceOption) (*EmuGroupMapping, error)
GetEmuGroupMapping gets an existing EmuGroupMapping resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEmuGroupMapping ¶ added in v4.12.0
func NewEmuGroupMapping(ctx *pulumi.Context, name string, args *EmuGroupMappingArgs, opts ...pulumi.ResourceOption) (*EmuGroupMapping, error)
NewEmuGroupMapping registers a new resource with the given unique name, arguments, and options.
func (*EmuGroupMapping) ElementType ¶ added in v4.12.0
func (*EmuGroupMapping) ElementType() reflect.Type
func (*EmuGroupMapping) ToEmuGroupMappingOutput ¶ added in v4.12.0
func (i *EmuGroupMapping) ToEmuGroupMappingOutput() EmuGroupMappingOutput
func (*EmuGroupMapping) ToEmuGroupMappingOutputWithContext ¶ added in v4.12.0
func (i *EmuGroupMapping) ToEmuGroupMappingOutputWithContext(ctx context.Context) EmuGroupMappingOutput
type EmuGroupMappingArgs ¶ added in v4.12.0
type EmuGroupMappingArgs struct { // Integer corresponding to the external group ID to be linked GroupId pulumi.IntInput // Slug of the GitHub team TeamSlug pulumi.StringInput }
The set of arguments for constructing a EmuGroupMapping resource.
func (EmuGroupMappingArgs) ElementType ¶ added in v4.12.0
func (EmuGroupMappingArgs) ElementType() reflect.Type
type EmuGroupMappingArray ¶ added in v4.12.0
type EmuGroupMappingArray []EmuGroupMappingInput
func (EmuGroupMappingArray) ElementType ¶ added in v4.12.0
func (EmuGroupMappingArray) ElementType() reflect.Type
func (EmuGroupMappingArray) ToEmuGroupMappingArrayOutput ¶ added in v4.12.0
func (i EmuGroupMappingArray) ToEmuGroupMappingArrayOutput() EmuGroupMappingArrayOutput
func (EmuGroupMappingArray) ToEmuGroupMappingArrayOutputWithContext ¶ added in v4.12.0
func (i EmuGroupMappingArray) ToEmuGroupMappingArrayOutputWithContext(ctx context.Context) EmuGroupMappingArrayOutput
type EmuGroupMappingArrayInput ¶ added in v4.12.0
type EmuGroupMappingArrayInput interface { pulumi.Input ToEmuGroupMappingArrayOutput() EmuGroupMappingArrayOutput ToEmuGroupMappingArrayOutputWithContext(context.Context) EmuGroupMappingArrayOutput }
EmuGroupMappingArrayInput is an input type that accepts EmuGroupMappingArray and EmuGroupMappingArrayOutput values. You can construct a concrete instance of `EmuGroupMappingArrayInput` via:
EmuGroupMappingArray{ EmuGroupMappingArgs{...} }
type EmuGroupMappingArrayOutput ¶ added in v4.12.0
type EmuGroupMappingArrayOutput struct{ *pulumi.OutputState }
func (EmuGroupMappingArrayOutput) ElementType ¶ added in v4.12.0
func (EmuGroupMappingArrayOutput) ElementType() reflect.Type
func (EmuGroupMappingArrayOutput) Index ¶ added in v4.12.0
func (o EmuGroupMappingArrayOutput) Index(i pulumi.IntInput) EmuGroupMappingOutput
func (EmuGroupMappingArrayOutput) ToEmuGroupMappingArrayOutput ¶ added in v4.12.0
func (o EmuGroupMappingArrayOutput) ToEmuGroupMappingArrayOutput() EmuGroupMappingArrayOutput
func (EmuGroupMappingArrayOutput) ToEmuGroupMappingArrayOutputWithContext ¶ added in v4.12.0
func (o EmuGroupMappingArrayOutput) ToEmuGroupMappingArrayOutputWithContext(ctx context.Context) EmuGroupMappingArrayOutput
type EmuGroupMappingInput ¶ added in v4.12.0
type EmuGroupMappingInput interface { pulumi.Input ToEmuGroupMappingOutput() EmuGroupMappingOutput ToEmuGroupMappingOutputWithContext(ctx context.Context) EmuGroupMappingOutput }
type EmuGroupMappingMap ¶ added in v4.12.0
type EmuGroupMappingMap map[string]EmuGroupMappingInput
func (EmuGroupMappingMap) ElementType ¶ added in v4.12.0
func (EmuGroupMappingMap) ElementType() reflect.Type
func (EmuGroupMappingMap) ToEmuGroupMappingMapOutput ¶ added in v4.12.0
func (i EmuGroupMappingMap) ToEmuGroupMappingMapOutput() EmuGroupMappingMapOutput
func (EmuGroupMappingMap) ToEmuGroupMappingMapOutputWithContext ¶ added in v4.12.0
func (i EmuGroupMappingMap) ToEmuGroupMappingMapOutputWithContext(ctx context.Context) EmuGroupMappingMapOutput
type EmuGroupMappingMapInput ¶ added in v4.12.0
type EmuGroupMappingMapInput interface { pulumi.Input ToEmuGroupMappingMapOutput() EmuGroupMappingMapOutput ToEmuGroupMappingMapOutputWithContext(context.Context) EmuGroupMappingMapOutput }
EmuGroupMappingMapInput is an input type that accepts EmuGroupMappingMap and EmuGroupMappingMapOutput values. You can construct a concrete instance of `EmuGroupMappingMapInput` via:
EmuGroupMappingMap{ "key": EmuGroupMappingArgs{...} }
type EmuGroupMappingMapOutput ¶ added in v4.12.0
type EmuGroupMappingMapOutput struct{ *pulumi.OutputState }
func (EmuGroupMappingMapOutput) ElementType ¶ added in v4.12.0
func (EmuGroupMappingMapOutput) ElementType() reflect.Type
func (EmuGroupMappingMapOutput) MapIndex ¶ added in v4.12.0
func (o EmuGroupMappingMapOutput) MapIndex(k pulumi.StringInput) EmuGroupMappingOutput
func (EmuGroupMappingMapOutput) ToEmuGroupMappingMapOutput ¶ added in v4.12.0
func (o EmuGroupMappingMapOutput) ToEmuGroupMappingMapOutput() EmuGroupMappingMapOutput
func (EmuGroupMappingMapOutput) ToEmuGroupMappingMapOutputWithContext ¶ added in v4.12.0
func (o EmuGroupMappingMapOutput) ToEmuGroupMappingMapOutputWithContext(ctx context.Context) EmuGroupMappingMapOutput
type EmuGroupMappingOutput ¶ added in v4.12.0
type EmuGroupMappingOutput struct{ *pulumi.OutputState }
func (EmuGroupMappingOutput) ElementType ¶ added in v4.12.0
func (EmuGroupMappingOutput) ElementType() reflect.Type
func (EmuGroupMappingOutput) Etag ¶ added in v4.15.0
func (o EmuGroupMappingOutput) Etag() pulumi.StringOutput
func (EmuGroupMappingOutput) GroupId ¶ added in v4.15.0
func (o EmuGroupMappingOutput) GroupId() pulumi.IntOutput
Integer corresponding to the external group ID to be linked
func (EmuGroupMappingOutput) TeamSlug ¶ added in v4.15.0
func (o EmuGroupMappingOutput) TeamSlug() pulumi.StringOutput
Slug of the GitHub team
func (EmuGroupMappingOutput) ToEmuGroupMappingOutput ¶ added in v4.12.0
func (o EmuGroupMappingOutput) ToEmuGroupMappingOutput() EmuGroupMappingOutput
func (EmuGroupMappingOutput) ToEmuGroupMappingOutputWithContext ¶ added in v4.12.0
func (o EmuGroupMappingOutput) ToEmuGroupMappingOutputWithContext(ctx context.Context) EmuGroupMappingOutput
type EmuGroupMappingState ¶ added in v4.12.0
type EmuGroupMappingState struct { Etag pulumi.StringPtrInput // Integer corresponding to the external group ID to be linked GroupId pulumi.IntPtrInput // Slug of the GitHub team TeamSlug pulumi.StringPtrInput }
func (EmuGroupMappingState) ElementType ¶ added in v4.12.0
func (EmuGroupMappingState) ElementType() reflect.Type
type GetActionsPublicKeyArgs ¶
type GetActionsPublicKeyArgs struct { // Name of the repository to get public key from. Repository string `pulumi:"repository"` }
A collection of arguments for invoking getActionsPublicKey.
type GetActionsPublicKeyOutputArgs ¶ added in v4.8.0
type GetActionsPublicKeyOutputArgs struct { // Name of the repository to get public key from. Repository pulumi.StringInput `pulumi:"repository"` }
A collection of arguments for invoking getActionsPublicKey.
func (GetActionsPublicKeyOutputArgs) ElementType ¶ added in v4.8.0
func (GetActionsPublicKeyOutputArgs) ElementType() reflect.Type
type GetActionsPublicKeyResult ¶
type GetActionsPublicKeyResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Actual key retrieved. Key string `pulumi:"key"` // ID of the key that has been retrieved. KeyId string `pulumi:"keyId"` Repository string `pulumi:"repository"` }
A collection of values returned by getActionsPublicKey.
func GetActionsPublicKey ¶
func GetActionsPublicKey(ctx *pulumi.Context, args *GetActionsPublicKeyArgs, opts ...pulumi.InvokeOption) (*GetActionsPublicKeyResult, error)
Use this data source to retrieve information about a GitHub Actions public key. This data source is required to be used with other GitHub secrets interactions. Note that the provider `token` must have admin rights to a repository to retrieve it's action public key.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.GetActionsPublicKey(ctx, &GetActionsPublicKeyArgs{ Repository: "example_repo", }, nil) if err != nil { return err } return nil }) }
```
type GetActionsPublicKeyResultOutput ¶ added in v4.8.0
type GetActionsPublicKeyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getActionsPublicKey.
func GetActionsPublicKeyOutput ¶ added in v4.8.0
func GetActionsPublicKeyOutput(ctx *pulumi.Context, args GetActionsPublicKeyOutputArgs, opts ...pulumi.InvokeOption) GetActionsPublicKeyResultOutput
func (GetActionsPublicKeyResultOutput) ElementType ¶ added in v4.8.0
func (GetActionsPublicKeyResultOutput) ElementType() reflect.Type
func (GetActionsPublicKeyResultOutput) Id ¶ added in v4.8.0
func (o GetActionsPublicKeyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetActionsPublicKeyResultOutput) Key ¶ added in v4.8.0
func (o GetActionsPublicKeyResultOutput) Key() pulumi.StringOutput
Actual key retrieved.
func (GetActionsPublicKeyResultOutput) KeyId ¶ added in v4.8.0
func (o GetActionsPublicKeyResultOutput) KeyId() pulumi.StringOutput
ID of the key that has been retrieved.
func (GetActionsPublicKeyResultOutput) Repository ¶ added in v4.8.0
func (o GetActionsPublicKeyResultOutput) Repository() pulumi.StringOutput
func (GetActionsPublicKeyResultOutput) ToGetActionsPublicKeyResultOutput ¶ added in v4.8.0
func (o GetActionsPublicKeyResultOutput) ToGetActionsPublicKeyResultOutput() GetActionsPublicKeyResultOutput
func (GetActionsPublicKeyResultOutput) ToGetActionsPublicKeyResultOutputWithContext ¶ added in v4.8.0
func (o GetActionsPublicKeyResultOutput) ToGetActionsPublicKeyResultOutputWithContext(ctx context.Context) GetActionsPublicKeyResultOutput
type GetCollaboratorsArgs ¶
type GetCollaboratorsArgs struct { // Filter collaborators returned by their affiliation. Can be one of: `outside`, `direct`, `all`. Defaults to `all`. Affiliation *string `pulumi:"affiliation"` // The organization that owns the repository. Owner string `pulumi:"owner"` // The name of the repository. Repository string `pulumi:"repository"` }
A collection of arguments for invoking getCollaborators.
type GetCollaboratorsCollaborator ¶
type GetCollaboratorsCollaborator struct { // The GitHub API URL for the collaborator's events. EventsUrl string `pulumi:"eventsUrl"` // The GitHub API URL for the collaborator's followers. FollowersUrl string `pulumi:"followersUrl"` // The GitHub API URL for those following the collaborator. FollowingUrl string `pulumi:"followingUrl"` // The GitHub API URL for the collaborator's gists. GistsUrl string `pulumi:"gistsUrl"` // The GitHub HTML URL for the collaborator. HtmlUrl string `pulumi:"htmlUrl"` // The ID of the collaborator. Id int `pulumi:"id"` // The collaborator's login. Login string `pulumi:"login"` // The GitHub API URL for the collaborator's organizations. OrganizationsUrl string `pulumi:"organizationsUrl"` // The permission of the collaborator. Permission string `pulumi:"permission"` // The GitHub API URL for the collaborator's received events. ReceivedEventsUrl string `pulumi:"receivedEventsUrl"` // The GitHub API URL for the collaborator's repositories. ReposUrl string `pulumi:"reposUrl"` // Whether the user is a GitHub admin. SiteAdmin bool `pulumi:"siteAdmin"` // The GitHub API URL for the collaborator's starred repositories. StarredUrl string `pulumi:"starredUrl"` // The GitHub API URL for the collaborator's subscribed repositories. SubscriptionsUrl string `pulumi:"subscriptionsUrl"` // The type of the collaborator (ex. `user`). Type string `pulumi:"type"` // The GitHub API URL for the collaborator. Url string `pulumi:"url"` }
type GetCollaboratorsCollaboratorArgs ¶
type GetCollaboratorsCollaboratorArgs struct { // The GitHub API URL for the collaborator's events. EventsUrl pulumi.StringInput `pulumi:"eventsUrl"` // The GitHub API URL for the collaborator's followers. FollowersUrl pulumi.StringInput `pulumi:"followersUrl"` // The GitHub API URL for those following the collaborator. FollowingUrl pulumi.StringInput `pulumi:"followingUrl"` // The GitHub API URL for the collaborator's gists. GistsUrl pulumi.StringInput `pulumi:"gistsUrl"` // The GitHub HTML URL for the collaborator. HtmlUrl pulumi.StringInput `pulumi:"htmlUrl"` // The ID of the collaborator. Id pulumi.IntInput `pulumi:"id"` // The collaborator's login. Login pulumi.StringInput `pulumi:"login"` // The GitHub API URL for the collaborator's organizations. OrganizationsUrl pulumi.StringInput `pulumi:"organizationsUrl"` // The permission of the collaborator. Permission pulumi.StringInput `pulumi:"permission"` // The GitHub API URL for the collaborator's received events. ReceivedEventsUrl pulumi.StringInput `pulumi:"receivedEventsUrl"` // The GitHub API URL for the collaborator's repositories. ReposUrl pulumi.StringInput `pulumi:"reposUrl"` // Whether the user is a GitHub admin. SiteAdmin pulumi.BoolInput `pulumi:"siteAdmin"` // The GitHub API URL for the collaborator's starred repositories. StarredUrl pulumi.StringInput `pulumi:"starredUrl"` // The GitHub API URL for the collaborator's subscribed repositories. SubscriptionsUrl pulumi.StringInput `pulumi:"subscriptionsUrl"` // The type of the collaborator (ex. `user`). Type pulumi.StringInput `pulumi:"type"` // The GitHub API URL for the collaborator. Url pulumi.StringInput `pulumi:"url"` }
func (GetCollaboratorsCollaboratorArgs) ElementType ¶
func (GetCollaboratorsCollaboratorArgs) ElementType() reflect.Type
func (GetCollaboratorsCollaboratorArgs) ToGetCollaboratorsCollaboratorOutput ¶
func (i GetCollaboratorsCollaboratorArgs) ToGetCollaboratorsCollaboratorOutput() GetCollaboratorsCollaboratorOutput
func (GetCollaboratorsCollaboratorArgs) ToGetCollaboratorsCollaboratorOutputWithContext ¶
func (i GetCollaboratorsCollaboratorArgs) ToGetCollaboratorsCollaboratorOutputWithContext(ctx context.Context) GetCollaboratorsCollaboratorOutput
type GetCollaboratorsCollaboratorArray ¶
type GetCollaboratorsCollaboratorArray []GetCollaboratorsCollaboratorInput
func (GetCollaboratorsCollaboratorArray) ElementType ¶
func (GetCollaboratorsCollaboratorArray) ElementType() reflect.Type
func (GetCollaboratorsCollaboratorArray) ToGetCollaboratorsCollaboratorArrayOutput ¶
func (i GetCollaboratorsCollaboratorArray) ToGetCollaboratorsCollaboratorArrayOutput() GetCollaboratorsCollaboratorArrayOutput
func (GetCollaboratorsCollaboratorArray) ToGetCollaboratorsCollaboratorArrayOutputWithContext ¶
func (i GetCollaboratorsCollaboratorArray) ToGetCollaboratorsCollaboratorArrayOutputWithContext(ctx context.Context) GetCollaboratorsCollaboratorArrayOutput
type GetCollaboratorsCollaboratorArrayInput ¶
type GetCollaboratorsCollaboratorArrayInput interface { pulumi.Input ToGetCollaboratorsCollaboratorArrayOutput() GetCollaboratorsCollaboratorArrayOutput ToGetCollaboratorsCollaboratorArrayOutputWithContext(context.Context) GetCollaboratorsCollaboratorArrayOutput }
GetCollaboratorsCollaboratorArrayInput is an input type that accepts GetCollaboratorsCollaboratorArray and GetCollaboratorsCollaboratorArrayOutput values. You can construct a concrete instance of `GetCollaboratorsCollaboratorArrayInput` via:
GetCollaboratorsCollaboratorArray{ GetCollaboratorsCollaboratorArgs{...} }
type GetCollaboratorsCollaboratorArrayOutput ¶
type GetCollaboratorsCollaboratorArrayOutput struct{ *pulumi.OutputState }
func (GetCollaboratorsCollaboratorArrayOutput) ElementType ¶
func (GetCollaboratorsCollaboratorArrayOutput) ElementType() reflect.Type
func (GetCollaboratorsCollaboratorArrayOutput) ToGetCollaboratorsCollaboratorArrayOutput ¶
func (o GetCollaboratorsCollaboratorArrayOutput) ToGetCollaboratorsCollaboratorArrayOutput() GetCollaboratorsCollaboratorArrayOutput
func (GetCollaboratorsCollaboratorArrayOutput) ToGetCollaboratorsCollaboratorArrayOutputWithContext ¶
func (o GetCollaboratorsCollaboratorArrayOutput) ToGetCollaboratorsCollaboratorArrayOutputWithContext(ctx context.Context) GetCollaboratorsCollaboratorArrayOutput
type GetCollaboratorsCollaboratorInput ¶
type GetCollaboratorsCollaboratorInput interface { pulumi.Input ToGetCollaboratorsCollaboratorOutput() GetCollaboratorsCollaboratorOutput ToGetCollaboratorsCollaboratorOutputWithContext(context.Context) GetCollaboratorsCollaboratorOutput }
GetCollaboratorsCollaboratorInput is an input type that accepts GetCollaboratorsCollaboratorArgs and GetCollaboratorsCollaboratorOutput values. You can construct a concrete instance of `GetCollaboratorsCollaboratorInput` via:
GetCollaboratorsCollaboratorArgs{...}
type GetCollaboratorsCollaboratorOutput ¶
type GetCollaboratorsCollaboratorOutput struct{ *pulumi.OutputState }
func (GetCollaboratorsCollaboratorOutput) ElementType ¶
func (GetCollaboratorsCollaboratorOutput) ElementType() reflect.Type
func (GetCollaboratorsCollaboratorOutput) EventsUrl ¶
func (o GetCollaboratorsCollaboratorOutput) EventsUrl() pulumi.StringOutput
The GitHub API URL for the collaborator's events.
func (GetCollaboratorsCollaboratorOutput) FollowersUrl ¶
func (o GetCollaboratorsCollaboratorOutput) FollowersUrl() pulumi.StringOutput
The GitHub API URL for the collaborator's followers.
func (GetCollaboratorsCollaboratorOutput) FollowingUrl ¶
func (o GetCollaboratorsCollaboratorOutput) FollowingUrl() pulumi.StringOutput
The GitHub API URL for those following the collaborator.
func (GetCollaboratorsCollaboratorOutput) GistsUrl ¶
func (o GetCollaboratorsCollaboratorOutput) GistsUrl() pulumi.StringOutput
The GitHub API URL for the collaborator's gists.
func (GetCollaboratorsCollaboratorOutput) HtmlUrl ¶
func (o GetCollaboratorsCollaboratorOutput) HtmlUrl() pulumi.StringOutput
The GitHub HTML URL for the collaborator.
func (GetCollaboratorsCollaboratorOutput) Id ¶
func (o GetCollaboratorsCollaboratorOutput) Id() pulumi.IntOutput
The ID of the collaborator.
func (GetCollaboratorsCollaboratorOutput) Login ¶
func (o GetCollaboratorsCollaboratorOutput) Login() pulumi.StringOutput
The collaborator's login.
func (GetCollaboratorsCollaboratorOutput) OrganizationsUrl ¶
func (o GetCollaboratorsCollaboratorOutput) OrganizationsUrl() pulumi.StringOutput
The GitHub API URL for the collaborator's organizations.
func (GetCollaboratorsCollaboratorOutput) Permission ¶
func (o GetCollaboratorsCollaboratorOutput) Permission() pulumi.StringOutput
The permission of the collaborator.
func (GetCollaboratorsCollaboratorOutput) ReceivedEventsUrl ¶
func (o GetCollaboratorsCollaboratorOutput) ReceivedEventsUrl() pulumi.StringOutput
The GitHub API URL for the collaborator's received events.
func (GetCollaboratorsCollaboratorOutput) ReposUrl ¶
func (o GetCollaboratorsCollaboratorOutput) ReposUrl() pulumi.StringOutput
The GitHub API URL for the collaborator's repositories.
func (GetCollaboratorsCollaboratorOutput) SiteAdmin ¶
func (o GetCollaboratorsCollaboratorOutput) SiteAdmin() pulumi.BoolOutput
Whether the user is a GitHub admin.
func (GetCollaboratorsCollaboratorOutput) StarredUrl ¶
func (o GetCollaboratorsCollaboratorOutput) StarredUrl() pulumi.StringOutput
The GitHub API URL for the collaborator's starred repositories.
func (GetCollaboratorsCollaboratorOutput) SubscriptionsUrl ¶
func (o GetCollaboratorsCollaboratorOutput) SubscriptionsUrl() pulumi.StringOutput
The GitHub API URL for the collaborator's subscribed repositories.
func (GetCollaboratorsCollaboratorOutput) ToGetCollaboratorsCollaboratorOutput ¶
func (o GetCollaboratorsCollaboratorOutput) ToGetCollaboratorsCollaboratorOutput() GetCollaboratorsCollaboratorOutput
func (GetCollaboratorsCollaboratorOutput) ToGetCollaboratorsCollaboratorOutputWithContext ¶
func (o GetCollaboratorsCollaboratorOutput) ToGetCollaboratorsCollaboratorOutputWithContext(ctx context.Context) GetCollaboratorsCollaboratorOutput
func (GetCollaboratorsCollaboratorOutput) Type ¶
func (o GetCollaboratorsCollaboratorOutput) Type() pulumi.StringOutput
The type of the collaborator (ex. `user`).
func (GetCollaboratorsCollaboratorOutput) Url ¶
func (o GetCollaboratorsCollaboratorOutput) Url() pulumi.StringOutput
The GitHub API URL for the collaborator.
type GetCollaboratorsOutputArgs ¶ added in v4.8.0
type GetCollaboratorsOutputArgs struct { // Filter collaborators returned by their affiliation. Can be one of: `outside`, `direct`, `all`. Defaults to `all`. Affiliation pulumi.StringPtrInput `pulumi:"affiliation"` // The organization that owns the repository. Owner pulumi.StringInput `pulumi:"owner"` // The name of the repository. Repository pulumi.StringInput `pulumi:"repository"` }
A collection of arguments for invoking getCollaborators.
func (GetCollaboratorsOutputArgs) ElementType ¶ added in v4.8.0
func (GetCollaboratorsOutputArgs) ElementType() reflect.Type
type GetCollaboratorsResult ¶
type GetCollaboratorsResult struct { Affiliation *string `pulumi:"affiliation"` // An Array of GitHub collaborators. Each `collaborator` block consists of the fields documented below. Collaborators []GetCollaboratorsCollaborator `pulumi:"collaborators"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Owner string `pulumi:"owner"` Repository string `pulumi:"repository"` }
A collection of values returned by getCollaborators.
func GetCollaborators ¶
func GetCollaborators(ctx *pulumi.Context, args *GetCollaboratorsArgs, opts ...pulumi.InvokeOption) (*GetCollaboratorsResult, error)
Use this data source to retrieve the collaborators for a given repository.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.GetCollaborators(ctx, &GetCollaboratorsArgs{ Owner: "example_owner", Repository: "example_repository", }, nil) if err != nil { return err } return nil }) }
```
type GetCollaboratorsResultOutput ¶ added in v4.8.0
type GetCollaboratorsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCollaborators.
func GetCollaboratorsOutput ¶ added in v4.8.0
func GetCollaboratorsOutput(ctx *pulumi.Context, args GetCollaboratorsOutputArgs, opts ...pulumi.InvokeOption) GetCollaboratorsResultOutput
func (GetCollaboratorsResultOutput) Affiliation ¶ added in v4.8.0
func (o GetCollaboratorsResultOutput) Affiliation() pulumi.StringPtrOutput
func (GetCollaboratorsResultOutput) Collaborators ¶ added in v4.8.0
func (o GetCollaboratorsResultOutput) Collaborators() GetCollaboratorsCollaboratorArrayOutput
An Array of GitHub collaborators. Each `collaborator` block consists of the fields documented below.
func (GetCollaboratorsResultOutput) ElementType ¶ added in v4.8.0
func (GetCollaboratorsResultOutput) ElementType() reflect.Type
func (GetCollaboratorsResultOutput) Id ¶ added in v4.8.0
func (o GetCollaboratorsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCollaboratorsResultOutput) Owner ¶ added in v4.8.0
func (o GetCollaboratorsResultOutput) Owner() pulumi.StringOutput
func (GetCollaboratorsResultOutput) Repository ¶ added in v4.8.0
func (o GetCollaboratorsResultOutput) Repository() pulumi.StringOutput
func (GetCollaboratorsResultOutput) ToGetCollaboratorsResultOutput ¶ added in v4.8.0
func (o GetCollaboratorsResultOutput) ToGetCollaboratorsResultOutput() GetCollaboratorsResultOutput
func (GetCollaboratorsResultOutput) ToGetCollaboratorsResultOutputWithContext ¶ added in v4.8.0
func (o GetCollaboratorsResultOutput) ToGetCollaboratorsResultOutputWithContext(ctx context.Context) GetCollaboratorsResultOutput
type GetDependabotPublicKeyArgs ¶ added in v4.13.0
type GetDependabotPublicKeyArgs struct {
Repository string `pulumi:"repository"`
}
A collection of arguments for invoking getDependabotPublicKey.
type GetDependabotPublicKeyOutputArgs ¶ added in v4.13.0
type GetDependabotPublicKeyOutputArgs struct {
Repository pulumi.StringInput `pulumi:"repository"`
}
A collection of arguments for invoking getDependabotPublicKey.
func (GetDependabotPublicKeyOutputArgs) ElementType ¶ added in v4.13.0
func (GetDependabotPublicKeyOutputArgs) ElementType() reflect.Type
type GetDependabotPublicKeyResult ¶ added in v4.13.0
type GetDependabotPublicKeyResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Key string `pulumi:"key"` KeyId string `pulumi:"keyId"` Repository string `pulumi:"repository"` }
A collection of values returned by getDependabotPublicKey.
func GetDependabotPublicKey ¶ added in v4.13.0
func GetDependabotPublicKey(ctx *pulumi.Context, args *GetDependabotPublicKeyArgs, opts ...pulumi.InvokeOption) (*GetDependabotPublicKeyResult, error)
type GetDependabotPublicKeyResultOutput ¶ added in v4.13.0
type GetDependabotPublicKeyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDependabotPublicKey.
func GetDependabotPublicKeyOutput ¶ added in v4.13.0
func GetDependabotPublicKeyOutput(ctx *pulumi.Context, args GetDependabotPublicKeyOutputArgs, opts ...pulumi.InvokeOption) GetDependabotPublicKeyResultOutput
func (GetDependabotPublicKeyResultOutput) ElementType ¶ added in v4.13.0
func (GetDependabotPublicKeyResultOutput) ElementType() reflect.Type
func (GetDependabotPublicKeyResultOutput) Id ¶ added in v4.13.0
func (o GetDependabotPublicKeyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDependabotPublicKeyResultOutput) Key ¶ added in v4.13.0
func (o GetDependabotPublicKeyResultOutput) Key() pulumi.StringOutput
func (GetDependabotPublicKeyResultOutput) KeyId ¶ added in v4.13.0
func (o GetDependabotPublicKeyResultOutput) KeyId() pulumi.StringOutput
func (GetDependabotPublicKeyResultOutput) Repository ¶ added in v4.13.0
func (o GetDependabotPublicKeyResultOutput) Repository() pulumi.StringOutput
func (GetDependabotPublicKeyResultOutput) ToGetDependabotPublicKeyResultOutput ¶ added in v4.13.0
func (o GetDependabotPublicKeyResultOutput) ToGetDependabotPublicKeyResultOutput() GetDependabotPublicKeyResultOutput
func (GetDependabotPublicKeyResultOutput) ToGetDependabotPublicKeyResultOutputWithContext ¶ added in v4.13.0
func (o GetDependabotPublicKeyResultOutput) ToGetDependabotPublicKeyResultOutputWithContext(ctx context.Context) GetDependabotPublicKeyResultOutput
type GetExternalGroupsExternalGroup ¶ added in v4.16.0
type GetExternalGroupsExternalGroupArgs ¶ added in v4.16.0
type GetExternalGroupsExternalGroupArgs struct { // the ID of the group. GroupId pulumi.IntInput `pulumi:"groupId"` // the name of the group. GroupName pulumi.StringInput `pulumi:"groupName"` // the date the group was last updated. UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` }
func (GetExternalGroupsExternalGroupArgs) ElementType ¶ added in v4.16.0
func (GetExternalGroupsExternalGroupArgs) ElementType() reflect.Type
func (GetExternalGroupsExternalGroupArgs) ToGetExternalGroupsExternalGroupOutput ¶ added in v4.16.0
func (i GetExternalGroupsExternalGroupArgs) ToGetExternalGroupsExternalGroupOutput() GetExternalGroupsExternalGroupOutput
func (GetExternalGroupsExternalGroupArgs) ToGetExternalGroupsExternalGroupOutputWithContext ¶ added in v4.16.0
func (i GetExternalGroupsExternalGroupArgs) ToGetExternalGroupsExternalGroupOutputWithContext(ctx context.Context) GetExternalGroupsExternalGroupOutput
type GetExternalGroupsExternalGroupArray ¶ added in v4.16.0
type GetExternalGroupsExternalGroupArray []GetExternalGroupsExternalGroupInput
func (GetExternalGroupsExternalGroupArray) ElementType ¶ added in v4.16.0
func (GetExternalGroupsExternalGroupArray) ElementType() reflect.Type
func (GetExternalGroupsExternalGroupArray) ToGetExternalGroupsExternalGroupArrayOutput ¶ added in v4.16.0
func (i GetExternalGroupsExternalGroupArray) ToGetExternalGroupsExternalGroupArrayOutput() GetExternalGroupsExternalGroupArrayOutput
func (GetExternalGroupsExternalGroupArray) ToGetExternalGroupsExternalGroupArrayOutputWithContext ¶ added in v4.16.0
func (i GetExternalGroupsExternalGroupArray) ToGetExternalGroupsExternalGroupArrayOutputWithContext(ctx context.Context) GetExternalGroupsExternalGroupArrayOutput
type GetExternalGroupsExternalGroupArrayInput ¶ added in v4.16.0
type GetExternalGroupsExternalGroupArrayInput interface { pulumi.Input ToGetExternalGroupsExternalGroupArrayOutput() GetExternalGroupsExternalGroupArrayOutput ToGetExternalGroupsExternalGroupArrayOutputWithContext(context.Context) GetExternalGroupsExternalGroupArrayOutput }
GetExternalGroupsExternalGroupArrayInput is an input type that accepts GetExternalGroupsExternalGroupArray and GetExternalGroupsExternalGroupArrayOutput values. You can construct a concrete instance of `GetExternalGroupsExternalGroupArrayInput` via:
GetExternalGroupsExternalGroupArray{ GetExternalGroupsExternalGroupArgs{...} }
type GetExternalGroupsExternalGroupArrayOutput ¶ added in v4.16.0
type GetExternalGroupsExternalGroupArrayOutput struct{ *pulumi.OutputState }
func (GetExternalGroupsExternalGroupArrayOutput) ElementType ¶ added in v4.16.0
func (GetExternalGroupsExternalGroupArrayOutput) ElementType() reflect.Type
func (GetExternalGroupsExternalGroupArrayOutput) ToGetExternalGroupsExternalGroupArrayOutput ¶ added in v4.16.0
func (o GetExternalGroupsExternalGroupArrayOutput) ToGetExternalGroupsExternalGroupArrayOutput() GetExternalGroupsExternalGroupArrayOutput
func (GetExternalGroupsExternalGroupArrayOutput) ToGetExternalGroupsExternalGroupArrayOutputWithContext ¶ added in v4.16.0
func (o GetExternalGroupsExternalGroupArrayOutput) ToGetExternalGroupsExternalGroupArrayOutputWithContext(ctx context.Context) GetExternalGroupsExternalGroupArrayOutput
type GetExternalGroupsExternalGroupInput ¶ added in v4.16.0
type GetExternalGroupsExternalGroupInput interface { pulumi.Input ToGetExternalGroupsExternalGroupOutput() GetExternalGroupsExternalGroupOutput ToGetExternalGroupsExternalGroupOutputWithContext(context.Context) GetExternalGroupsExternalGroupOutput }
GetExternalGroupsExternalGroupInput is an input type that accepts GetExternalGroupsExternalGroupArgs and GetExternalGroupsExternalGroupOutput values. You can construct a concrete instance of `GetExternalGroupsExternalGroupInput` via:
GetExternalGroupsExternalGroupArgs{...}
type GetExternalGroupsExternalGroupOutput ¶ added in v4.16.0
type GetExternalGroupsExternalGroupOutput struct{ *pulumi.OutputState }
func (GetExternalGroupsExternalGroupOutput) ElementType ¶ added in v4.16.0
func (GetExternalGroupsExternalGroupOutput) ElementType() reflect.Type
func (GetExternalGroupsExternalGroupOutput) GroupId ¶ added in v4.16.0
func (o GetExternalGroupsExternalGroupOutput) GroupId() pulumi.IntOutput
the ID of the group.
func (GetExternalGroupsExternalGroupOutput) GroupName ¶ added in v4.16.0
func (o GetExternalGroupsExternalGroupOutput) GroupName() pulumi.StringOutput
the name of the group.
func (GetExternalGroupsExternalGroupOutput) ToGetExternalGroupsExternalGroupOutput ¶ added in v4.16.0
func (o GetExternalGroupsExternalGroupOutput) ToGetExternalGroupsExternalGroupOutput() GetExternalGroupsExternalGroupOutput
func (GetExternalGroupsExternalGroupOutput) ToGetExternalGroupsExternalGroupOutputWithContext ¶ added in v4.16.0
func (o GetExternalGroupsExternalGroupOutput) ToGetExternalGroupsExternalGroupOutputWithContext(ctx context.Context) GetExternalGroupsExternalGroupOutput
func (GetExternalGroupsExternalGroupOutput) UpdatedAt ¶ added in v4.16.0
func (o GetExternalGroupsExternalGroupOutput) UpdatedAt() pulumi.StringOutput
the date the group was last updated.
type GetExternalGroupsResult ¶ added in v4.16.0
type GetExternalGroupsResult struct { // an array of external groups belonging to the organization. Each group consists of the fields documented below. ExternalGroups []GetExternalGroupsExternalGroup `pulumi:"externalGroups"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` }
A collection of values returned by getExternalGroups.
func GetExternalGroups ¶ added in v4.16.0
func GetExternalGroups(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetExternalGroupsResult, error)
Use this data source to retrieve external groups belonging to an organization.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleExternalGroups, err := github.GetExternalGroups(ctx, nil, nil) if err != nil { return err } localGroups := exampleExternalGroups ctx.Export("groups", localGroups) return nil }) }
```
type GetIpRangesResult ¶
type GetIpRangesResult struct { // An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from. Actions []string `pulumi:"actions"` // A subset of the `actions` array that contains IP addresses in IPv4 CIDR format. ActionsIpv4s []string `pulumi:"actionsIpv4s"` // A subset of the `actions` array that contains IP addresses in IPv6 CIDR format. ActionsIpv6s []string `pulumi:"actionsIpv6s"` // A subset of the `api` array that contains IP addresses in IPv4 CIDR format. ApiIpv4s []string `pulumi:"apiIpv4s"` // A subset of the `api` array that contains IP addresses in IPv6 CIDR format. ApiIpv6s []string `pulumi:"apiIpv6s"` // An Array of IP addresses in CIDR format for the GitHub API. Apis []string `pulumi:"apis"` // A subset of the `dependabot` array that contains IP addresses in IPv4 CIDR format. DependabotIpv4s []string `pulumi:"dependabotIpv4s"` // A subset of the `dependabot` array that contains IP addresses in IPv6 CIDR format. DependabotIpv6s []string `pulumi:"dependabotIpv6s"` // An array of IP addresses in CIDR format specifying the A records for dependabot. Dependabots []string `pulumi:"dependabots"` // A subset of the `git` array that contains IP addresses in IPv4 CIDR format. GitIpv4s []string `pulumi:"gitIpv4s"` // A subset of the `git` array that contains IP addresses in IPv6 CIDR format. GitIpv6s []string `pulumi:"gitIpv6s"` // An Array of IP addresses in CIDR format specifying the Git servers. Gits []string `pulumi:"gits"` // An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from. Hooks []string `pulumi:"hooks"` // A subset of the `hooks` array that contains IP addresses in IPv4 CIDR format. HooksIpv4s []string `pulumi:"hooksIpv4s"` // A subset of the `hooks` array that contains IP addresses in IPv6 CIDR format. HooksIpv6s []string `pulumi:"hooksIpv6s"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A subset of the `importer` array that contains IP addresses in IPv4 CIDR format. ImporterIpv4s []string `pulumi:"importerIpv4s"` // A subset of the `importer` array that contains IP addresses in IPv6 CIDR format. ImporterIpv6s []string `pulumi:"importerIpv6s"` // An Array of IP addresses in CIDR format specifying the A records for GitHub Importer. Importers []string `pulumi:"importers"` // An Array of IP addresses in CIDR format specifying the A records for GitHub Pages. Pages []string `pulumi:"pages"` // A subset of the `pages` array that contains IP addresses in IPv4 CIDR format. PagesIpv4s []string `pulumi:"pagesIpv4s"` // A subset of the `pages` array that contains IP addresses in IPv6 CIDR format. PagesIpv6s []string `pulumi:"pagesIpv6s"` // A subset of the `web` array that contains IP addresses in IPv4 CIDR format. WebIpv4s []string `pulumi:"webIpv4s"` // A subset of the `web` array that contains IP addresses in IPv6 CIDR format. WebIpv6s []string `pulumi:"webIpv6s"` // An Array of IP addresses in CIDR format for GitHub Web. Webs []string `pulumi:"webs"` }
A collection of values returned by getIpRanges.
func GetIpRanges ¶
func GetIpRanges(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetIpRangesResult, error)
Use this data source to retrieve information about GitHub's IP addresses.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.GetIpRanges(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type GetOrganizationArgs ¶
type GetOrganizationArgs struct { // The name of the organization account Name string `pulumi:"name"` }
A collection of arguments for invoking getOrganization.
type GetOrganizationOutputArgs ¶ added in v4.8.0
type GetOrganizationOutputArgs struct { // The name of the organization account Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getOrganization.
func (GetOrganizationOutputArgs) ElementType ¶ added in v4.8.0
func (GetOrganizationOutputArgs) ElementType() reflect.Type
type GetOrganizationResult ¶
type GetOrganizationResult struct { // The description the organization account Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The login of the organization account Login string `pulumi:"login"` // (`list`) A list with the members of the organization Members []string `pulumi:"members"` // The name of the organization account Name string `pulumi:"name"` NodeId string `pulumi:"nodeId"` Orgname string `pulumi:"orgname"` // The plan name for the organization account Plan string `pulumi:"plan"` // (`list`) A list with the repositories on the organization Repositories []string `pulumi:"repositories"` }
A collection of values returned by getOrganization.
func GetOrganization ¶
func GetOrganization(ctx *pulumi.Context, args *GetOrganizationArgs, opts ...pulumi.InvokeOption) (*GetOrganizationResult, error)
Use this data source to retrieve basic information about a GitHub Organization.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.GetOrganization(ctx, &GetOrganizationArgs{ Name: "github", }, nil) if err != nil { return err } return nil }) }
```
type GetOrganizationResultOutput ¶ added in v4.8.0
type GetOrganizationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOrganization.
func GetOrganizationOutput ¶ added in v4.8.0
func GetOrganizationOutput(ctx *pulumi.Context, args GetOrganizationOutputArgs, opts ...pulumi.InvokeOption) GetOrganizationResultOutput
func (GetOrganizationResultOutput) Description ¶ added in v4.8.0
func (o GetOrganizationResultOutput) Description() pulumi.StringOutput
The description the organization account
func (GetOrganizationResultOutput) ElementType ¶ added in v4.8.0
func (GetOrganizationResultOutput) ElementType() reflect.Type
func (GetOrganizationResultOutput) Id ¶ added in v4.8.0
func (o GetOrganizationResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetOrganizationResultOutput) Login ¶ added in v4.8.0
func (o GetOrganizationResultOutput) Login() pulumi.StringOutput
The login of the organization account
func (GetOrganizationResultOutput) Members ¶ added in v4.8.0
func (o GetOrganizationResultOutput) Members() pulumi.StringArrayOutput
(`list`) A list with the members of the organization
func (GetOrganizationResultOutput) Name ¶ added in v4.8.0
func (o GetOrganizationResultOutput) Name() pulumi.StringOutput
The name of the organization account
func (GetOrganizationResultOutput) NodeId ¶ added in v4.8.0
func (o GetOrganizationResultOutput) NodeId() pulumi.StringOutput
func (GetOrganizationResultOutput) Orgname ¶ added in v4.11.0
func (o GetOrganizationResultOutput) Orgname() pulumi.StringOutput
func (GetOrganizationResultOutput) Plan ¶ added in v4.8.0
func (o GetOrganizationResultOutput) Plan() pulumi.StringOutput
The plan name for the organization account
func (GetOrganizationResultOutput) Repositories ¶ added in v4.8.0
func (o GetOrganizationResultOutput) Repositories() pulumi.StringArrayOutput
(`list`) A list with the repositories on the organization
func (GetOrganizationResultOutput) ToGetOrganizationResultOutput ¶ added in v4.8.0
func (o GetOrganizationResultOutput) ToGetOrganizationResultOutput() GetOrganizationResultOutput
func (GetOrganizationResultOutput) ToGetOrganizationResultOutputWithContext ¶ added in v4.8.0
func (o GetOrganizationResultOutput) ToGetOrganizationResultOutputWithContext(ctx context.Context) GetOrganizationResultOutput
type GetOrganizationTeamSyncGroupsGroupArgs ¶
type GetOrganizationTeamSyncGroupsGroupArgs struct { // The description of the IdP group. GroupDescription pulumi.StringInput `pulumi:"groupDescription"` // The ID of the IdP group. GroupId pulumi.StringInput `pulumi:"groupId"` // The name of the IdP group. GroupName pulumi.StringInput `pulumi:"groupName"` }
func (GetOrganizationTeamSyncGroupsGroupArgs) ElementType ¶
func (GetOrganizationTeamSyncGroupsGroupArgs) ElementType() reflect.Type
func (GetOrganizationTeamSyncGroupsGroupArgs) ToGetOrganizationTeamSyncGroupsGroupOutput ¶
func (i GetOrganizationTeamSyncGroupsGroupArgs) ToGetOrganizationTeamSyncGroupsGroupOutput() GetOrganizationTeamSyncGroupsGroupOutput
func (GetOrganizationTeamSyncGroupsGroupArgs) ToGetOrganizationTeamSyncGroupsGroupOutputWithContext ¶
func (i GetOrganizationTeamSyncGroupsGroupArgs) ToGetOrganizationTeamSyncGroupsGroupOutputWithContext(ctx context.Context) GetOrganizationTeamSyncGroupsGroupOutput
type GetOrganizationTeamSyncGroupsGroupArray ¶
type GetOrganizationTeamSyncGroupsGroupArray []GetOrganizationTeamSyncGroupsGroupInput
func (GetOrganizationTeamSyncGroupsGroupArray) ElementType ¶
func (GetOrganizationTeamSyncGroupsGroupArray) ElementType() reflect.Type
func (GetOrganizationTeamSyncGroupsGroupArray) ToGetOrganizationTeamSyncGroupsGroupArrayOutput ¶
func (i GetOrganizationTeamSyncGroupsGroupArray) ToGetOrganizationTeamSyncGroupsGroupArrayOutput() GetOrganizationTeamSyncGroupsGroupArrayOutput
func (GetOrganizationTeamSyncGroupsGroupArray) ToGetOrganizationTeamSyncGroupsGroupArrayOutputWithContext ¶
func (i GetOrganizationTeamSyncGroupsGroupArray) ToGetOrganizationTeamSyncGroupsGroupArrayOutputWithContext(ctx context.Context) GetOrganizationTeamSyncGroupsGroupArrayOutput
type GetOrganizationTeamSyncGroupsGroupArrayInput ¶
type GetOrganizationTeamSyncGroupsGroupArrayInput interface { pulumi.Input ToGetOrganizationTeamSyncGroupsGroupArrayOutput() GetOrganizationTeamSyncGroupsGroupArrayOutput ToGetOrganizationTeamSyncGroupsGroupArrayOutputWithContext(context.Context) GetOrganizationTeamSyncGroupsGroupArrayOutput }
GetOrganizationTeamSyncGroupsGroupArrayInput is an input type that accepts GetOrganizationTeamSyncGroupsGroupArray and GetOrganizationTeamSyncGroupsGroupArrayOutput values. You can construct a concrete instance of `GetOrganizationTeamSyncGroupsGroupArrayInput` via:
GetOrganizationTeamSyncGroupsGroupArray{ GetOrganizationTeamSyncGroupsGroupArgs{...} }
type GetOrganizationTeamSyncGroupsGroupArrayOutput ¶
type GetOrganizationTeamSyncGroupsGroupArrayOutput struct{ *pulumi.OutputState }
func (GetOrganizationTeamSyncGroupsGroupArrayOutput) ElementType ¶
func (GetOrganizationTeamSyncGroupsGroupArrayOutput) ElementType() reflect.Type
func (GetOrganizationTeamSyncGroupsGroupArrayOutput) ToGetOrganizationTeamSyncGroupsGroupArrayOutput ¶
func (o GetOrganizationTeamSyncGroupsGroupArrayOutput) ToGetOrganizationTeamSyncGroupsGroupArrayOutput() GetOrganizationTeamSyncGroupsGroupArrayOutput
func (GetOrganizationTeamSyncGroupsGroupArrayOutput) ToGetOrganizationTeamSyncGroupsGroupArrayOutputWithContext ¶
func (o GetOrganizationTeamSyncGroupsGroupArrayOutput) ToGetOrganizationTeamSyncGroupsGroupArrayOutputWithContext(ctx context.Context) GetOrganizationTeamSyncGroupsGroupArrayOutput
type GetOrganizationTeamSyncGroupsGroupInput ¶
type GetOrganizationTeamSyncGroupsGroupInput interface { pulumi.Input ToGetOrganizationTeamSyncGroupsGroupOutput() GetOrganizationTeamSyncGroupsGroupOutput ToGetOrganizationTeamSyncGroupsGroupOutputWithContext(context.Context) GetOrganizationTeamSyncGroupsGroupOutput }
GetOrganizationTeamSyncGroupsGroupInput is an input type that accepts GetOrganizationTeamSyncGroupsGroupArgs and GetOrganizationTeamSyncGroupsGroupOutput values. You can construct a concrete instance of `GetOrganizationTeamSyncGroupsGroupInput` via:
GetOrganizationTeamSyncGroupsGroupArgs{...}
type GetOrganizationTeamSyncGroupsGroupOutput ¶
type GetOrganizationTeamSyncGroupsGroupOutput struct{ *pulumi.OutputState }
func (GetOrganizationTeamSyncGroupsGroupOutput) ElementType ¶
func (GetOrganizationTeamSyncGroupsGroupOutput) ElementType() reflect.Type
func (GetOrganizationTeamSyncGroupsGroupOutput) GroupDescription ¶
func (o GetOrganizationTeamSyncGroupsGroupOutput) GroupDescription() pulumi.StringOutput
The description of the IdP group.
func (GetOrganizationTeamSyncGroupsGroupOutput) GroupId ¶
func (o GetOrganizationTeamSyncGroupsGroupOutput) GroupId() pulumi.StringOutput
The ID of the IdP group.
func (GetOrganizationTeamSyncGroupsGroupOutput) GroupName ¶
func (o GetOrganizationTeamSyncGroupsGroupOutput) GroupName() pulumi.StringOutput
The name of the IdP group.
func (GetOrganizationTeamSyncGroupsGroupOutput) ToGetOrganizationTeamSyncGroupsGroupOutput ¶
func (o GetOrganizationTeamSyncGroupsGroupOutput) ToGetOrganizationTeamSyncGroupsGroupOutput() GetOrganizationTeamSyncGroupsGroupOutput
func (GetOrganizationTeamSyncGroupsGroupOutput) ToGetOrganizationTeamSyncGroupsGroupOutputWithContext ¶
func (o GetOrganizationTeamSyncGroupsGroupOutput) ToGetOrganizationTeamSyncGroupsGroupOutputWithContext(ctx context.Context) GetOrganizationTeamSyncGroupsGroupOutput
type GetOrganizationTeamSyncGroupsResult ¶
type GetOrganizationTeamSyncGroupsResult struct { // An Array of GitHub Identity Provider Groups. Each `group` block consists of the fields documented below. Groups []GetOrganizationTeamSyncGroupsGroup `pulumi:"groups"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` }
A collection of values returned by getOrganizationTeamSyncGroups.
func GetOrganizationTeamSyncGroups ¶
func GetOrganizationTeamSyncGroups(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetOrganizationTeamSyncGroupsResult, error)
Use this data source to retrieve the identity provider (IdP) groups for an organization.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.GetOrganizationTeamSyncGroups(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type GetOrganizationTeamsArgs ¶
type GetOrganizationTeamsArgs struct { // Only return teams that are at the organization's root, i.e. no nested teams. Defaults to `false`. RootTeamsOnly *bool `pulumi:"rootTeamsOnly"` }
A collection of arguments for invoking getOrganizationTeams.
type GetOrganizationTeamsOutputArgs ¶ added in v4.8.0
type GetOrganizationTeamsOutputArgs struct { // Only return teams that are at the organization's root, i.e. no nested teams. Defaults to `false`. RootTeamsOnly pulumi.BoolPtrInput `pulumi:"rootTeamsOnly"` }
A collection of arguments for invoking getOrganizationTeams.
func (GetOrganizationTeamsOutputArgs) ElementType ¶ added in v4.8.0
func (GetOrganizationTeamsOutputArgs) ElementType() reflect.Type
type GetOrganizationTeamsResult ¶
type GetOrganizationTeamsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Only return teams that are at the organization's root, i.e. no nested teams. Defaults to `false`. RootTeamsOnly *bool `pulumi:"rootTeamsOnly"` // An Array of GitHub Teams. Each `team` block consists of the fields documented below. // *** Teams []GetOrganizationTeamsTeam `pulumi:"teams"` }
A collection of values returned by getOrganizationTeams.
func GetOrganizationTeams ¶
func GetOrganizationTeams(ctx *pulumi.Context, args *GetOrganizationTeamsArgs, opts ...pulumi.InvokeOption) (*GetOrganizationTeamsResult, error)
Use this data source to retrieve information about all GitHub teams in an organization.
## Example Usage
To retrieve *all* teams of the organization:
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.GetOrganizationTeams(ctx, nil, nil) if err != nil { return err } return nil }) }
```
To retrieve only the team's at the root of the organization:
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.GetOrganizationTeams(ctx, &GetOrganizationTeamsArgs{ RootTeamsOnly: pulumi.BoolRef(true), }, nil) if err != nil { return err } return nil }) }
```
type GetOrganizationTeamsResultOutput ¶ added in v4.8.0
type GetOrganizationTeamsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOrganizationTeams.
func GetOrganizationTeamsOutput ¶ added in v4.8.0
func GetOrganizationTeamsOutput(ctx *pulumi.Context, args GetOrganizationTeamsOutputArgs, opts ...pulumi.InvokeOption) GetOrganizationTeamsResultOutput
func (GetOrganizationTeamsResultOutput) ElementType ¶ added in v4.8.0
func (GetOrganizationTeamsResultOutput) ElementType() reflect.Type
func (GetOrganizationTeamsResultOutput) Id ¶ added in v4.8.0
func (o GetOrganizationTeamsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetOrganizationTeamsResultOutput) RootTeamsOnly ¶ added in v4.8.0
func (o GetOrganizationTeamsResultOutput) RootTeamsOnly() pulumi.BoolPtrOutput
Only return teams that are at the organization's root, i.e. no nested teams. Defaults to `false`.
func (GetOrganizationTeamsResultOutput) Teams ¶ added in v4.8.0
func (o GetOrganizationTeamsResultOutput) Teams() GetOrganizationTeamsTeamArrayOutput
An Array of GitHub Teams. Each `team` block consists of the fields documented below. ***
func (GetOrganizationTeamsResultOutput) ToGetOrganizationTeamsResultOutput ¶ added in v4.8.0
func (o GetOrganizationTeamsResultOutput) ToGetOrganizationTeamsResultOutput() GetOrganizationTeamsResultOutput
func (GetOrganizationTeamsResultOutput) ToGetOrganizationTeamsResultOutputWithContext ¶ added in v4.8.0
func (o GetOrganizationTeamsResultOutput) ToGetOrganizationTeamsResultOutputWithContext(ctx context.Context) GetOrganizationTeamsResultOutput
type GetOrganizationTeamsTeam ¶
type GetOrganizationTeamsTeam struct { // the team's description. Description string `pulumi:"description"` // the ID of the team. Id int `pulumi:"id"` // List of team members. Members []string `pulumi:"members"` // the team's full name. Name string `pulumi:"name"` // the Node ID of the team. NodeId string `pulumi:"nodeId"` // the team's privacy type. Privacy string `pulumi:"privacy"` // List of team repositories. Repositories []string `pulumi:"repositories"` // the slug of the team. Slug string `pulumi:"slug"` }
type GetOrganizationTeamsTeamArgs ¶
type GetOrganizationTeamsTeamArgs struct { // the team's description. Description pulumi.StringInput `pulumi:"description"` // the ID of the team. Id pulumi.IntInput `pulumi:"id"` // List of team members. Members pulumi.StringArrayInput `pulumi:"members"` // the team's full name. Name pulumi.StringInput `pulumi:"name"` // the Node ID of the team. NodeId pulumi.StringInput `pulumi:"nodeId"` // the team's privacy type. Privacy pulumi.StringInput `pulumi:"privacy"` // List of team repositories. Repositories pulumi.StringArrayInput `pulumi:"repositories"` // the slug of the team. Slug pulumi.StringInput `pulumi:"slug"` }
func (GetOrganizationTeamsTeamArgs) ElementType ¶
func (GetOrganizationTeamsTeamArgs) ElementType() reflect.Type
func (GetOrganizationTeamsTeamArgs) ToGetOrganizationTeamsTeamOutput ¶
func (i GetOrganizationTeamsTeamArgs) ToGetOrganizationTeamsTeamOutput() GetOrganizationTeamsTeamOutput
func (GetOrganizationTeamsTeamArgs) ToGetOrganizationTeamsTeamOutputWithContext ¶
func (i GetOrganizationTeamsTeamArgs) ToGetOrganizationTeamsTeamOutputWithContext(ctx context.Context) GetOrganizationTeamsTeamOutput
type GetOrganizationTeamsTeamArray ¶
type GetOrganizationTeamsTeamArray []GetOrganizationTeamsTeamInput
func (GetOrganizationTeamsTeamArray) ElementType ¶
func (GetOrganizationTeamsTeamArray) ElementType() reflect.Type
func (GetOrganizationTeamsTeamArray) ToGetOrganizationTeamsTeamArrayOutput ¶
func (i GetOrganizationTeamsTeamArray) ToGetOrganizationTeamsTeamArrayOutput() GetOrganizationTeamsTeamArrayOutput
func (GetOrganizationTeamsTeamArray) ToGetOrganizationTeamsTeamArrayOutputWithContext ¶
func (i GetOrganizationTeamsTeamArray) ToGetOrganizationTeamsTeamArrayOutputWithContext(ctx context.Context) GetOrganizationTeamsTeamArrayOutput
type GetOrganizationTeamsTeamArrayInput ¶
type GetOrganizationTeamsTeamArrayInput interface { pulumi.Input ToGetOrganizationTeamsTeamArrayOutput() GetOrganizationTeamsTeamArrayOutput ToGetOrganizationTeamsTeamArrayOutputWithContext(context.Context) GetOrganizationTeamsTeamArrayOutput }
GetOrganizationTeamsTeamArrayInput is an input type that accepts GetOrganizationTeamsTeamArray and GetOrganizationTeamsTeamArrayOutput values. You can construct a concrete instance of `GetOrganizationTeamsTeamArrayInput` via:
GetOrganizationTeamsTeamArray{ GetOrganizationTeamsTeamArgs{...} }
type GetOrganizationTeamsTeamArrayOutput ¶
type GetOrganizationTeamsTeamArrayOutput struct{ *pulumi.OutputState }
func (GetOrganizationTeamsTeamArrayOutput) ElementType ¶
func (GetOrganizationTeamsTeamArrayOutput) ElementType() reflect.Type
func (GetOrganizationTeamsTeamArrayOutput) Index ¶
func (o GetOrganizationTeamsTeamArrayOutput) Index(i pulumi.IntInput) GetOrganizationTeamsTeamOutput
func (GetOrganizationTeamsTeamArrayOutput) ToGetOrganizationTeamsTeamArrayOutput ¶
func (o GetOrganizationTeamsTeamArrayOutput) ToGetOrganizationTeamsTeamArrayOutput() GetOrganizationTeamsTeamArrayOutput
func (GetOrganizationTeamsTeamArrayOutput) ToGetOrganizationTeamsTeamArrayOutputWithContext ¶
func (o GetOrganizationTeamsTeamArrayOutput) ToGetOrganizationTeamsTeamArrayOutputWithContext(ctx context.Context) GetOrganizationTeamsTeamArrayOutput
type GetOrganizationTeamsTeamInput ¶
type GetOrganizationTeamsTeamInput interface { pulumi.Input ToGetOrganizationTeamsTeamOutput() GetOrganizationTeamsTeamOutput ToGetOrganizationTeamsTeamOutputWithContext(context.Context) GetOrganizationTeamsTeamOutput }
GetOrganizationTeamsTeamInput is an input type that accepts GetOrganizationTeamsTeamArgs and GetOrganizationTeamsTeamOutput values. You can construct a concrete instance of `GetOrganizationTeamsTeamInput` via:
GetOrganizationTeamsTeamArgs{...}
type GetOrganizationTeamsTeamOutput ¶
type GetOrganizationTeamsTeamOutput struct{ *pulumi.OutputState }
func (GetOrganizationTeamsTeamOutput) Description ¶
func (o GetOrganizationTeamsTeamOutput) Description() pulumi.StringOutput
the team's description.
func (GetOrganizationTeamsTeamOutput) ElementType ¶
func (GetOrganizationTeamsTeamOutput) ElementType() reflect.Type
func (GetOrganizationTeamsTeamOutput) Id ¶
func (o GetOrganizationTeamsTeamOutput) Id() pulumi.IntOutput
the ID of the team.
func (GetOrganizationTeamsTeamOutput) Members ¶
func (o GetOrganizationTeamsTeamOutput) Members() pulumi.StringArrayOutput
List of team members.
func (GetOrganizationTeamsTeamOutput) Name ¶
func (o GetOrganizationTeamsTeamOutput) Name() pulumi.StringOutput
the team's full name.
func (GetOrganizationTeamsTeamOutput) NodeId ¶
func (o GetOrganizationTeamsTeamOutput) NodeId() pulumi.StringOutput
the Node ID of the team.
func (GetOrganizationTeamsTeamOutput) Privacy ¶
func (o GetOrganizationTeamsTeamOutput) Privacy() pulumi.StringOutput
the team's privacy type.
func (GetOrganizationTeamsTeamOutput) Repositories ¶ added in v4.3.0
func (o GetOrganizationTeamsTeamOutput) Repositories() pulumi.StringArrayOutput
List of team repositories.
func (GetOrganizationTeamsTeamOutput) Slug ¶
func (o GetOrganizationTeamsTeamOutput) Slug() pulumi.StringOutput
the slug of the team.
func (GetOrganizationTeamsTeamOutput) ToGetOrganizationTeamsTeamOutput ¶
func (o GetOrganizationTeamsTeamOutput) ToGetOrganizationTeamsTeamOutput() GetOrganizationTeamsTeamOutput
func (GetOrganizationTeamsTeamOutput) ToGetOrganizationTeamsTeamOutputWithContext ¶
func (o GetOrganizationTeamsTeamOutput) ToGetOrganizationTeamsTeamOutputWithContext(ctx context.Context) GetOrganizationTeamsTeamOutput
type GetRefArgs ¶ added in v4.11.0
type GetRefArgs struct { // The repository ref to look up. Must be formatted `heads/<ref>` for branches, and `tags/<ref>` for tags. Ref string `pulumi:"ref"` // The GitHub repository name. Repository string `pulumi:"repository"` }
A collection of arguments for invoking getRef.
type GetRefOutputArgs ¶ added in v4.11.0
type GetRefOutputArgs struct { // The repository ref to look up. Must be formatted `heads/<ref>` for branches, and `tags/<ref>` for tags. Ref pulumi.StringInput `pulumi:"ref"` // The GitHub repository name. Repository pulumi.StringInput `pulumi:"repository"` }
A collection of arguments for invoking getRef.
func (GetRefOutputArgs) ElementType ¶ added in v4.11.0
func (GetRefOutputArgs) ElementType() reflect.Type
type GetRefResult ¶ added in v4.11.0
type GetRefResult struct { // An etag representing the ref. Etag string `pulumi:"etag"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ref string `pulumi:"ref"` Repository string `pulumi:"repository"` // A string storing the reference's `HEAD` commit's SHA1. Sha string `pulumi:"sha"` }
A collection of values returned by getRef.
func GetRef ¶ added in v4.11.0
func GetRef(ctx *pulumi.Context, args *GetRefArgs, opts ...pulumi.InvokeOption) (*GetRefResult, error)
Use this data source to retrieve information about a repository ref.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.GetRef(ctx, &GetRefArgs{ Ref: "heads/development", Repository: "example", }, nil) if err != nil { return err } return nil }) }
```
type GetRefResultOutput ¶ added in v4.11.0
type GetRefResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRef.
func GetRefOutput ¶ added in v4.11.0
func GetRefOutput(ctx *pulumi.Context, args GetRefOutputArgs, opts ...pulumi.InvokeOption) GetRefResultOutput
func (GetRefResultOutput) ElementType ¶ added in v4.11.0
func (GetRefResultOutput) ElementType() reflect.Type
func (GetRefResultOutput) Etag ¶ added in v4.11.0
func (o GetRefResultOutput) Etag() pulumi.StringOutput
An etag representing the ref.
func (GetRefResultOutput) Id ¶ added in v4.11.0
func (o GetRefResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRefResultOutput) Ref ¶ added in v4.11.0
func (o GetRefResultOutput) Ref() pulumi.StringOutput
func (GetRefResultOutput) Repository ¶ added in v4.11.0
func (o GetRefResultOutput) Repository() pulumi.StringOutput
func (GetRefResultOutput) Sha ¶ added in v4.11.0
func (o GetRefResultOutput) Sha() pulumi.StringOutput
A string storing the reference's `HEAD` commit's SHA1.
func (GetRefResultOutput) ToGetRefResultOutput ¶ added in v4.11.0
func (o GetRefResultOutput) ToGetRefResultOutput() GetRefResultOutput
func (GetRefResultOutput) ToGetRefResultOutputWithContext ¶ added in v4.11.0
func (o GetRefResultOutput) ToGetRefResultOutputWithContext(ctx context.Context) GetRefResultOutput
type GetReleaseArgs ¶
type GetReleaseArgs struct { // Owner of the repository. Owner string `pulumi:"owner"` // ID of the release to retrieve. Must be specified when `retrieveBy` = `id`. ReleaseId *int `pulumi:"releaseId"` // Tag of the release to retrieve. Must be specified when `retrieveBy` = `tag`. ReleaseTag *string `pulumi:"releaseTag"` // Name of the repository to retrieve the release from. Repository string `pulumi:"repository"` // Describes how to fetch the release. Valid values are `id`, `tag`, `latest`. RetrieveBy string `pulumi:"retrieveBy"` }
A collection of arguments for invoking getRelease.
type GetReleaseOutputArgs ¶ added in v4.8.0
type GetReleaseOutputArgs struct { // Owner of the repository. Owner pulumi.StringInput `pulumi:"owner"` // ID of the release to retrieve. Must be specified when `retrieveBy` = `id`. ReleaseId pulumi.IntPtrInput `pulumi:"releaseId"` // Tag of the release to retrieve. Must be specified when `retrieveBy` = `tag`. ReleaseTag pulumi.StringPtrInput `pulumi:"releaseTag"` // Name of the repository to retrieve the release from. Repository pulumi.StringInput `pulumi:"repository"` // Describes how to fetch the release. Valid values are `id`, `tag`, `latest`. RetrieveBy pulumi.StringInput `pulumi:"retrieveBy"` }
A collection of arguments for invoking getRelease.
func (GetReleaseOutputArgs) ElementType ¶ added in v4.8.0
func (GetReleaseOutputArgs) ElementType() reflect.Type
type GetReleaseResult ¶
type GetReleaseResult struct { // URL of any associated assets with the release AssertsUrl string `pulumi:"assertsUrl"` // Contents of the description (body) of a release Body string `pulumi:"body"` // Date of release creation CreatedAt string `pulumi:"createdAt"` // (`Boolean`) indicates whether the release is a draft Draft bool `pulumi:"draft"` // URL directing to detailed information on the release HtmlUrl string `pulumi:"htmlUrl"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Name of release Name string `pulumi:"name"` Owner string `pulumi:"owner"` // (`Boolean`) indicates whether the release is a prerelease Prerelease bool `pulumi:"prerelease"` // Date of release publishing PublishedAt string `pulumi:"publishedAt"` // ID of release ReleaseId *int `pulumi:"releaseId"` // Tag of release ReleaseTag *string `pulumi:"releaseTag"` Repository string `pulumi:"repository"` RetrieveBy string `pulumi:"retrieveBy"` // Download URL of a specific release in `tar.gz` format TarballUrl string `pulumi:"tarballUrl"` // Commitish value that determines where the Git release is created from TargetCommitish string `pulumi:"targetCommitish"` // URL that can be used to upload Assets to the release UploadUrl string `pulumi:"uploadUrl"` // Base URL of the release Url string `pulumi:"url"` // Download URL of a specific release in `zip` format ZipballUrl string `pulumi:"zipballUrl"` }
A collection of values returned by getRelease.
func GetRelease ¶
func GetRelease(ctx *pulumi.Context, args *GetReleaseArgs, opts ...pulumi.InvokeOption) (*GetReleaseResult, error)
Use this data source to retrieve information about a GitHub release in a specific repository.
type GetReleaseResultOutput ¶ added in v4.8.0
type GetReleaseResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRelease.
func GetReleaseOutput ¶ added in v4.8.0
func GetReleaseOutput(ctx *pulumi.Context, args GetReleaseOutputArgs, opts ...pulumi.InvokeOption) GetReleaseResultOutput
func (GetReleaseResultOutput) AssertsUrl ¶ added in v4.8.0
func (o GetReleaseResultOutput) AssertsUrl() pulumi.StringOutput
URL of any associated assets with the release
func (GetReleaseResultOutput) Body ¶ added in v4.8.0
func (o GetReleaseResultOutput) Body() pulumi.StringOutput
Contents of the description (body) of a release
func (GetReleaseResultOutput) CreatedAt ¶ added in v4.8.0
func (o GetReleaseResultOutput) CreatedAt() pulumi.StringOutput
Date of release creation
func (GetReleaseResultOutput) Draft ¶ added in v4.8.0
func (o GetReleaseResultOutput) Draft() pulumi.BoolOutput
(`Boolean`) indicates whether the release is a draft
func (GetReleaseResultOutput) ElementType ¶ added in v4.8.0
func (GetReleaseResultOutput) ElementType() reflect.Type
func (GetReleaseResultOutput) HtmlUrl ¶ added in v4.8.0
func (o GetReleaseResultOutput) HtmlUrl() pulumi.StringOutput
URL directing to detailed information on the release
func (GetReleaseResultOutput) Id ¶ added in v4.8.0
func (o GetReleaseResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetReleaseResultOutput) Name ¶ added in v4.8.0
func (o GetReleaseResultOutput) Name() pulumi.StringOutput
Name of release
func (GetReleaseResultOutput) Owner ¶ added in v4.8.0
func (o GetReleaseResultOutput) Owner() pulumi.StringOutput
func (GetReleaseResultOutput) Prerelease ¶ added in v4.8.0
func (o GetReleaseResultOutput) Prerelease() pulumi.BoolOutput
(`Boolean`) indicates whether the release is a prerelease
func (GetReleaseResultOutput) PublishedAt ¶ added in v4.8.0
func (o GetReleaseResultOutput) PublishedAt() pulumi.StringOutput
Date of release publishing
func (GetReleaseResultOutput) ReleaseId ¶ added in v4.8.0
func (o GetReleaseResultOutput) ReleaseId() pulumi.IntPtrOutput
ID of release
func (GetReleaseResultOutput) ReleaseTag ¶ added in v4.8.0
func (o GetReleaseResultOutput) ReleaseTag() pulumi.StringPtrOutput
Tag of release
func (GetReleaseResultOutput) Repository ¶ added in v4.8.0
func (o GetReleaseResultOutput) Repository() pulumi.StringOutput
func (GetReleaseResultOutput) RetrieveBy ¶ added in v4.8.0
func (o GetReleaseResultOutput) RetrieveBy() pulumi.StringOutput
func (GetReleaseResultOutput) TarballUrl ¶ added in v4.8.0
func (o GetReleaseResultOutput) TarballUrl() pulumi.StringOutput
Download URL of a specific release in `tar.gz` format
func (GetReleaseResultOutput) TargetCommitish ¶ added in v4.8.0
func (o GetReleaseResultOutput) TargetCommitish() pulumi.StringOutput
Commitish value that determines where the Git release is created from
func (GetReleaseResultOutput) ToGetReleaseResultOutput ¶ added in v4.8.0
func (o GetReleaseResultOutput) ToGetReleaseResultOutput() GetReleaseResultOutput
func (GetReleaseResultOutput) ToGetReleaseResultOutputWithContext ¶ added in v4.8.0
func (o GetReleaseResultOutput) ToGetReleaseResultOutputWithContext(ctx context.Context) GetReleaseResultOutput
func (GetReleaseResultOutput) UploadUrl ¶ added in v4.8.0
func (o GetReleaseResultOutput) UploadUrl() pulumi.StringOutput
URL that can be used to upload Assets to the release
func (GetReleaseResultOutput) Url ¶ added in v4.8.0
func (o GetReleaseResultOutput) Url() pulumi.StringOutput
Base URL of the release
func (GetReleaseResultOutput) ZipballUrl ¶ added in v4.8.0
func (o GetReleaseResultOutput) ZipballUrl() pulumi.StringOutput
Download URL of a specific release in `zip` format
type GetRepositoriesArgs ¶
type GetRepositoriesArgs struct { // Search query. See [documentation for the search syntax](https://help.github.com/articles/understanding-the-search-syntax/). Query string `pulumi:"query"` // Sorts the repositories returned by the specified attribute. Valid values include `stars`, `fork`, and `updated`. Defaults to `updated`. Sort *string `pulumi:"sort"` }
A collection of arguments for invoking getRepositories.
type GetRepositoriesOutputArgs ¶ added in v4.8.0
type GetRepositoriesOutputArgs struct { // Search query. See [documentation for the search syntax](https://help.github.com/articles/understanding-the-search-syntax/). Query pulumi.StringInput `pulumi:"query"` // Sorts the repositories returned by the specified attribute. Valid values include `stars`, `fork`, and `updated`. Defaults to `updated`. Sort pulumi.StringPtrInput `pulumi:"sort"` }
A collection of arguments for invoking getRepositories.
func (GetRepositoriesOutputArgs) ElementType ¶ added in v4.8.0
func (GetRepositoriesOutputArgs) ElementType() reflect.Type
type GetRepositoriesResult ¶
type GetRepositoriesResult struct { FullNames []string `pulumi:"fullNames"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Names []string `pulumi:"names"` Query string `pulumi:"query"` Sort *string `pulumi:"sort"` }
A collection of values returned by getRepositories.
func GetRepositories ¶
func GetRepositories(ctx *pulumi.Context, args *GetRepositoriesArgs, opts ...pulumi.InvokeOption) (*GetRepositoriesResult, error)
> **Note:** The data source will return a maximum of `1000` repositories
[as documented in official API docs](https://developer.github.com/v3/search/#about-the-search-api).
Use this data source to retrieve a list of GitHub repositories using a search query.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.GetRepositories(ctx, &GetRepositoriesArgs{ Query: "org:hashicorp language:Go", }, nil) if err != nil { return err } return nil }) }
```
type GetRepositoriesResultOutput ¶ added in v4.8.0
type GetRepositoriesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRepositories.
func GetRepositoriesOutput ¶ added in v4.8.0
func GetRepositoriesOutput(ctx *pulumi.Context, args GetRepositoriesOutputArgs, opts ...pulumi.InvokeOption) GetRepositoriesResultOutput
func (GetRepositoriesResultOutput) ElementType ¶ added in v4.8.0
func (GetRepositoriesResultOutput) ElementType() reflect.Type
func (GetRepositoriesResultOutput) FullNames ¶ added in v4.8.0
func (o GetRepositoriesResultOutput) FullNames() pulumi.StringArrayOutput
func (GetRepositoriesResultOutput) Id ¶ added in v4.8.0
func (o GetRepositoriesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRepositoriesResultOutput) Names ¶ added in v4.8.0
func (o GetRepositoriesResultOutput) Names() pulumi.StringArrayOutput
func (GetRepositoriesResultOutput) Query ¶ added in v4.8.0
func (o GetRepositoriesResultOutput) Query() pulumi.StringOutput
func (GetRepositoriesResultOutput) Sort ¶ added in v4.8.0
func (o GetRepositoriesResultOutput) Sort() pulumi.StringPtrOutput
func (GetRepositoriesResultOutput) ToGetRepositoriesResultOutput ¶ added in v4.8.0
func (o GetRepositoriesResultOutput) ToGetRepositoriesResultOutput() GetRepositoriesResultOutput
func (GetRepositoriesResultOutput) ToGetRepositoriesResultOutputWithContext ¶ added in v4.8.0
func (o GetRepositoriesResultOutput) ToGetRepositoriesResultOutputWithContext(ctx context.Context) GetRepositoriesResultOutput
type GetRepositoryBranch ¶ added in v4.5.0
type GetRepositoryBranchArgs ¶ added in v4.5.0
type GetRepositoryBranchArgs struct { // The name of the repository. Name pulumi.StringInput `pulumi:"name"` // Whether the branch is protected. Protected pulumi.BoolInput `pulumi:"protected"` }
func (GetRepositoryBranchArgs) ElementType ¶ added in v4.5.0
func (GetRepositoryBranchArgs) ElementType() reflect.Type
func (GetRepositoryBranchArgs) ToGetRepositoryBranchOutput ¶ added in v4.5.0
func (i GetRepositoryBranchArgs) ToGetRepositoryBranchOutput() GetRepositoryBranchOutput
func (GetRepositoryBranchArgs) ToGetRepositoryBranchOutputWithContext ¶ added in v4.5.0
func (i GetRepositoryBranchArgs) ToGetRepositoryBranchOutputWithContext(ctx context.Context) GetRepositoryBranchOutput
type GetRepositoryBranchArray ¶ added in v4.5.0
type GetRepositoryBranchArray []GetRepositoryBranchInput
func (GetRepositoryBranchArray) ElementType ¶ added in v4.5.0
func (GetRepositoryBranchArray) ElementType() reflect.Type
func (GetRepositoryBranchArray) ToGetRepositoryBranchArrayOutput ¶ added in v4.5.0
func (i GetRepositoryBranchArray) ToGetRepositoryBranchArrayOutput() GetRepositoryBranchArrayOutput
func (GetRepositoryBranchArray) ToGetRepositoryBranchArrayOutputWithContext ¶ added in v4.5.0
func (i GetRepositoryBranchArray) ToGetRepositoryBranchArrayOutputWithContext(ctx context.Context) GetRepositoryBranchArrayOutput
type GetRepositoryBranchArrayInput ¶ added in v4.5.0
type GetRepositoryBranchArrayInput interface { pulumi.Input ToGetRepositoryBranchArrayOutput() GetRepositoryBranchArrayOutput ToGetRepositoryBranchArrayOutputWithContext(context.Context) GetRepositoryBranchArrayOutput }
GetRepositoryBranchArrayInput is an input type that accepts GetRepositoryBranchArray and GetRepositoryBranchArrayOutput values. You can construct a concrete instance of `GetRepositoryBranchArrayInput` via:
GetRepositoryBranchArray{ GetRepositoryBranchArgs{...} }
type GetRepositoryBranchArrayOutput ¶ added in v4.5.0
type GetRepositoryBranchArrayOutput struct{ *pulumi.OutputState }
func (GetRepositoryBranchArrayOutput) ElementType ¶ added in v4.5.0
func (GetRepositoryBranchArrayOutput) ElementType() reflect.Type
func (GetRepositoryBranchArrayOutput) Index ¶ added in v4.5.0
func (o GetRepositoryBranchArrayOutput) Index(i pulumi.IntInput) GetRepositoryBranchOutput
func (GetRepositoryBranchArrayOutput) ToGetRepositoryBranchArrayOutput ¶ added in v4.5.0
func (o GetRepositoryBranchArrayOutput) ToGetRepositoryBranchArrayOutput() GetRepositoryBranchArrayOutput
func (GetRepositoryBranchArrayOutput) ToGetRepositoryBranchArrayOutputWithContext ¶ added in v4.5.0
func (o GetRepositoryBranchArrayOutput) ToGetRepositoryBranchArrayOutputWithContext(ctx context.Context) GetRepositoryBranchArrayOutput
type GetRepositoryBranchInput ¶ added in v4.5.0
type GetRepositoryBranchInput interface { pulumi.Input ToGetRepositoryBranchOutput() GetRepositoryBranchOutput ToGetRepositoryBranchOutputWithContext(context.Context) GetRepositoryBranchOutput }
GetRepositoryBranchInput is an input type that accepts GetRepositoryBranchArgs and GetRepositoryBranchOutput values. You can construct a concrete instance of `GetRepositoryBranchInput` via:
GetRepositoryBranchArgs{...}
type GetRepositoryBranchOutput ¶ added in v4.5.0
type GetRepositoryBranchOutput struct{ *pulumi.OutputState }
func (GetRepositoryBranchOutput) ElementType ¶ added in v4.5.0
func (GetRepositoryBranchOutput) ElementType() reflect.Type
func (GetRepositoryBranchOutput) Name ¶ added in v4.5.0
func (o GetRepositoryBranchOutput) Name() pulumi.StringOutput
The name of the repository.
func (GetRepositoryBranchOutput) Protected ¶ added in v4.5.0
func (o GetRepositoryBranchOutput) Protected() pulumi.BoolOutput
Whether the branch is protected.
func (GetRepositoryBranchOutput) ToGetRepositoryBranchOutput ¶ added in v4.5.0
func (o GetRepositoryBranchOutput) ToGetRepositoryBranchOutput() GetRepositoryBranchOutput
func (GetRepositoryBranchOutput) ToGetRepositoryBranchOutputWithContext ¶ added in v4.5.0
func (o GetRepositoryBranchOutput) ToGetRepositoryBranchOutputWithContext(ctx context.Context) GetRepositoryBranchOutput
type GetRepositoryPage ¶
type GetRepositoryPageArgs ¶
type GetRepositoryPageArgs struct { Cname pulumi.StringInput `pulumi:"cname"` Custom404 pulumi.BoolInput `pulumi:"custom404"` // URL to the repository on the web. HtmlUrl pulumi.StringInput `pulumi:"htmlUrl"` Sources GetRepositoryPageSourceArrayInput `pulumi:"sources"` Status pulumi.StringInput `pulumi:"status"` Url pulumi.StringInput `pulumi:"url"` }
func (GetRepositoryPageArgs) ElementType ¶
func (GetRepositoryPageArgs) ElementType() reflect.Type
func (GetRepositoryPageArgs) ToGetRepositoryPageOutput ¶
func (i GetRepositoryPageArgs) ToGetRepositoryPageOutput() GetRepositoryPageOutput
func (GetRepositoryPageArgs) ToGetRepositoryPageOutputWithContext ¶
func (i GetRepositoryPageArgs) ToGetRepositoryPageOutputWithContext(ctx context.Context) GetRepositoryPageOutput
type GetRepositoryPageArray ¶
type GetRepositoryPageArray []GetRepositoryPageInput
func (GetRepositoryPageArray) ElementType ¶
func (GetRepositoryPageArray) ElementType() reflect.Type
func (GetRepositoryPageArray) ToGetRepositoryPageArrayOutput ¶
func (i GetRepositoryPageArray) ToGetRepositoryPageArrayOutput() GetRepositoryPageArrayOutput
func (GetRepositoryPageArray) ToGetRepositoryPageArrayOutputWithContext ¶
func (i GetRepositoryPageArray) ToGetRepositoryPageArrayOutputWithContext(ctx context.Context) GetRepositoryPageArrayOutput
type GetRepositoryPageArrayInput ¶
type GetRepositoryPageArrayInput interface { pulumi.Input ToGetRepositoryPageArrayOutput() GetRepositoryPageArrayOutput ToGetRepositoryPageArrayOutputWithContext(context.Context) GetRepositoryPageArrayOutput }
GetRepositoryPageArrayInput is an input type that accepts GetRepositoryPageArray and GetRepositoryPageArrayOutput values. You can construct a concrete instance of `GetRepositoryPageArrayInput` via:
GetRepositoryPageArray{ GetRepositoryPageArgs{...} }
type GetRepositoryPageArrayOutput ¶
type GetRepositoryPageArrayOutput struct{ *pulumi.OutputState }
func (GetRepositoryPageArrayOutput) ElementType ¶
func (GetRepositoryPageArrayOutput) ElementType() reflect.Type
func (GetRepositoryPageArrayOutput) Index ¶
func (o GetRepositoryPageArrayOutput) Index(i pulumi.IntInput) GetRepositoryPageOutput
func (GetRepositoryPageArrayOutput) ToGetRepositoryPageArrayOutput ¶
func (o GetRepositoryPageArrayOutput) ToGetRepositoryPageArrayOutput() GetRepositoryPageArrayOutput
func (GetRepositoryPageArrayOutput) ToGetRepositoryPageArrayOutputWithContext ¶
func (o GetRepositoryPageArrayOutput) ToGetRepositoryPageArrayOutputWithContext(ctx context.Context) GetRepositoryPageArrayOutput
type GetRepositoryPageInput ¶
type GetRepositoryPageInput interface { pulumi.Input ToGetRepositoryPageOutput() GetRepositoryPageOutput ToGetRepositoryPageOutputWithContext(context.Context) GetRepositoryPageOutput }
GetRepositoryPageInput is an input type that accepts GetRepositoryPageArgs and GetRepositoryPageOutput values. You can construct a concrete instance of `GetRepositoryPageInput` via:
GetRepositoryPageArgs{...}
type GetRepositoryPageOutput ¶
type GetRepositoryPageOutput struct{ *pulumi.OutputState }
func (GetRepositoryPageOutput) Cname ¶
func (o GetRepositoryPageOutput) Cname() pulumi.StringOutput
func (GetRepositoryPageOutput) Custom404 ¶
func (o GetRepositoryPageOutput) Custom404() pulumi.BoolOutput
func (GetRepositoryPageOutput) ElementType ¶
func (GetRepositoryPageOutput) ElementType() reflect.Type
func (GetRepositoryPageOutput) HtmlUrl ¶
func (o GetRepositoryPageOutput) HtmlUrl() pulumi.StringOutput
URL to the repository on the web.
func (GetRepositoryPageOutput) Sources ¶
func (o GetRepositoryPageOutput) Sources() GetRepositoryPageSourceArrayOutput
func (GetRepositoryPageOutput) Status ¶
func (o GetRepositoryPageOutput) Status() pulumi.StringOutput
func (GetRepositoryPageOutput) ToGetRepositoryPageOutput ¶
func (o GetRepositoryPageOutput) ToGetRepositoryPageOutput() GetRepositoryPageOutput
func (GetRepositoryPageOutput) ToGetRepositoryPageOutputWithContext ¶
func (o GetRepositoryPageOutput) ToGetRepositoryPageOutputWithContext(ctx context.Context) GetRepositoryPageOutput
func (GetRepositoryPageOutput) Url ¶
func (o GetRepositoryPageOutput) Url() pulumi.StringOutput
type GetRepositoryPageSource ¶
type GetRepositoryPageSourceArgs ¶
type GetRepositoryPageSourceArgs struct { Branch pulumi.StringInput `pulumi:"branch"` Path pulumi.StringInput `pulumi:"path"` }
func (GetRepositoryPageSourceArgs) ElementType ¶
func (GetRepositoryPageSourceArgs) ElementType() reflect.Type
func (GetRepositoryPageSourceArgs) ToGetRepositoryPageSourceOutput ¶
func (i GetRepositoryPageSourceArgs) ToGetRepositoryPageSourceOutput() GetRepositoryPageSourceOutput
func (GetRepositoryPageSourceArgs) ToGetRepositoryPageSourceOutputWithContext ¶
func (i GetRepositoryPageSourceArgs) ToGetRepositoryPageSourceOutputWithContext(ctx context.Context) GetRepositoryPageSourceOutput
type GetRepositoryPageSourceArray ¶
type GetRepositoryPageSourceArray []GetRepositoryPageSourceInput
func (GetRepositoryPageSourceArray) ElementType ¶
func (GetRepositoryPageSourceArray) ElementType() reflect.Type
func (GetRepositoryPageSourceArray) ToGetRepositoryPageSourceArrayOutput ¶
func (i GetRepositoryPageSourceArray) ToGetRepositoryPageSourceArrayOutput() GetRepositoryPageSourceArrayOutput
func (GetRepositoryPageSourceArray) ToGetRepositoryPageSourceArrayOutputWithContext ¶
func (i GetRepositoryPageSourceArray) ToGetRepositoryPageSourceArrayOutputWithContext(ctx context.Context) GetRepositoryPageSourceArrayOutput
type GetRepositoryPageSourceArrayInput ¶
type GetRepositoryPageSourceArrayInput interface { pulumi.Input ToGetRepositoryPageSourceArrayOutput() GetRepositoryPageSourceArrayOutput ToGetRepositoryPageSourceArrayOutputWithContext(context.Context) GetRepositoryPageSourceArrayOutput }
GetRepositoryPageSourceArrayInput is an input type that accepts GetRepositoryPageSourceArray and GetRepositoryPageSourceArrayOutput values. You can construct a concrete instance of `GetRepositoryPageSourceArrayInput` via:
GetRepositoryPageSourceArray{ GetRepositoryPageSourceArgs{...} }
type GetRepositoryPageSourceArrayOutput ¶
type GetRepositoryPageSourceArrayOutput struct{ *pulumi.OutputState }
func (GetRepositoryPageSourceArrayOutput) ElementType ¶
func (GetRepositoryPageSourceArrayOutput) ElementType() reflect.Type
func (GetRepositoryPageSourceArrayOutput) Index ¶
func (o GetRepositoryPageSourceArrayOutput) Index(i pulumi.IntInput) GetRepositoryPageSourceOutput
func (GetRepositoryPageSourceArrayOutput) ToGetRepositoryPageSourceArrayOutput ¶
func (o GetRepositoryPageSourceArrayOutput) ToGetRepositoryPageSourceArrayOutput() GetRepositoryPageSourceArrayOutput
func (GetRepositoryPageSourceArrayOutput) ToGetRepositoryPageSourceArrayOutputWithContext ¶
func (o GetRepositoryPageSourceArrayOutput) ToGetRepositoryPageSourceArrayOutputWithContext(ctx context.Context) GetRepositoryPageSourceArrayOutput
type GetRepositoryPageSourceInput ¶
type GetRepositoryPageSourceInput interface { pulumi.Input ToGetRepositoryPageSourceOutput() GetRepositoryPageSourceOutput ToGetRepositoryPageSourceOutputWithContext(context.Context) GetRepositoryPageSourceOutput }
GetRepositoryPageSourceInput is an input type that accepts GetRepositoryPageSourceArgs and GetRepositoryPageSourceOutput values. You can construct a concrete instance of `GetRepositoryPageSourceInput` via:
GetRepositoryPageSourceArgs{...}
type GetRepositoryPageSourceOutput ¶
type GetRepositoryPageSourceOutput struct{ *pulumi.OutputState }
func (GetRepositoryPageSourceOutput) Branch ¶
func (o GetRepositoryPageSourceOutput) Branch() pulumi.StringOutput
func (GetRepositoryPageSourceOutput) ElementType ¶
func (GetRepositoryPageSourceOutput) ElementType() reflect.Type
func (GetRepositoryPageSourceOutput) Path ¶
func (o GetRepositoryPageSourceOutput) Path() pulumi.StringOutput
func (GetRepositoryPageSourceOutput) ToGetRepositoryPageSourceOutput ¶
func (o GetRepositoryPageSourceOutput) ToGetRepositoryPageSourceOutput() GetRepositoryPageSourceOutput
func (GetRepositoryPageSourceOutput) ToGetRepositoryPageSourceOutputWithContext ¶
func (o GetRepositoryPageSourceOutput) ToGetRepositoryPageSourceOutputWithContext(ctx context.Context) GetRepositoryPageSourceOutput
type GetRepositoryPullRequestsResult ¶
type GetRepositoryPullRequestsResult struct { // If set, filters Pull Requests by base branch name. BaseRef string `pulumi:"baseRef"` // Head commit SHA of the Pull Request base. BaseSha string `pulumi:"baseSha"` // Body of the Pull Request. Body string `pulumi:"body"` // Indicates Whether this Pull Request is a draft. Draft bool `pulumi:"draft"` // Owner of the Pull Request head repository. HeadOwner string `pulumi:"headOwner"` // If set, filters Pull Requests by head user or head organization and branch name in the format of "user:ref-name" or "organization:ref-name". For example: "github:new-script-format" or "octocat:test-branch". HeadRef string `pulumi:"headRef"` // Name of the Pull Request head repository. HeadRepository string `pulumi:"headRepository"` // Head commit SHA of the Pull Request head. HeadSha string `pulumi:"headSha"` // List of label names set on the Pull Request. Labels []string `pulumi:"labels"` // Indicates whether the base repository maintainers can modify the Pull Request. MaintainerCanModify bool `pulumi:"maintainerCanModify"` // The number of the Pull Request within the repository. Number int `pulumi:"number"` // Unix timestamp indicating the Pull Request creation time. OpenedAt int `pulumi:"openedAt"` // GitHub login of the user who opened the Pull Request. OpenedBy string `pulumi:"openedBy"` // If set, filters Pull Requests by state. Can be "open", "closed", or "all". Default: "open". State string `pulumi:"state"` // The title of the Pull Request. Title string `pulumi:"title"` // The timestamp of the last Pull Request update. UpdatedAt int `pulumi:"updatedAt"` }
type GetRepositoryPullRequestsResultArgs ¶ added in v4.8.0
type GetRepositoryPullRequestsResultArgs struct { // If set, filters Pull Requests by base branch name. BaseRef pulumi.StringInput `pulumi:"baseRef"` // Head commit SHA of the Pull Request base. BaseSha pulumi.StringInput `pulumi:"baseSha"` // Body of the Pull Request. Body pulumi.StringInput `pulumi:"body"` // Indicates Whether this Pull Request is a draft. Draft pulumi.BoolInput `pulumi:"draft"` // Owner of the Pull Request head repository. HeadOwner pulumi.StringInput `pulumi:"headOwner"` // If set, filters Pull Requests by head user or head organization and branch name in the format of "user:ref-name" or "organization:ref-name". For example: "github:new-script-format" or "octocat:test-branch". HeadRef pulumi.StringInput `pulumi:"headRef"` // Name of the Pull Request head repository. HeadRepository pulumi.StringInput `pulumi:"headRepository"` // Head commit SHA of the Pull Request head. HeadSha pulumi.StringInput `pulumi:"headSha"` // List of label names set on the Pull Request. Labels pulumi.StringArrayInput `pulumi:"labels"` // Indicates whether the base repository maintainers can modify the Pull Request. MaintainerCanModify pulumi.BoolInput `pulumi:"maintainerCanModify"` // The number of the Pull Request within the repository. Number pulumi.IntInput `pulumi:"number"` // Unix timestamp indicating the Pull Request creation time. OpenedAt pulumi.IntInput `pulumi:"openedAt"` // GitHub login of the user who opened the Pull Request. OpenedBy pulumi.StringInput `pulumi:"openedBy"` // If set, filters Pull Requests by state. Can be "open", "closed", or "all". Default: "open". State pulumi.StringInput `pulumi:"state"` // The title of the Pull Request. Title pulumi.StringInput `pulumi:"title"` // The timestamp of the last Pull Request update. UpdatedAt pulumi.IntInput `pulumi:"updatedAt"` }
func (GetRepositoryPullRequestsResultArgs) ElementType ¶ added in v4.8.0
func (GetRepositoryPullRequestsResultArgs) ElementType() reflect.Type
func (GetRepositoryPullRequestsResultArgs) ToGetRepositoryPullRequestsResultOutput ¶ added in v4.8.0
func (i GetRepositoryPullRequestsResultArgs) ToGetRepositoryPullRequestsResultOutput() GetRepositoryPullRequestsResultOutput
func (GetRepositoryPullRequestsResultArgs) ToGetRepositoryPullRequestsResultOutputWithContext ¶ added in v4.8.0
func (i GetRepositoryPullRequestsResultArgs) ToGetRepositoryPullRequestsResultOutputWithContext(ctx context.Context) GetRepositoryPullRequestsResultOutput
type GetRepositoryPullRequestsResultArray ¶ added in v4.8.0
type GetRepositoryPullRequestsResultArray []GetRepositoryPullRequestsResultInput
func (GetRepositoryPullRequestsResultArray) ElementType ¶ added in v4.8.0
func (GetRepositoryPullRequestsResultArray) ElementType() reflect.Type
func (GetRepositoryPullRequestsResultArray) ToGetRepositoryPullRequestsResultArrayOutput ¶ added in v4.8.0
func (i GetRepositoryPullRequestsResultArray) ToGetRepositoryPullRequestsResultArrayOutput() GetRepositoryPullRequestsResultArrayOutput
func (GetRepositoryPullRequestsResultArray) ToGetRepositoryPullRequestsResultArrayOutputWithContext ¶ added in v4.8.0
func (i GetRepositoryPullRequestsResultArray) ToGetRepositoryPullRequestsResultArrayOutputWithContext(ctx context.Context) GetRepositoryPullRequestsResultArrayOutput
type GetRepositoryPullRequestsResultArrayInput ¶ added in v4.8.0
type GetRepositoryPullRequestsResultArrayInput interface { pulumi.Input ToGetRepositoryPullRequestsResultArrayOutput() GetRepositoryPullRequestsResultArrayOutput ToGetRepositoryPullRequestsResultArrayOutputWithContext(context.Context) GetRepositoryPullRequestsResultArrayOutput }
GetRepositoryPullRequestsResultArrayInput is an input type that accepts GetRepositoryPullRequestsResultArray and GetRepositoryPullRequestsResultArrayOutput values. You can construct a concrete instance of `GetRepositoryPullRequestsResultArrayInput` via:
GetRepositoryPullRequestsResultArray{ GetRepositoryPullRequestsResultArgs{...} }
type GetRepositoryPullRequestsResultArrayOutput ¶ added in v4.8.0
type GetRepositoryPullRequestsResultArrayOutput struct{ *pulumi.OutputState }
func (GetRepositoryPullRequestsResultArrayOutput) ElementType ¶ added in v4.8.0
func (GetRepositoryPullRequestsResultArrayOutput) ElementType() reflect.Type
func (GetRepositoryPullRequestsResultArrayOutput) ToGetRepositoryPullRequestsResultArrayOutput ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultArrayOutput) ToGetRepositoryPullRequestsResultArrayOutput() GetRepositoryPullRequestsResultArrayOutput
func (GetRepositoryPullRequestsResultArrayOutput) ToGetRepositoryPullRequestsResultArrayOutputWithContext ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultArrayOutput) ToGetRepositoryPullRequestsResultArrayOutputWithContext(ctx context.Context) GetRepositoryPullRequestsResultArrayOutput
type GetRepositoryPullRequestsResultInput ¶ added in v4.8.0
type GetRepositoryPullRequestsResultInput interface { pulumi.Input ToGetRepositoryPullRequestsResultOutput() GetRepositoryPullRequestsResultOutput ToGetRepositoryPullRequestsResultOutputWithContext(context.Context) GetRepositoryPullRequestsResultOutput }
GetRepositoryPullRequestsResultInput is an input type that accepts GetRepositoryPullRequestsResultArgs and GetRepositoryPullRequestsResultOutput values. You can construct a concrete instance of `GetRepositoryPullRequestsResultInput` via:
GetRepositoryPullRequestsResultArgs{...}
type GetRepositoryPullRequestsResultOutput ¶ added in v4.8.0
type GetRepositoryPullRequestsResultOutput struct{ *pulumi.OutputState }
func (GetRepositoryPullRequestsResultOutput) BaseRef ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) BaseRef() pulumi.StringOutput
If set, filters Pull Requests by base branch name.
func (GetRepositoryPullRequestsResultOutput) BaseSha ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) BaseSha() pulumi.StringOutput
Head commit SHA of the Pull Request base.
func (GetRepositoryPullRequestsResultOutput) Body ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) Body() pulumi.StringOutput
Body of the Pull Request.
func (GetRepositoryPullRequestsResultOutput) Draft ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) Draft() pulumi.BoolOutput
Indicates Whether this Pull Request is a draft.
func (GetRepositoryPullRequestsResultOutput) ElementType ¶ added in v4.8.0
func (GetRepositoryPullRequestsResultOutput) ElementType() reflect.Type
func (GetRepositoryPullRequestsResultOutput) HeadOwner ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) HeadOwner() pulumi.StringOutput
Owner of the Pull Request head repository.
func (GetRepositoryPullRequestsResultOutput) HeadRef ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) HeadRef() pulumi.StringOutput
If set, filters Pull Requests by head user or head organization and branch name in the format of "user:ref-name" or "organization:ref-name". For example: "github:new-script-format" or "octocat:test-branch".
func (GetRepositoryPullRequestsResultOutput) HeadRepository ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) HeadRepository() pulumi.StringOutput
Name of the Pull Request head repository.
func (GetRepositoryPullRequestsResultOutput) HeadSha ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) HeadSha() pulumi.StringOutput
Head commit SHA of the Pull Request head.
func (GetRepositoryPullRequestsResultOutput) Labels ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) Labels() pulumi.StringArrayOutput
List of label names set on the Pull Request.
func (GetRepositoryPullRequestsResultOutput) MaintainerCanModify ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) MaintainerCanModify() pulumi.BoolOutput
Indicates whether the base repository maintainers can modify the Pull Request.
func (GetRepositoryPullRequestsResultOutput) Number ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) Number() pulumi.IntOutput
The number of the Pull Request within the repository.
func (GetRepositoryPullRequestsResultOutput) OpenedAt ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) OpenedAt() pulumi.IntOutput
Unix timestamp indicating the Pull Request creation time.
func (GetRepositoryPullRequestsResultOutput) OpenedBy ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) OpenedBy() pulumi.StringOutput
GitHub login of the user who opened the Pull Request.
func (GetRepositoryPullRequestsResultOutput) State ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) State() pulumi.StringOutput
If set, filters Pull Requests by state. Can be "open", "closed", or "all". Default: "open".
func (GetRepositoryPullRequestsResultOutput) Title ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) Title() pulumi.StringOutput
The title of the Pull Request.
func (GetRepositoryPullRequestsResultOutput) ToGetRepositoryPullRequestsResultOutput ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) ToGetRepositoryPullRequestsResultOutput() GetRepositoryPullRequestsResultOutput
func (GetRepositoryPullRequestsResultOutput) ToGetRepositoryPullRequestsResultOutputWithContext ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) ToGetRepositoryPullRequestsResultOutputWithContext(ctx context.Context) GetRepositoryPullRequestsResultOutput
func (GetRepositoryPullRequestsResultOutput) UpdatedAt ¶ added in v4.8.0
func (o GetRepositoryPullRequestsResultOutput) UpdatedAt() pulumi.IntOutput
The timestamp of the last Pull Request update.
type GetTreeArgs ¶ added in v4.11.0
type GetTreeArgs struct { // Setting this parameter to `true` returns the objects or subtrees referenced by the tree specified in `treeSha`. Recursive *bool `pulumi:"recursive"` // The name of the repository. Repository string `pulumi:"repository"` // The SHA1 value for the tree. TreeSha string `pulumi:"treeSha"` }
A collection of arguments for invoking getTree.
type GetTreeEntry ¶ added in v4.11.0
type GetTreeEntryArgs ¶ added in v4.11.0
type GetTreeEntryArgs struct { Mode pulumi.StringInput `pulumi:"mode"` Path pulumi.StringInput `pulumi:"path"` Sha pulumi.StringInput `pulumi:"sha"` Size pulumi.IntInput `pulumi:"size"` Type pulumi.StringInput `pulumi:"type"` }
func (GetTreeEntryArgs) ElementType ¶ added in v4.11.0
func (GetTreeEntryArgs) ElementType() reflect.Type
func (GetTreeEntryArgs) ToGetTreeEntryOutput ¶ added in v4.11.0
func (i GetTreeEntryArgs) ToGetTreeEntryOutput() GetTreeEntryOutput
func (GetTreeEntryArgs) ToGetTreeEntryOutputWithContext ¶ added in v4.11.0
func (i GetTreeEntryArgs) ToGetTreeEntryOutputWithContext(ctx context.Context) GetTreeEntryOutput
type GetTreeEntryArray ¶ added in v4.11.0
type GetTreeEntryArray []GetTreeEntryInput
func (GetTreeEntryArray) ElementType ¶ added in v4.11.0
func (GetTreeEntryArray) ElementType() reflect.Type
func (GetTreeEntryArray) ToGetTreeEntryArrayOutput ¶ added in v4.11.0
func (i GetTreeEntryArray) ToGetTreeEntryArrayOutput() GetTreeEntryArrayOutput
func (GetTreeEntryArray) ToGetTreeEntryArrayOutputWithContext ¶ added in v4.11.0
func (i GetTreeEntryArray) ToGetTreeEntryArrayOutputWithContext(ctx context.Context) GetTreeEntryArrayOutput
type GetTreeEntryArrayInput ¶ added in v4.11.0
type GetTreeEntryArrayInput interface { pulumi.Input ToGetTreeEntryArrayOutput() GetTreeEntryArrayOutput ToGetTreeEntryArrayOutputWithContext(context.Context) GetTreeEntryArrayOutput }
GetTreeEntryArrayInput is an input type that accepts GetTreeEntryArray and GetTreeEntryArrayOutput values. You can construct a concrete instance of `GetTreeEntryArrayInput` via:
GetTreeEntryArray{ GetTreeEntryArgs{...} }
type GetTreeEntryArrayOutput ¶ added in v4.11.0
type GetTreeEntryArrayOutput struct{ *pulumi.OutputState }
func (GetTreeEntryArrayOutput) ElementType ¶ added in v4.11.0
func (GetTreeEntryArrayOutput) ElementType() reflect.Type
func (GetTreeEntryArrayOutput) Index ¶ added in v4.11.0
func (o GetTreeEntryArrayOutput) Index(i pulumi.IntInput) GetTreeEntryOutput
func (GetTreeEntryArrayOutput) ToGetTreeEntryArrayOutput ¶ added in v4.11.0
func (o GetTreeEntryArrayOutput) ToGetTreeEntryArrayOutput() GetTreeEntryArrayOutput
func (GetTreeEntryArrayOutput) ToGetTreeEntryArrayOutputWithContext ¶ added in v4.11.0
func (o GetTreeEntryArrayOutput) ToGetTreeEntryArrayOutputWithContext(ctx context.Context) GetTreeEntryArrayOutput
type GetTreeEntryInput ¶ added in v4.11.0
type GetTreeEntryInput interface { pulumi.Input ToGetTreeEntryOutput() GetTreeEntryOutput ToGetTreeEntryOutputWithContext(context.Context) GetTreeEntryOutput }
GetTreeEntryInput is an input type that accepts GetTreeEntryArgs and GetTreeEntryOutput values. You can construct a concrete instance of `GetTreeEntryInput` via:
GetTreeEntryArgs{...}
type GetTreeEntryOutput ¶ added in v4.11.0
type GetTreeEntryOutput struct{ *pulumi.OutputState }
func (GetTreeEntryOutput) ElementType ¶ added in v4.11.0
func (GetTreeEntryOutput) ElementType() reflect.Type
func (GetTreeEntryOutput) Mode ¶ added in v4.11.0
func (o GetTreeEntryOutput) Mode() pulumi.StringOutput
func (GetTreeEntryOutput) Path ¶ added in v4.11.0
func (o GetTreeEntryOutput) Path() pulumi.StringOutput
func (GetTreeEntryOutput) Sha ¶ added in v4.11.0
func (o GetTreeEntryOutput) Sha() pulumi.StringOutput
func (GetTreeEntryOutput) Size ¶ added in v4.11.0
func (o GetTreeEntryOutput) Size() pulumi.IntOutput
func (GetTreeEntryOutput) ToGetTreeEntryOutput ¶ added in v4.11.0
func (o GetTreeEntryOutput) ToGetTreeEntryOutput() GetTreeEntryOutput
func (GetTreeEntryOutput) ToGetTreeEntryOutputWithContext ¶ added in v4.11.0
func (o GetTreeEntryOutput) ToGetTreeEntryOutputWithContext(ctx context.Context) GetTreeEntryOutput
func (GetTreeEntryOutput) Type ¶ added in v4.11.0
func (o GetTreeEntryOutput) Type() pulumi.StringOutput
type GetTreeOutputArgs ¶ added in v4.11.0
type GetTreeOutputArgs struct { // Setting this parameter to `true` returns the objects or subtrees referenced by the tree specified in `treeSha`. Recursive pulumi.BoolPtrInput `pulumi:"recursive"` // The name of the repository. Repository pulumi.StringInput `pulumi:"repository"` // The SHA1 value for the tree. TreeSha pulumi.StringInput `pulumi:"treeSha"` }
A collection of arguments for invoking getTree.
func (GetTreeOutputArgs) ElementType ¶ added in v4.11.0
func (GetTreeOutputArgs) ElementType() reflect.Type
type GetTreeResult ¶ added in v4.11.0
type GetTreeResult struct { // Objects (of `path`, `mode`, `type`, `size`, and `sha`) specifying a tree structure. Entries []GetTreeEntry `pulumi:"entries"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Recursive *bool `pulumi:"recursive"` Repository string `pulumi:"repository"` TreeSha string `pulumi:"treeSha"` }
A collection of values returned by getTree.
func GetTree ¶ added in v4.11.0
func GetTree(ctx *pulumi.Context, args *GetTreeArgs, opts ...pulumi.InvokeOption) (*GetTreeResult, error)
Use this data source to retrieve information about a single tree.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { thisRepository, err := github.LookupRepository(ctx, &GetRepositoryArgs{ Name: pulumi.StringRef("example"), }, nil) if err != nil { return err } thisBranch, err := github.LookupBranch(ctx, &GetBranchArgs{ Branch: thisRepository.DefaultBranch, Repository: thisRepository.Name, }, nil) if err != nil { return err } thisTree, err := github.GetTree(ctx, &GetTreeArgs{ Recursive: pulumi.BoolRef(false), Repository: thisRepository.Name, TreeSha: thisBranch.Sha, }, nil) if err != nil { return err } ctx.Export("entries", thisTree.Entries) return nil }) }
```
type GetTreeResultOutput ¶ added in v4.11.0
type GetTreeResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTree.
func GetTreeOutput ¶ added in v4.11.0
func GetTreeOutput(ctx *pulumi.Context, args GetTreeOutputArgs, opts ...pulumi.InvokeOption) GetTreeResultOutput
func (GetTreeResultOutput) ElementType ¶ added in v4.11.0
func (GetTreeResultOutput) ElementType() reflect.Type
func (GetTreeResultOutput) Entries ¶ added in v4.11.0
func (o GetTreeResultOutput) Entries() GetTreeEntryArrayOutput
Objects (of `path`, `mode`, `type`, `size`, and `sha`) specifying a tree structure.
func (GetTreeResultOutput) Id ¶ added in v4.11.0
func (o GetTreeResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetTreeResultOutput) Recursive ¶ added in v4.11.0
func (o GetTreeResultOutput) Recursive() pulumi.BoolPtrOutput
func (GetTreeResultOutput) Repository ¶ added in v4.11.0
func (o GetTreeResultOutput) Repository() pulumi.StringOutput
func (GetTreeResultOutput) ToGetTreeResultOutput ¶ added in v4.11.0
func (o GetTreeResultOutput) ToGetTreeResultOutput() GetTreeResultOutput
func (GetTreeResultOutput) ToGetTreeResultOutputWithContext ¶ added in v4.11.0
func (o GetTreeResultOutput) ToGetTreeResultOutputWithContext(ctx context.Context) GetTreeResultOutput
func (GetTreeResultOutput) TreeSha ¶ added in v4.11.0
func (o GetTreeResultOutput) TreeSha() pulumi.StringOutput
type GetUserArgs ¶
type GetUserArgs struct { // The username. Use an empty string `""` to retrieve information about the currently authenticated user. Username string `pulumi:"username"` }
A collection of arguments for invoking getUser.
type GetUserOutputArgs ¶ added in v4.8.0
type GetUserOutputArgs struct { // The username. Use an empty string `""` to retrieve information about the currently authenticated user. Username pulumi.StringInput `pulumi:"username"` }
A collection of arguments for invoking getUser.
func (GetUserOutputArgs) ElementType ¶ added in v4.8.0
func (GetUserOutputArgs) ElementType() reflect.Type
type GetUserResult ¶
type GetUserResult struct { // the user's avatar URL. AvatarUrl string `pulumi:"avatarUrl"` // the user's bio. Bio string `pulumi:"bio"` // the user's blog location. Blog string `pulumi:"blog"` // the user's company name. Company string `pulumi:"company"` // the creation date. CreatedAt string `pulumi:"createdAt"` // the user's email. Email string `pulumi:"email"` // the number of followers. Followers int `pulumi:"followers"` // the number of following users. Following int `pulumi:"following"` // list of user's GPG keys. GpgKeys []string `pulumi:"gpgKeys"` // the user's gravatar ID. GravatarId string `pulumi:"gravatarId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // the user's location. Location string `pulumi:"location"` // the user's login. Login string `pulumi:"login"` // the user's full name. Name string `pulumi:"name"` // the Node ID of the user. NodeId string `pulumi:"nodeId"` // the number of public gists. PublicGists int `pulumi:"publicGists"` // the number of public repositories. PublicRepos int `pulumi:"publicRepos"` // whether the user is a GitHub admin. SiteAdmin bool `pulumi:"siteAdmin"` // list of user's SSH keys. SshKeys []string `pulumi:"sshKeys"` // the suspended date if the user is suspended. SuspendedAt string `pulumi:"suspendedAt"` // the update date. UpdatedAt string `pulumi:"updatedAt"` Username string `pulumi:"username"` }
A collection of values returned by getUser.
func GetUser ¶
func GetUser(ctx *pulumi.Context, args *GetUserArgs, opts ...pulumi.InvokeOption) (*GetUserResult, error)
Use this data source to retrieve information about a GitHub user.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.GetUser(ctx, &GetUserArgs{ Username: "example", }, nil) if err != nil { return err } current, err := github.GetUser(ctx, &GetUserArgs{ Username: "", }, nil) if err != nil { return err } ctx.Export("currentGithubLogin", current.Login) return nil }) }
```
type GetUserResultOutput ¶ added in v4.8.0
type GetUserResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getUser.
func GetUserOutput ¶ added in v4.8.0
func GetUserOutput(ctx *pulumi.Context, args GetUserOutputArgs, opts ...pulumi.InvokeOption) GetUserResultOutput
func (GetUserResultOutput) AvatarUrl ¶ added in v4.8.0
func (o GetUserResultOutput) AvatarUrl() pulumi.StringOutput
the user's avatar URL.
func (GetUserResultOutput) Bio ¶ added in v4.8.0
func (o GetUserResultOutput) Bio() pulumi.StringOutput
the user's bio.
func (GetUserResultOutput) Blog ¶ added in v4.8.0
func (o GetUserResultOutput) Blog() pulumi.StringOutput
the user's blog location.
func (GetUserResultOutput) Company ¶ added in v4.8.0
func (o GetUserResultOutput) Company() pulumi.StringOutput
the user's company name.
func (GetUserResultOutput) CreatedAt ¶ added in v4.8.0
func (o GetUserResultOutput) CreatedAt() pulumi.StringOutput
the creation date.
func (GetUserResultOutput) ElementType ¶ added in v4.8.0
func (GetUserResultOutput) ElementType() reflect.Type
func (GetUserResultOutput) Email ¶ added in v4.8.0
func (o GetUserResultOutput) Email() pulumi.StringOutput
the user's email.
func (GetUserResultOutput) Followers ¶ added in v4.8.0
func (o GetUserResultOutput) Followers() pulumi.IntOutput
the number of followers.
func (GetUserResultOutput) Following ¶ added in v4.8.0
func (o GetUserResultOutput) Following() pulumi.IntOutput
the number of following users.
func (GetUserResultOutput) GpgKeys ¶ added in v4.8.0
func (o GetUserResultOutput) GpgKeys() pulumi.StringArrayOutput
list of user's GPG keys.
func (GetUserResultOutput) GravatarId ¶ added in v4.8.0
func (o GetUserResultOutput) GravatarId() pulumi.StringOutput
the user's gravatar ID.
func (GetUserResultOutput) Id ¶ added in v4.8.0
func (o GetUserResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetUserResultOutput) Location ¶ added in v4.8.0
func (o GetUserResultOutput) Location() pulumi.StringOutput
the user's location.
func (GetUserResultOutput) Login ¶ added in v4.8.0
func (o GetUserResultOutput) Login() pulumi.StringOutput
the user's login.
func (GetUserResultOutput) Name ¶ added in v4.8.0
func (o GetUserResultOutput) Name() pulumi.StringOutput
the user's full name.
func (GetUserResultOutput) NodeId ¶ added in v4.8.0
func (o GetUserResultOutput) NodeId() pulumi.StringOutput
the Node ID of the user.
func (GetUserResultOutput) PublicGists ¶ added in v4.8.0
func (o GetUserResultOutput) PublicGists() pulumi.IntOutput
the number of public gists.
func (GetUserResultOutput) PublicRepos ¶ added in v4.8.0
func (o GetUserResultOutput) PublicRepos() pulumi.IntOutput
the number of public repositories.
func (GetUserResultOutput) SiteAdmin ¶ added in v4.8.0
func (o GetUserResultOutput) SiteAdmin() pulumi.BoolOutput
whether the user is a GitHub admin.
func (GetUserResultOutput) SshKeys ¶ added in v4.8.0
func (o GetUserResultOutput) SshKeys() pulumi.StringArrayOutput
list of user's SSH keys.
func (GetUserResultOutput) SuspendedAt ¶ added in v4.11.0
func (o GetUserResultOutput) SuspendedAt() pulumi.StringOutput
the suspended date if the user is suspended.
func (GetUserResultOutput) ToGetUserResultOutput ¶ added in v4.8.0
func (o GetUserResultOutput) ToGetUserResultOutput() GetUserResultOutput
func (GetUserResultOutput) ToGetUserResultOutputWithContext ¶ added in v4.8.0
func (o GetUserResultOutput) ToGetUserResultOutputWithContext(ctx context.Context) GetUserResultOutput
func (GetUserResultOutput) UpdatedAt ¶ added in v4.8.0
func (o GetUserResultOutput) UpdatedAt() pulumi.StringOutput
the update date.
func (GetUserResultOutput) Username ¶ added in v4.8.0
func (o GetUserResultOutput) Username() pulumi.StringOutput
type GetUsersArgs ¶ added in v4.7.0
type GetUsersArgs struct { // List of usernames. Usernames []string `pulumi:"usernames"` }
A collection of arguments for invoking getUsers.
type GetUsersOutputArgs ¶ added in v4.8.0
type GetUsersOutputArgs struct { // List of usernames. Usernames pulumi.StringArrayInput `pulumi:"usernames"` }
A collection of arguments for invoking getUsers.
func (GetUsersOutputArgs) ElementType ¶ added in v4.8.0
func (GetUsersOutputArgs) ElementType() reflect.Type
type GetUsersResult ¶ added in v4.7.0
type GetUsersResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // list of logins of users that could be found. Logins []string `pulumi:"logins"` // list of Node IDs of users that could be found. NodeIds []string `pulumi:"nodeIds"` // list of logins without matching user. UnknownLogins []string `pulumi:"unknownLogins"` Usernames []string `pulumi:"usernames"` }
A collection of values returned by getUsers.
func GetUsers ¶ added in v4.7.0
func GetUsers(ctx *pulumi.Context, args *GetUsersArgs, opts ...pulumi.InvokeOption) (*GetUsersResult, error)
Use this data source to retrieve information about multiple GitHub users at once.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := github.GetUsers(ctx, &GetUsersArgs{ Usernames: []string{ "example1", "example2", "example3", }, }, nil) if err != nil { return err } ctx.Export("validUsers", example.Logins) ctx.Export("invalidUsers", example.UnknownLogins) return nil }) }
```
type GetUsersResultOutput ¶ added in v4.8.0
type GetUsersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getUsers.
func GetUsersOutput ¶ added in v4.8.0
func GetUsersOutput(ctx *pulumi.Context, args GetUsersOutputArgs, opts ...pulumi.InvokeOption) GetUsersResultOutput
func (GetUsersResultOutput) ElementType ¶ added in v4.8.0
func (GetUsersResultOutput) ElementType() reflect.Type
func (GetUsersResultOutput) Id ¶ added in v4.8.0
func (o GetUsersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetUsersResultOutput) Logins ¶ added in v4.8.0
func (o GetUsersResultOutput) Logins() pulumi.StringArrayOutput
list of logins of users that could be found.
func (GetUsersResultOutput) NodeIds ¶ added in v4.8.0
func (o GetUsersResultOutput) NodeIds() pulumi.StringArrayOutput
list of Node IDs of users that could be found.
func (GetUsersResultOutput) ToGetUsersResultOutput ¶ added in v4.8.0
func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput
func (GetUsersResultOutput) ToGetUsersResultOutputWithContext ¶ added in v4.8.0
func (o GetUsersResultOutput) ToGetUsersResultOutputWithContext(ctx context.Context) GetUsersResultOutput
func (GetUsersResultOutput) UnknownLogins ¶ added in v4.8.0
func (o GetUsersResultOutput) UnknownLogins() pulumi.StringArrayOutput
list of logins without matching user.
func (GetUsersResultOutput) Usernames ¶ added in v4.8.0
func (o GetUsersResultOutput) Usernames() pulumi.StringArrayOutput
type Issue ¶ added in v4.11.0
type Issue struct { pulumi.CustomResourceState // List of Logins to assign the to the issue. Assignees pulumi.StringArrayOutput `pulumi:"assignees"` // Title of the issue. Body pulumi.StringPtrOutput `pulumi:"body"` Etag pulumi.StringOutput `pulumi:"etag"` // (Computed) - The issue id IssueId pulumi.IntOutput `pulumi:"issueId"` // List of labels to attach to the issue. Labels pulumi.StringArrayOutput `pulumi:"labels"` // Milestone number to assign to the issue MilestoneNumber pulumi.IntPtrOutput `pulumi:"milestoneNumber"` // (Computed) - The issue number Number pulumi.IntOutput `pulumi:"number"` // The GitHub repository name Repository pulumi.StringOutput `pulumi:"repository"` // Title of the issue. Title pulumi.StringOutput `pulumi:"title"` }
Provides a GitHub issue resource.
This resource allows you to create and manage issue within your GitHub repository.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testRepository, err := github.NewRepository(ctx, "testRepository", &github.RepositoryArgs{ AutoInit: pulumi.Bool(true), HasIssues: pulumi.Bool(true), }) if err != nil { return err } _, err = github.NewIssue(ctx, "testIssue", &github.IssueArgs{ Repository: testRepository.Name, Title: pulumi.String("My issue title"), Body: pulumi.String("The body of my issue"), }) if err != nil { return err } return nil }) }
```
## Import
GitHub Issues can be imported using an ID made up of `repository:number`, e.g.
```sh
$ pulumi import github:index/issue:Issue issue_15 myrepo:15
```
func GetIssue ¶ added in v4.11.0
func GetIssue(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IssueState, opts ...pulumi.ResourceOption) (*Issue, error)
GetIssue gets an existing Issue resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewIssue ¶ added in v4.11.0
func NewIssue(ctx *pulumi.Context, name string, args *IssueArgs, opts ...pulumi.ResourceOption) (*Issue, error)
NewIssue registers a new resource with the given unique name, arguments, and options.
func (*Issue) ElementType ¶ added in v4.11.0
func (*Issue) ToIssueOutput ¶ added in v4.11.0
func (i *Issue) ToIssueOutput() IssueOutput
func (*Issue) ToIssueOutputWithContext ¶ added in v4.11.0
func (i *Issue) ToIssueOutputWithContext(ctx context.Context) IssueOutput
type IssueArgs ¶ added in v4.11.0
type IssueArgs struct { // List of Logins to assign the to the issue. Assignees pulumi.StringArrayInput // Title of the issue. Body pulumi.StringPtrInput // List of labels to attach to the issue. Labels pulumi.StringArrayInput // Milestone number to assign to the issue MilestoneNumber pulumi.IntPtrInput // The GitHub repository name Repository pulumi.StringInput // Title of the issue. Title pulumi.StringInput }
The set of arguments for constructing a Issue resource.
func (IssueArgs) ElementType ¶ added in v4.11.0
type IssueArray ¶ added in v4.11.0
type IssueArray []IssueInput
func (IssueArray) ElementType ¶ added in v4.11.0
func (IssueArray) ElementType() reflect.Type
func (IssueArray) ToIssueArrayOutput ¶ added in v4.11.0
func (i IssueArray) ToIssueArrayOutput() IssueArrayOutput
func (IssueArray) ToIssueArrayOutputWithContext ¶ added in v4.11.0
func (i IssueArray) ToIssueArrayOutputWithContext(ctx context.Context) IssueArrayOutput
type IssueArrayInput ¶ added in v4.11.0
type IssueArrayInput interface { pulumi.Input ToIssueArrayOutput() IssueArrayOutput ToIssueArrayOutputWithContext(context.Context) IssueArrayOutput }
IssueArrayInput is an input type that accepts IssueArray and IssueArrayOutput values. You can construct a concrete instance of `IssueArrayInput` via:
IssueArray{ IssueArgs{...} }
type IssueArrayOutput ¶ added in v4.11.0
type IssueArrayOutput struct{ *pulumi.OutputState }
func (IssueArrayOutput) ElementType ¶ added in v4.11.0
func (IssueArrayOutput) ElementType() reflect.Type
func (IssueArrayOutput) Index ¶ added in v4.11.0
func (o IssueArrayOutput) Index(i pulumi.IntInput) IssueOutput
func (IssueArrayOutput) ToIssueArrayOutput ¶ added in v4.11.0
func (o IssueArrayOutput) ToIssueArrayOutput() IssueArrayOutput
func (IssueArrayOutput) ToIssueArrayOutputWithContext ¶ added in v4.11.0
func (o IssueArrayOutput) ToIssueArrayOutputWithContext(ctx context.Context) IssueArrayOutput
type IssueInput ¶ added in v4.11.0
type IssueInput interface { pulumi.Input ToIssueOutput() IssueOutput ToIssueOutputWithContext(ctx context.Context) IssueOutput }
type IssueLabel ¶
type IssueLabel struct { pulumi.CustomResourceState // A 6 character hex code, **without the leading #**, identifying the color of the label. Color pulumi.StringOutput `pulumi:"color"` // A short description of the label. Description pulumi.StringPtrOutput `pulumi:"description"` Etag pulumi.StringOutput `pulumi:"etag"` // The name of the label. Name pulumi.StringOutput `pulumi:"name"` // The GitHub repository Repository pulumi.StringOutput `pulumi:"repository"` // The URL to the issue label Url pulumi.StringOutput `pulumi:"url"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewIssueLabel(ctx, "testRepo", &github.IssueLabelArgs{ Color: pulumi.String("FF0000"), Repository: pulumi.String("test-repo"), }) if err != nil { return err } return nil }) }
```
## Import
GitHub Issue Labels can be imported using an ID made up of `repository:name`, e.g.
```sh
$ pulumi import github:index/issueLabel:IssueLabel panic_label terraform:panic
```
func GetIssueLabel ¶
func GetIssueLabel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IssueLabelState, opts ...pulumi.ResourceOption) (*IssueLabel, error)
GetIssueLabel gets an existing IssueLabel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewIssueLabel ¶
func NewIssueLabel(ctx *pulumi.Context, name string, args *IssueLabelArgs, opts ...pulumi.ResourceOption) (*IssueLabel, error)
NewIssueLabel registers a new resource with the given unique name, arguments, and options.
func (*IssueLabel) ElementType ¶
func (*IssueLabel) ElementType() reflect.Type
func (*IssueLabel) ToIssueLabelOutput ¶
func (i *IssueLabel) ToIssueLabelOutput() IssueLabelOutput
func (*IssueLabel) ToIssueLabelOutputWithContext ¶
func (i *IssueLabel) ToIssueLabelOutputWithContext(ctx context.Context) IssueLabelOutput
type IssueLabelArgs ¶
type IssueLabelArgs struct { // A 6 character hex code, **without the leading #**, identifying the color of the label. Color pulumi.StringInput // A short description of the label. Description pulumi.StringPtrInput // The name of the label. Name pulumi.StringPtrInput // The GitHub repository Repository pulumi.StringInput }
The set of arguments for constructing a IssueLabel resource.
func (IssueLabelArgs) ElementType ¶
func (IssueLabelArgs) ElementType() reflect.Type
type IssueLabelArray ¶
type IssueLabelArray []IssueLabelInput
func (IssueLabelArray) ElementType ¶
func (IssueLabelArray) ElementType() reflect.Type
func (IssueLabelArray) ToIssueLabelArrayOutput ¶
func (i IssueLabelArray) ToIssueLabelArrayOutput() IssueLabelArrayOutput
func (IssueLabelArray) ToIssueLabelArrayOutputWithContext ¶
func (i IssueLabelArray) ToIssueLabelArrayOutputWithContext(ctx context.Context) IssueLabelArrayOutput
type IssueLabelArrayInput ¶
type IssueLabelArrayInput interface { pulumi.Input ToIssueLabelArrayOutput() IssueLabelArrayOutput ToIssueLabelArrayOutputWithContext(context.Context) IssueLabelArrayOutput }
IssueLabelArrayInput is an input type that accepts IssueLabelArray and IssueLabelArrayOutput values. You can construct a concrete instance of `IssueLabelArrayInput` via:
IssueLabelArray{ IssueLabelArgs{...} }
type IssueLabelArrayOutput ¶
type IssueLabelArrayOutput struct{ *pulumi.OutputState }
func (IssueLabelArrayOutput) ElementType ¶
func (IssueLabelArrayOutput) ElementType() reflect.Type
func (IssueLabelArrayOutput) Index ¶
func (o IssueLabelArrayOutput) Index(i pulumi.IntInput) IssueLabelOutput
func (IssueLabelArrayOutput) ToIssueLabelArrayOutput ¶
func (o IssueLabelArrayOutput) ToIssueLabelArrayOutput() IssueLabelArrayOutput
func (IssueLabelArrayOutput) ToIssueLabelArrayOutputWithContext ¶
func (o IssueLabelArrayOutput) ToIssueLabelArrayOutputWithContext(ctx context.Context) IssueLabelArrayOutput
type IssueLabelInput ¶
type IssueLabelInput interface { pulumi.Input ToIssueLabelOutput() IssueLabelOutput ToIssueLabelOutputWithContext(ctx context.Context) IssueLabelOutput }
type IssueLabelMap ¶
type IssueLabelMap map[string]IssueLabelInput
func (IssueLabelMap) ElementType ¶
func (IssueLabelMap) ElementType() reflect.Type
func (IssueLabelMap) ToIssueLabelMapOutput ¶
func (i IssueLabelMap) ToIssueLabelMapOutput() IssueLabelMapOutput
func (IssueLabelMap) ToIssueLabelMapOutputWithContext ¶
func (i IssueLabelMap) ToIssueLabelMapOutputWithContext(ctx context.Context) IssueLabelMapOutput
type IssueLabelMapInput ¶
type IssueLabelMapInput interface { pulumi.Input ToIssueLabelMapOutput() IssueLabelMapOutput ToIssueLabelMapOutputWithContext(context.Context) IssueLabelMapOutput }
IssueLabelMapInput is an input type that accepts IssueLabelMap and IssueLabelMapOutput values. You can construct a concrete instance of `IssueLabelMapInput` via:
IssueLabelMap{ "key": IssueLabelArgs{...} }
type IssueLabelMapOutput ¶
type IssueLabelMapOutput struct{ *pulumi.OutputState }
func (IssueLabelMapOutput) ElementType ¶
func (IssueLabelMapOutput) ElementType() reflect.Type
func (IssueLabelMapOutput) MapIndex ¶
func (o IssueLabelMapOutput) MapIndex(k pulumi.StringInput) IssueLabelOutput
func (IssueLabelMapOutput) ToIssueLabelMapOutput ¶
func (o IssueLabelMapOutput) ToIssueLabelMapOutput() IssueLabelMapOutput
func (IssueLabelMapOutput) ToIssueLabelMapOutputWithContext ¶
func (o IssueLabelMapOutput) ToIssueLabelMapOutputWithContext(ctx context.Context) IssueLabelMapOutput
type IssueLabelOutput ¶
type IssueLabelOutput struct{ *pulumi.OutputState }
func (IssueLabelOutput) Color ¶ added in v4.15.0
func (o IssueLabelOutput) Color() pulumi.StringOutput
A 6 character hex code, **without the leading #**, identifying the color of the label.
func (IssueLabelOutput) Description ¶ added in v4.15.0
func (o IssueLabelOutput) Description() pulumi.StringPtrOutput
A short description of the label.
func (IssueLabelOutput) ElementType ¶
func (IssueLabelOutput) ElementType() reflect.Type
func (IssueLabelOutput) Etag ¶ added in v4.15.0
func (o IssueLabelOutput) Etag() pulumi.StringOutput
func (IssueLabelOutput) Name ¶ added in v4.15.0
func (o IssueLabelOutput) Name() pulumi.StringOutput
The name of the label.
func (IssueLabelOutput) Repository ¶ added in v4.15.0
func (o IssueLabelOutput) Repository() pulumi.StringOutput
The GitHub repository
func (IssueLabelOutput) ToIssueLabelOutput ¶
func (o IssueLabelOutput) ToIssueLabelOutput() IssueLabelOutput
func (IssueLabelOutput) ToIssueLabelOutputWithContext ¶
func (o IssueLabelOutput) ToIssueLabelOutputWithContext(ctx context.Context) IssueLabelOutput
func (IssueLabelOutput) Url ¶ added in v4.15.0
func (o IssueLabelOutput) Url() pulumi.StringOutput
The URL to the issue label
type IssueLabelState ¶
type IssueLabelState struct { // A 6 character hex code, **without the leading #**, identifying the color of the label. Color pulumi.StringPtrInput // A short description of the label. Description pulumi.StringPtrInput Etag pulumi.StringPtrInput // The name of the label. Name pulumi.StringPtrInput // The GitHub repository Repository pulumi.StringPtrInput // The URL to the issue label Url pulumi.StringPtrInput }
func (IssueLabelState) ElementType ¶
func (IssueLabelState) ElementType() reflect.Type
type IssueMap ¶ added in v4.11.0
type IssueMap map[string]IssueInput
func (IssueMap) ElementType ¶ added in v4.11.0
func (IssueMap) ToIssueMapOutput ¶ added in v4.11.0
func (i IssueMap) ToIssueMapOutput() IssueMapOutput
func (IssueMap) ToIssueMapOutputWithContext ¶ added in v4.11.0
func (i IssueMap) ToIssueMapOutputWithContext(ctx context.Context) IssueMapOutput
type IssueMapInput ¶ added in v4.11.0
type IssueMapInput interface { pulumi.Input ToIssueMapOutput() IssueMapOutput ToIssueMapOutputWithContext(context.Context) IssueMapOutput }
IssueMapInput is an input type that accepts IssueMap and IssueMapOutput values. You can construct a concrete instance of `IssueMapInput` via:
IssueMap{ "key": IssueArgs{...} }
type IssueMapOutput ¶ added in v4.11.0
type IssueMapOutput struct{ *pulumi.OutputState }
func (IssueMapOutput) ElementType ¶ added in v4.11.0
func (IssueMapOutput) ElementType() reflect.Type
func (IssueMapOutput) MapIndex ¶ added in v4.11.0
func (o IssueMapOutput) MapIndex(k pulumi.StringInput) IssueOutput
func (IssueMapOutput) ToIssueMapOutput ¶ added in v4.11.0
func (o IssueMapOutput) ToIssueMapOutput() IssueMapOutput
func (IssueMapOutput) ToIssueMapOutputWithContext ¶ added in v4.11.0
func (o IssueMapOutput) ToIssueMapOutputWithContext(ctx context.Context) IssueMapOutput
type IssueOutput ¶ added in v4.11.0
type IssueOutput struct{ *pulumi.OutputState }
func (IssueOutput) Assignees ¶ added in v4.15.0
func (o IssueOutput) Assignees() pulumi.StringArrayOutput
List of Logins to assign the to the issue.
func (IssueOutput) Body ¶ added in v4.15.0
func (o IssueOutput) Body() pulumi.StringPtrOutput
Title of the issue.
func (IssueOutput) ElementType ¶ added in v4.11.0
func (IssueOutput) ElementType() reflect.Type
func (IssueOutput) Etag ¶ added in v4.15.0
func (o IssueOutput) Etag() pulumi.StringOutput
func (IssueOutput) IssueId ¶ added in v4.15.0
func (o IssueOutput) IssueId() pulumi.IntOutput
(Computed) - The issue id
func (IssueOutput) Labels ¶ added in v4.15.0
func (o IssueOutput) Labels() pulumi.StringArrayOutput
List of labels to attach to the issue.
func (IssueOutput) MilestoneNumber ¶ added in v4.15.0
func (o IssueOutput) MilestoneNumber() pulumi.IntPtrOutput
Milestone number to assign to the issue
func (IssueOutput) Number ¶ added in v4.15.0
func (o IssueOutput) Number() pulumi.IntOutput
(Computed) - The issue number
func (IssueOutput) Repository ¶ added in v4.15.0
func (o IssueOutput) Repository() pulumi.StringOutput
The GitHub repository name
func (IssueOutput) Title ¶ added in v4.15.0
func (o IssueOutput) Title() pulumi.StringOutput
Title of the issue.
func (IssueOutput) ToIssueOutput ¶ added in v4.11.0
func (o IssueOutput) ToIssueOutput() IssueOutput
func (IssueOutput) ToIssueOutputWithContext ¶ added in v4.11.0
func (o IssueOutput) ToIssueOutputWithContext(ctx context.Context) IssueOutput
type IssueState ¶ added in v4.11.0
type IssueState struct { // List of Logins to assign the to the issue. Assignees pulumi.StringArrayInput // Title of the issue. Body pulumi.StringPtrInput Etag pulumi.StringPtrInput // (Computed) - The issue id IssueId pulumi.IntPtrInput // List of labels to attach to the issue. Labels pulumi.StringArrayInput // Milestone number to assign to the issue MilestoneNumber pulumi.IntPtrInput // (Computed) - The issue number Number pulumi.IntPtrInput // The GitHub repository name Repository pulumi.StringPtrInput // Title of the issue. Title pulumi.StringPtrInput }
func (IssueState) ElementType ¶ added in v4.11.0
func (IssueState) ElementType() reflect.Type
type LookupBranchArgs ¶
type LookupBranchArgs struct { // The repository branch to create. Branch string `pulumi:"branch"` // The GitHub repository name. Repository string `pulumi:"repository"` }
A collection of arguments for invoking getBranch.
type LookupBranchOutputArgs ¶ added in v4.8.0
type LookupBranchOutputArgs struct { // The repository branch to create. Branch pulumi.StringInput `pulumi:"branch"` // The GitHub repository name. Repository pulumi.StringInput `pulumi:"repository"` }
A collection of arguments for invoking getBranch.
func (LookupBranchOutputArgs) ElementType ¶ added in v4.8.0
func (LookupBranchOutputArgs) ElementType() reflect.Type
type LookupBranchResult ¶
type LookupBranchResult struct { Branch string `pulumi:"branch"` // An etag representing the Branch object. Etag string `pulumi:"etag"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A string representing a branch reference, in the form of `refs/heads/<branch>`. Ref string `pulumi:"ref"` Repository string `pulumi:"repository"` // A string storing the reference's `HEAD` commit's SHA1. Sha string `pulumi:"sha"` }
A collection of values returned by getBranch.
func LookupBranch ¶
func LookupBranch(ctx *pulumi.Context, args *LookupBranchArgs, opts ...pulumi.InvokeOption) (*LookupBranchResult, error)
Use this data source to retrieve information about a repository branch.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.LookupBranch(ctx, &GetBranchArgs{ Branch: "development", Repository: "example", }, nil) if err != nil { return err } return nil }) }
```
type LookupBranchResultOutput ¶ added in v4.8.0
type LookupBranchResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getBranch.
func LookupBranchOutput ¶ added in v4.8.0
func LookupBranchOutput(ctx *pulumi.Context, args LookupBranchOutputArgs, opts ...pulumi.InvokeOption) LookupBranchResultOutput
func (LookupBranchResultOutput) Branch ¶ added in v4.8.0
func (o LookupBranchResultOutput) Branch() pulumi.StringOutput
func (LookupBranchResultOutput) ElementType ¶ added in v4.8.0
func (LookupBranchResultOutput) ElementType() reflect.Type
func (LookupBranchResultOutput) Etag ¶ added in v4.8.0
func (o LookupBranchResultOutput) Etag() pulumi.StringOutput
An etag representing the Branch object.
func (LookupBranchResultOutput) Id ¶ added in v4.8.0
func (o LookupBranchResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupBranchResultOutput) Ref ¶ added in v4.8.0
func (o LookupBranchResultOutput) Ref() pulumi.StringOutput
A string representing a branch reference, in the form of `refs/heads/<branch>`.
func (LookupBranchResultOutput) Repository ¶ added in v4.8.0
func (o LookupBranchResultOutput) Repository() pulumi.StringOutput
func (LookupBranchResultOutput) Sha ¶ added in v4.8.0
func (o LookupBranchResultOutput) Sha() pulumi.StringOutput
A string storing the reference's `HEAD` commit's SHA1.
func (LookupBranchResultOutput) ToLookupBranchResultOutput ¶ added in v4.8.0
func (o LookupBranchResultOutput) ToLookupBranchResultOutput() LookupBranchResultOutput
func (LookupBranchResultOutput) ToLookupBranchResultOutputWithContext ¶ added in v4.8.0
func (o LookupBranchResultOutput) ToLookupBranchResultOutputWithContext(ctx context.Context) LookupBranchResultOutput
type LookupMembershipArgs ¶
type LookupMembershipArgs struct { // The organization to check for the above username. Organization *string `pulumi:"organization"` // The username to lookup in the organization. Username string `pulumi:"username"` }
A collection of arguments for invoking getMembership.
type LookupMembershipOutputArgs ¶ added in v4.8.0
type LookupMembershipOutputArgs struct { // The organization to check for the above username. Organization pulumi.StringPtrInput `pulumi:"organization"` // The username to lookup in the organization. Username pulumi.StringInput `pulumi:"username"` }
A collection of arguments for invoking getMembership.
func (LookupMembershipOutputArgs) ElementType ¶ added in v4.8.0
func (LookupMembershipOutputArgs) ElementType() reflect.Type
type LookupMembershipResult ¶
type LookupMembershipResult struct { // An etag representing the membership object. Etag string `pulumi:"etag"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Organization *string `pulumi:"organization"` // `admin` or `member` -- the role the user has within the organization. Role string `pulumi:"role"` // The username. Username string `pulumi:"username"` }
A collection of values returned by getMembership.
func LookupMembership ¶
func LookupMembership(ctx *pulumi.Context, args *LookupMembershipArgs, opts ...pulumi.InvokeOption) (*LookupMembershipResult, error)
Use this data source to find out if a user is a member of your organization, as well as what role they have within it. If the user's membership in the organization is pending their acceptance of an invite, the role they would have once they accept will be returned.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.LookupMembership(ctx, &GetMembershipArgs{ Username: "SomeUser", }, nil) if err != nil { return err } return nil }) }
```
type LookupMembershipResultOutput ¶ added in v4.8.0
type LookupMembershipResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getMembership.
func LookupMembershipOutput ¶ added in v4.8.0
func LookupMembershipOutput(ctx *pulumi.Context, args LookupMembershipOutputArgs, opts ...pulumi.InvokeOption) LookupMembershipResultOutput
func (LookupMembershipResultOutput) ElementType ¶ added in v4.8.0
func (LookupMembershipResultOutput) ElementType() reflect.Type
func (LookupMembershipResultOutput) Etag ¶ added in v4.8.0
func (o LookupMembershipResultOutput) Etag() pulumi.StringOutput
An etag representing the membership object.
func (LookupMembershipResultOutput) Id ¶ added in v4.8.0
func (o LookupMembershipResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupMembershipResultOutput) Organization ¶ added in v4.8.0
func (o LookupMembershipResultOutput) Organization() pulumi.StringPtrOutput
func (LookupMembershipResultOutput) Role ¶ added in v4.8.0
func (o LookupMembershipResultOutput) Role() pulumi.StringOutput
`admin` or `member` -- the role the user has within the organization.
func (LookupMembershipResultOutput) ToLookupMembershipResultOutput ¶ added in v4.8.0
func (o LookupMembershipResultOutput) ToLookupMembershipResultOutput() LookupMembershipResultOutput
func (LookupMembershipResultOutput) ToLookupMembershipResultOutputWithContext ¶ added in v4.8.0
func (o LookupMembershipResultOutput) ToLookupMembershipResultOutputWithContext(ctx context.Context) LookupMembershipResultOutput
func (LookupMembershipResultOutput) Username ¶ added in v4.8.0
func (o LookupMembershipResultOutput) Username() pulumi.StringOutput
The username.
type LookupRepositoryArgs ¶
type LookupRepositoryArgs struct { // A description of the repository. Description *string `pulumi:"description"` // Full name of the repository (in `org/name` format). FullName *string `pulumi:"fullName"` // URL of a page describing the project. HomepageUrl *string `pulumi:"homepageUrl"` // The name of the repository. Name *string `pulumi:"name"` // . If true, the `branches` attributes will be populated only with protected branches. Default: `false`. OnlyProtectedBranches *bool `pulumi:"onlyProtectedBranches"` }
A collection of arguments for invoking getRepository.
type LookupRepositoryFileArgs ¶ added in v4.7.0
type LookupRepositoryFileArgs struct { // Git branch (defaults to `main`). // The branch must already exist, it will not be created if it does not already exist. Branch *string `pulumi:"branch"` // The path of the file to manage. File string `pulumi:"file"` // The repository to create the file in. Repository string `pulumi:"repository"` }
A collection of arguments for invoking getRepositoryFile.
type LookupRepositoryFileOutputArgs ¶ added in v4.8.0
type LookupRepositoryFileOutputArgs struct { // Git branch (defaults to `main`). // The branch must already exist, it will not be created if it does not already exist. Branch pulumi.StringPtrInput `pulumi:"branch"` // The path of the file to manage. File pulumi.StringInput `pulumi:"file"` // The repository to create the file in. Repository pulumi.StringInput `pulumi:"repository"` }
A collection of arguments for invoking getRepositoryFile.
func (LookupRepositoryFileOutputArgs) ElementType ¶ added in v4.8.0
func (LookupRepositoryFileOutputArgs) ElementType() reflect.Type
type LookupRepositoryFileResult ¶ added in v4.7.0
type LookupRepositoryFileResult struct { Branch *string `pulumi:"branch"` // Committer author name. CommitAuthor string `pulumi:"commitAuthor"` // Committer email address. CommitEmail string `pulumi:"commitEmail"` // Commit message when file was last updated. CommitMessage string `pulumi:"commitMessage"` // The SHA of the commit that modified the file. CommitSha string `pulumi:"commitSha"` // The file content. Content string `pulumi:"content"` File string `pulumi:"file"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Repository string `pulumi:"repository"` // The SHA blob of the file. Sha string `pulumi:"sha"` }
A collection of values returned by getRepositoryFile.
func LookupRepositoryFile ¶ added in v4.7.0
func LookupRepositoryFile(ctx *pulumi.Context, args *LookupRepositoryFileArgs, opts ...pulumi.InvokeOption) (*LookupRepositoryFileResult, error)
This data source allows you to read files within a GitHub repository.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.LookupRepositoryFile(ctx, &GetRepositoryFileArgs{ Repository: github_repository.Foo.Name, Branch: pulumi.StringRef("main"), File: ".gitignore", }, nil) if err != nil { return err } return nil }) }
```
type LookupRepositoryFileResultOutput ¶ added in v4.8.0
type LookupRepositoryFileResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRepositoryFile.
func LookupRepositoryFileOutput ¶ added in v4.8.0
func LookupRepositoryFileOutput(ctx *pulumi.Context, args LookupRepositoryFileOutputArgs, opts ...pulumi.InvokeOption) LookupRepositoryFileResultOutput
func (LookupRepositoryFileResultOutput) Branch ¶ added in v4.8.0
func (o LookupRepositoryFileResultOutput) Branch() pulumi.StringPtrOutput
func (LookupRepositoryFileResultOutput) CommitAuthor ¶ added in v4.8.0
func (o LookupRepositoryFileResultOutput) CommitAuthor() pulumi.StringOutput
Committer author name.
func (LookupRepositoryFileResultOutput) CommitEmail ¶ added in v4.8.0
func (o LookupRepositoryFileResultOutput) CommitEmail() pulumi.StringOutput
Committer email address.
func (LookupRepositoryFileResultOutput) CommitMessage ¶ added in v4.8.0
func (o LookupRepositoryFileResultOutput) CommitMessage() pulumi.StringOutput
Commit message when file was last updated.
func (LookupRepositoryFileResultOutput) CommitSha ¶ added in v4.8.0
func (o LookupRepositoryFileResultOutput) CommitSha() pulumi.StringOutput
The SHA of the commit that modified the file.
func (LookupRepositoryFileResultOutput) Content ¶ added in v4.8.0
func (o LookupRepositoryFileResultOutput) Content() pulumi.StringOutput
The file content.
func (LookupRepositoryFileResultOutput) ElementType ¶ added in v4.8.0
func (LookupRepositoryFileResultOutput) ElementType() reflect.Type
func (LookupRepositoryFileResultOutput) File ¶ added in v4.8.0
func (o LookupRepositoryFileResultOutput) File() pulumi.StringOutput
func (LookupRepositoryFileResultOutput) Id ¶ added in v4.8.0
func (o LookupRepositoryFileResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRepositoryFileResultOutput) Repository ¶ added in v4.8.0
func (o LookupRepositoryFileResultOutput) Repository() pulumi.StringOutput
func (LookupRepositoryFileResultOutput) Sha ¶ added in v4.8.0
func (o LookupRepositoryFileResultOutput) Sha() pulumi.StringOutput
The SHA blob of the file.
func (LookupRepositoryFileResultOutput) ToLookupRepositoryFileResultOutput ¶ added in v4.8.0
func (o LookupRepositoryFileResultOutput) ToLookupRepositoryFileResultOutput() LookupRepositoryFileResultOutput
func (LookupRepositoryFileResultOutput) ToLookupRepositoryFileResultOutputWithContext ¶ added in v4.8.0
func (o LookupRepositoryFileResultOutput) ToLookupRepositoryFileResultOutputWithContext(ctx context.Context) LookupRepositoryFileResultOutput
type LookupRepositoryMilestoneArgs ¶
type LookupRepositoryMilestoneArgs struct { // The number of the milestone. Number int `pulumi:"number"` // Owner of the repository. Owner string `pulumi:"owner"` // Name of the repository to retrieve the milestone from. Repository string `pulumi:"repository"` }
A collection of arguments for invoking getRepositoryMilestone.
type LookupRepositoryMilestoneOutputArgs ¶ added in v4.8.0
type LookupRepositoryMilestoneOutputArgs struct { // The number of the milestone. Number pulumi.IntInput `pulumi:"number"` // Owner of the repository. Owner pulumi.StringInput `pulumi:"owner"` // Name of the repository to retrieve the milestone from. Repository pulumi.StringInput `pulumi:"repository"` }
A collection of arguments for invoking getRepositoryMilestone.
func (LookupRepositoryMilestoneOutputArgs) ElementType ¶ added in v4.8.0
func (LookupRepositoryMilestoneOutputArgs) ElementType() reflect.Type
type LookupRepositoryMilestoneResult ¶
type LookupRepositoryMilestoneResult struct { // Description of the milestone. Description string `pulumi:"description"` // The milestone due date (in ISO-8601 `yyyy-mm-dd` format). DueDate string `pulumi:"dueDate"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Number int `pulumi:"number"` Owner string `pulumi:"owner"` Repository string `pulumi:"repository"` // State of the milestone. State string `pulumi:"state"` // Title of the milestone. Title string `pulumi:"title"` }
A collection of values returned by getRepositoryMilestone.
func LookupRepositoryMilestone ¶
func LookupRepositoryMilestone(ctx *pulumi.Context, args *LookupRepositoryMilestoneArgs, opts ...pulumi.InvokeOption) (*LookupRepositoryMilestoneResult, error)
Use this data source to retrieve information about a specific GitHub milestone in a repository.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.LookupRepositoryMilestone(ctx, &GetRepositoryMilestoneArgs{ Number: 1, Owner: "example-owner", Repository: "example-repository", }, nil) if err != nil { return err } return nil }) }
```
type LookupRepositoryMilestoneResultOutput ¶ added in v4.8.0
type LookupRepositoryMilestoneResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRepositoryMilestone.
func LookupRepositoryMilestoneOutput ¶ added in v4.8.0
func LookupRepositoryMilestoneOutput(ctx *pulumi.Context, args LookupRepositoryMilestoneOutputArgs, opts ...pulumi.InvokeOption) LookupRepositoryMilestoneResultOutput
func (LookupRepositoryMilestoneResultOutput) Description ¶ added in v4.8.0
func (o LookupRepositoryMilestoneResultOutput) Description() pulumi.StringOutput
Description of the milestone.
func (LookupRepositoryMilestoneResultOutput) DueDate ¶ added in v4.8.0
func (o LookupRepositoryMilestoneResultOutput) DueDate() pulumi.StringOutput
The milestone due date (in ISO-8601 `yyyy-mm-dd` format).
func (LookupRepositoryMilestoneResultOutput) ElementType ¶ added in v4.8.0
func (LookupRepositoryMilestoneResultOutput) ElementType() reflect.Type
func (LookupRepositoryMilestoneResultOutput) Id ¶ added in v4.8.0
func (o LookupRepositoryMilestoneResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRepositoryMilestoneResultOutput) Number ¶ added in v4.8.0
func (o LookupRepositoryMilestoneResultOutput) Number() pulumi.IntOutput
func (LookupRepositoryMilestoneResultOutput) Owner ¶ added in v4.8.0
func (o LookupRepositoryMilestoneResultOutput) Owner() pulumi.StringOutput
func (LookupRepositoryMilestoneResultOutput) Repository ¶ added in v4.8.0
func (o LookupRepositoryMilestoneResultOutput) Repository() pulumi.StringOutput
func (LookupRepositoryMilestoneResultOutput) State ¶ added in v4.8.0
func (o LookupRepositoryMilestoneResultOutput) State() pulumi.StringOutput
State of the milestone.
func (LookupRepositoryMilestoneResultOutput) Title ¶ added in v4.8.0
func (o LookupRepositoryMilestoneResultOutput) Title() pulumi.StringOutput
Title of the milestone.
func (LookupRepositoryMilestoneResultOutput) ToLookupRepositoryMilestoneResultOutput ¶ added in v4.8.0
func (o LookupRepositoryMilestoneResultOutput) ToLookupRepositoryMilestoneResultOutput() LookupRepositoryMilestoneResultOutput
func (LookupRepositoryMilestoneResultOutput) ToLookupRepositoryMilestoneResultOutputWithContext ¶ added in v4.8.0
func (o LookupRepositoryMilestoneResultOutput) ToLookupRepositoryMilestoneResultOutputWithContext(ctx context.Context) LookupRepositoryMilestoneResultOutput
type LookupRepositoryOutputArgs ¶ added in v4.8.0
type LookupRepositoryOutputArgs struct { // A description of the repository. Description pulumi.StringPtrInput `pulumi:"description"` // Full name of the repository (in `org/name` format). FullName pulumi.StringPtrInput `pulumi:"fullName"` // URL of a page describing the project. HomepageUrl pulumi.StringPtrInput `pulumi:"homepageUrl"` // The name of the repository. Name pulumi.StringPtrInput `pulumi:"name"` // . If true, the `branches` attributes will be populated only with protected branches. Default: `false`. OnlyProtectedBranches pulumi.BoolPtrInput `pulumi:"onlyProtectedBranches"` }
A collection of arguments for invoking getRepository.
func (LookupRepositoryOutputArgs) ElementType ¶ added in v4.8.0
func (LookupRepositoryOutputArgs) ElementType() reflect.Type
type LookupRepositoryPullRequestArgs ¶
type LookupRepositoryPullRequestArgs struct { // Name of the base repository to retrieve the Pull Request from. BaseRepository string `pulumi:"baseRepository"` // The number of the Pull Request within the repository. Number int `pulumi:"number"` // Owner of the repository. If not provided, the provider's default owner is used. Owner *string `pulumi:"owner"` }
A collection of arguments for invoking getRepositoryPullRequest.
type LookupRepositoryPullRequestOutputArgs ¶ added in v4.8.0
type LookupRepositoryPullRequestOutputArgs struct { // Name of the base repository to retrieve the Pull Request from. BaseRepository pulumi.StringInput `pulumi:"baseRepository"` // The number of the Pull Request within the repository. Number pulumi.IntInput `pulumi:"number"` // Owner of the repository. If not provided, the provider's default owner is used. Owner pulumi.StringPtrInput `pulumi:"owner"` }
A collection of arguments for invoking getRepositoryPullRequest.
func (LookupRepositoryPullRequestOutputArgs) ElementType ¶ added in v4.8.0
func (LookupRepositoryPullRequestOutputArgs) ElementType() reflect.Type
type LookupRepositoryPullRequestResult ¶
type LookupRepositoryPullRequestResult struct { // Name of the ref (branch) of the Pull Request base. BaseRef string `pulumi:"baseRef"` BaseRepository string `pulumi:"baseRepository"` // Head commit SHA of the Pull Request base. BaseSha string `pulumi:"baseSha"` // Body of the Pull Request. Body string `pulumi:"body"` // Indicates Whether this Pull Request is a draft. Draft bool `pulumi:"draft"` // Owner of the Pull Request head repository. HeadOwner string `pulumi:"headOwner"` HeadRef string `pulumi:"headRef"` // Name of the Pull Request head repository. HeadRepository string `pulumi:"headRepository"` // Head commit SHA of the Pull Request head. HeadSha string `pulumi:"headSha"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // List of label names set on the Pull Request. Labels []string `pulumi:"labels"` // Indicates whether the base repository maintainers can modify the Pull Request. MaintainerCanModify bool `pulumi:"maintainerCanModify"` Number int `pulumi:"number"` // Unix timestamp indicating the Pull Request creation time. OpenedAt int `pulumi:"openedAt"` // GitHub login of the user who opened the Pull Request. OpenedBy string `pulumi:"openedBy"` Owner *string `pulumi:"owner"` // the current Pull Request state - can be "open", "closed" or "merged". State string `pulumi:"state"` // The title of the Pull Request. Title string `pulumi:"title"` // The timestamp of the last Pull Request update. UpdatedAt int `pulumi:"updatedAt"` }
A collection of values returned by getRepositoryPullRequest.
func LookupRepositoryPullRequest ¶
func LookupRepositoryPullRequest(ctx *pulumi.Context, args *LookupRepositoryPullRequestArgs, opts ...pulumi.InvokeOption) (*LookupRepositoryPullRequestResult, error)
Use this data source to retrieve information about a specific GitHub Pull Request in a repository.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.LookupRepositoryPullRequest(ctx, &GetRepositoryPullRequestArgs{ BaseRepository: "example_repository", Number: 1, }, nil) if err != nil { return err } return nil }) }
```
type LookupRepositoryPullRequestResultOutput ¶ added in v4.8.0
type LookupRepositoryPullRequestResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRepositoryPullRequest.
func LookupRepositoryPullRequestOutput ¶ added in v4.8.0
func LookupRepositoryPullRequestOutput(ctx *pulumi.Context, args LookupRepositoryPullRequestOutputArgs, opts ...pulumi.InvokeOption) LookupRepositoryPullRequestResultOutput
func (LookupRepositoryPullRequestResultOutput) BaseRef ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) BaseRef() pulumi.StringOutput
Name of the ref (branch) of the Pull Request base.
func (LookupRepositoryPullRequestResultOutput) BaseRepository ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) BaseRepository() pulumi.StringOutput
func (LookupRepositoryPullRequestResultOutput) BaseSha ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) BaseSha() pulumi.StringOutput
Head commit SHA of the Pull Request base.
func (LookupRepositoryPullRequestResultOutput) Body ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) Body() pulumi.StringOutput
Body of the Pull Request.
func (LookupRepositoryPullRequestResultOutput) Draft ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) Draft() pulumi.BoolOutput
Indicates Whether this Pull Request is a draft.
func (LookupRepositoryPullRequestResultOutput) ElementType ¶ added in v4.8.0
func (LookupRepositoryPullRequestResultOutput) ElementType() reflect.Type
func (LookupRepositoryPullRequestResultOutput) HeadOwner ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) HeadOwner() pulumi.StringOutput
Owner of the Pull Request head repository.
func (LookupRepositoryPullRequestResultOutput) HeadRef ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) HeadRef() pulumi.StringOutput
func (LookupRepositoryPullRequestResultOutput) HeadRepository ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) HeadRepository() pulumi.StringOutput
Name of the Pull Request head repository.
func (LookupRepositoryPullRequestResultOutput) HeadSha ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) HeadSha() pulumi.StringOutput
Head commit SHA of the Pull Request head.
func (LookupRepositoryPullRequestResultOutput) Id ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRepositoryPullRequestResultOutput) Labels ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) Labels() pulumi.StringArrayOutput
List of label names set on the Pull Request.
func (LookupRepositoryPullRequestResultOutput) MaintainerCanModify ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) MaintainerCanModify() pulumi.BoolOutput
Indicates whether the base repository maintainers can modify the Pull Request.
func (LookupRepositoryPullRequestResultOutput) Number ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) Number() pulumi.IntOutput
func (LookupRepositoryPullRequestResultOutput) OpenedAt ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) OpenedAt() pulumi.IntOutput
Unix timestamp indicating the Pull Request creation time.
func (LookupRepositoryPullRequestResultOutput) OpenedBy ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) OpenedBy() pulumi.StringOutput
GitHub login of the user who opened the Pull Request.
func (LookupRepositoryPullRequestResultOutput) Owner ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) Owner() pulumi.StringPtrOutput
func (LookupRepositoryPullRequestResultOutput) State ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) State() pulumi.StringOutput
the current Pull Request state - can be "open", "closed" or "merged".
func (LookupRepositoryPullRequestResultOutput) Title ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) Title() pulumi.StringOutput
The title of the Pull Request.
func (LookupRepositoryPullRequestResultOutput) ToLookupRepositoryPullRequestResultOutput ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) ToLookupRepositoryPullRequestResultOutput() LookupRepositoryPullRequestResultOutput
func (LookupRepositoryPullRequestResultOutput) ToLookupRepositoryPullRequestResultOutputWithContext ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) ToLookupRepositoryPullRequestResultOutputWithContext(ctx context.Context) LookupRepositoryPullRequestResultOutput
func (LookupRepositoryPullRequestResultOutput) UpdatedAt ¶ added in v4.8.0
func (o LookupRepositoryPullRequestResultOutput) UpdatedAt() pulumi.IntOutput
The timestamp of the last Pull Request update.
type LookupRepositoryPullRequestsArgs ¶ added in v4.8.0
type LookupRepositoryPullRequestsArgs struct { // If set, filters Pull Requests by base branch name. BaseRef *string `pulumi:"baseRef"` // Name of the base repository to retrieve the Pull Requests from. BaseRepository string `pulumi:"baseRepository"` // If set, filters Pull Requests by head user or head organization and branch name in the format of "user:ref-name" or "organization:ref-name". For example: "github:new-script-format" or "octocat:test-branch". HeadRef *string `pulumi:"headRef"` // Owner of the repository. If not provided, the provider's default owner is used. Owner *string `pulumi:"owner"` // If set, indicates what to sort results by. Can be either "created", "updated", "popularity" (comment count) or "long-running" (age, filtering by pulls updated in the last month). Default: "created". SortBy *string `pulumi:"sortBy"` // If set, controls the direction of the sort. Can be either "asc" or "desc". Default: "asc". SortDirection *string `pulumi:"sortDirection"` // If set, filters Pull Requests by state. Can be "open", "closed", or "all". Default: "open". State *string `pulumi:"state"` }
A collection of arguments for invoking getRepositoryPullRequests.
type LookupRepositoryPullRequestsOutputArgs ¶ added in v4.8.0
type LookupRepositoryPullRequestsOutputArgs struct { // If set, filters Pull Requests by base branch name. BaseRef pulumi.StringPtrInput `pulumi:"baseRef"` // Name of the base repository to retrieve the Pull Requests from. BaseRepository pulumi.StringInput `pulumi:"baseRepository"` // If set, filters Pull Requests by head user or head organization and branch name in the format of "user:ref-name" or "organization:ref-name". For example: "github:new-script-format" or "octocat:test-branch". HeadRef pulumi.StringPtrInput `pulumi:"headRef"` // Owner of the repository. If not provided, the provider's default owner is used. Owner pulumi.StringPtrInput `pulumi:"owner"` // If set, indicates what to sort results by. Can be either "created", "updated", "popularity" (comment count) or "long-running" (age, filtering by pulls updated in the last month). Default: "created". SortBy pulumi.StringPtrInput `pulumi:"sortBy"` // If set, controls the direction of the sort. Can be either "asc" or "desc". Default: "asc". SortDirection pulumi.StringPtrInput `pulumi:"sortDirection"` // If set, filters Pull Requests by state. Can be "open", "closed", or "all". Default: "open". State pulumi.StringPtrInput `pulumi:"state"` }
A collection of arguments for invoking getRepositoryPullRequests.
func (LookupRepositoryPullRequestsOutputArgs) ElementType ¶ added in v4.8.0
func (LookupRepositoryPullRequestsOutputArgs) ElementType() reflect.Type
type LookupRepositoryPullRequestsResult ¶ added in v4.8.0
type LookupRepositoryPullRequestsResult struct { // Name of the ref (branch) of the Pull Request base. BaseRef *string `pulumi:"baseRef"` BaseRepository string `pulumi:"baseRepository"` // Value of the Pull Request `HEAD` reference. HeadRef *string `pulumi:"headRef"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Owner *string `pulumi:"owner"` // Collection of Pull Requests matching the filters. Each of the results conforms to the following scheme: Results []GetRepositoryPullRequestsResult `pulumi:"results"` SortBy *string `pulumi:"sortBy"` SortDirection *string `pulumi:"sortDirection"` // the current Pull Request state - can be "open", "closed" or "merged". State *string `pulumi:"state"` }
A collection of values returned by getRepositoryPullRequests.
func LookupRepositoryPullRequests ¶ added in v4.8.0
func LookupRepositoryPullRequests(ctx *pulumi.Context, args *LookupRepositoryPullRequestsArgs, opts ...pulumi.InvokeOption) (*LookupRepositoryPullRequestsResult, error)
Use this data source to retrieve information about multiple GitHub Pull Requests in a repository.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.LookupRepositoryPullRequests(ctx, &GetRepositoryPullRequestsArgs{ BaseRef: pulumi.StringRef("main"), BaseRepository: "example-repository", SortBy: pulumi.StringRef("updated"), SortDirection: pulumi.StringRef("desc"), State: pulumi.StringRef("open"), }, nil) if err != nil { return err } return nil }) }
```
type LookupRepositoryPullRequestsResultOutput ¶ added in v4.8.0
type LookupRepositoryPullRequestsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRepositoryPullRequests.
func LookupRepositoryPullRequestsOutput ¶ added in v4.8.0
func LookupRepositoryPullRequestsOutput(ctx *pulumi.Context, args LookupRepositoryPullRequestsOutputArgs, opts ...pulumi.InvokeOption) LookupRepositoryPullRequestsResultOutput
func (LookupRepositoryPullRequestsResultOutput) BaseRef ¶ added in v4.8.0
func (o LookupRepositoryPullRequestsResultOutput) BaseRef() pulumi.StringPtrOutput
Name of the ref (branch) of the Pull Request base.
func (LookupRepositoryPullRequestsResultOutput) BaseRepository ¶ added in v4.8.0
func (o LookupRepositoryPullRequestsResultOutput) BaseRepository() pulumi.StringOutput
func (LookupRepositoryPullRequestsResultOutput) ElementType ¶ added in v4.8.0
func (LookupRepositoryPullRequestsResultOutput) ElementType() reflect.Type
func (LookupRepositoryPullRequestsResultOutput) HeadRef ¶ added in v4.8.0
func (o LookupRepositoryPullRequestsResultOutput) HeadRef() pulumi.StringPtrOutput
Value of the Pull Request `HEAD` reference.
func (LookupRepositoryPullRequestsResultOutput) Id ¶ added in v4.8.0
func (o LookupRepositoryPullRequestsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRepositoryPullRequestsResultOutput) Owner ¶ added in v4.8.0
func (o LookupRepositoryPullRequestsResultOutput) Owner() pulumi.StringPtrOutput
func (LookupRepositoryPullRequestsResultOutput) Results ¶ added in v4.8.0
func (o LookupRepositoryPullRequestsResultOutput) Results() GetRepositoryPullRequestsResultArrayOutput
Collection of Pull Requests matching the filters. Each of the results conforms to the following scheme:
func (LookupRepositoryPullRequestsResultOutput) SortBy ¶ added in v4.8.0
func (o LookupRepositoryPullRequestsResultOutput) SortBy() pulumi.StringPtrOutput
func (LookupRepositoryPullRequestsResultOutput) SortDirection ¶ added in v4.8.0
func (o LookupRepositoryPullRequestsResultOutput) SortDirection() pulumi.StringPtrOutput
func (LookupRepositoryPullRequestsResultOutput) State ¶ added in v4.8.0
func (o LookupRepositoryPullRequestsResultOutput) State() pulumi.StringPtrOutput
the current Pull Request state - can be "open", "closed" or "merged".
func (LookupRepositoryPullRequestsResultOutput) ToLookupRepositoryPullRequestsResultOutput ¶ added in v4.8.0
func (o LookupRepositoryPullRequestsResultOutput) ToLookupRepositoryPullRequestsResultOutput() LookupRepositoryPullRequestsResultOutput
func (LookupRepositoryPullRequestsResultOutput) ToLookupRepositoryPullRequestsResultOutputWithContext ¶ added in v4.8.0
func (o LookupRepositoryPullRequestsResultOutput) ToLookupRepositoryPullRequestsResultOutputWithContext(ctx context.Context) LookupRepositoryPullRequestsResultOutput
type LookupRepositoryResult ¶
type LookupRepositoryResult struct { // Whether the repository allows auto-merging pull requests. AllowAutoMerge bool `pulumi:"allowAutoMerge"` // Whether the repository allows merge commits. AllowMergeCommit bool `pulumi:"allowMergeCommit"` // Whether the repository allows rebase merges. AllowRebaseMerge bool `pulumi:"allowRebaseMerge"` // Whether the repository allows squash merges. AllowSquashMerge bool `pulumi:"allowSquashMerge"` // Whether the repository is archived. Archived bool `pulumi:"archived"` // The list of this repository's branches. Each element of `branches` has the following attributes: Branches []GetRepositoryBranch `pulumi:"branches"` // The name of the default branch of the repository. DefaultBranch string `pulumi:"defaultBranch"` // A description of the repository. Description *string `pulumi:"description"` FullName string `pulumi:"fullName"` // URL that can be provided to `git clone` to clone the repository anonymously via the git protocol. GitCloneUrl string `pulumi:"gitCloneUrl"` // Whether the repository has Downloads feature enabled. HasDownloads bool `pulumi:"hasDownloads"` // Whether the repository has GitHub Issues enabled. HasIssues bool `pulumi:"hasIssues"` // Whether the repository has the GitHub Projects enabled. HasProjects bool `pulumi:"hasProjects"` // Whether the repository has the GitHub Wiki enabled. HasWiki bool `pulumi:"hasWiki"` // URL of a page describing the project. HomepageUrl *string `pulumi:"homepageUrl"` // URL to the repository on the web. HtmlUrl string `pulumi:"htmlUrl"` // URL that can be provided to `git clone` to clone the repository via HTTPS. HttpCloneUrl string `pulumi:"httpCloneUrl"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The default value for a merge commit message. MergeCommitMessage string `pulumi:"mergeCommitMessage"` // The default value for a merge commit title. MergeCommitTitle string `pulumi:"mergeCommitTitle"` // Name of the branch. Name string `pulumi:"name"` // GraphQL global node id for use with v4 API NodeId string `pulumi:"nodeId"` OnlyProtectedBranches *bool `pulumi:"onlyProtectedBranches"` // The repository's GitHub Pages configuration. Pages []GetRepositoryPage `pulumi:"pages"` // Whether the repository is private. Private bool `pulumi:"private"` // GitHub ID for the repository RepoId int `pulumi:"repoId"` // The default value for a squash merge commit message. SquashMergeCommitMessage string `pulumi:"squashMergeCommitMessage"` // The default value for a squash merge commit title. SquashMergeCommitTitle string `pulumi:"squashMergeCommitTitle"` // URL that can be provided to `git clone` to clone the repository via SSH. SshCloneUrl string `pulumi:"sshCloneUrl"` // URL that can be provided to `svn checkout` to check out the repository via GitHub's Subversion protocol emulation. SvnUrl string `pulumi:"svnUrl"` // The list of topics of the repository. Topics []string `pulumi:"topics"` // Whether the repository is public, private or internal. Visibility string `pulumi:"visibility"` }
A collection of values returned by getRepository.
func LookupRepository ¶
func LookupRepository(ctx *pulumi.Context, args *LookupRepositoryArgs, opts ...pulumi.InvokeOption) (*LookupRepositoryResult, error)
Use this data source to retrieve information about a GitHub repository.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.LookupRepository(ctx, &GetRepositoryArgs{ FullName: pulumi.StringRef("hashicorp/terraform"), }, nil) if err != nil { return err } return nil }) }
```
type LookupRepositoryResultOutput ¶ added in v4.8.0
type LookupRepositoryResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRepository.
func LookupRepositoryOutput ¶ added in v4.8.0
func LookupRepositoryOutput(ctx *pulumi.Context, args LookupRepositoryOutputArgs, opts ...pulumi.InvokeOption) LookupRepositoryResultOutput
func (LookupRepositoryResultOutput) AllowAutoMerge ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) AllowAutoMerge() pulumi.BoolOutput
Whether the repository allows auto-merging pull requests.
func (LookupRepositoryResultOutput) AllowMergeCommit ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) AllowMergeCommit() pulumi.BoolOutput
Whether the repository allows merge commits.
func (LookupRepositoryResultOutput) AllowRebaseMerge ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) AllowRebaseMerge() pulumi.BoolOutput
Whether the repository allows rebase merges.
func (LookupRepositoryResultOutput) AllowSquashMerge ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) AllowSquashMerge() pulumi.BoolOutput
Whether the repository allows squash merges.
func (LookupRepositoryResultOutput) Archived ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) Archived() pulumi.BoolOutput
Whether the repository is archived.
func (LookupRepositoryResultOutput) Branches ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) Branches() GetRepositoryBranchArrayOutput
The list of this repository's branches. Each element of `branches` has the following attributes:
func (LookupRepositoryResultOutput) DefaultBranch ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) DefaultBranch() pulumi.StringOutput
The name of the default branch of the repository.
func (LookupRepositoryResultOutput) Description ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) Description() pulumi.StringPtrOutput
A description of the repository.
func (LookupRepositoryResultOutput) ElementType ¶ added in v4.8.0
func (LookupRepositoryResultOutput) ElementType() reflect.Type
func (LookupRepositoryResultOutput) FullName ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) FullName() pulumi.StringOutput
func (LookupRepositoryResultOutput) GitCloneUrl ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) GitCloneUrl() pulumi.StringOutput
URL that can be provided to `git clone` to clone the repository anonymously via the git protocol.
func (LookupRepositoryResultOutput) HasDownloads ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) HasDownloads() pulumi.BoolOutput
Whether the repository has Downloads feature enabled.
func (LookupRepositoryResultOutput) HasIssues ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) HasIssues() pulumi.BoolOutput
Whether the repository has GitHub Issues enabled.
func (LookupRepositoryResultOutput) HasProjects ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) HasProjects() pulumi.BoolOutput
Whether the repository has the GitHub Projects enabled.
func (LookupRepositoryResultOutput) HasWiki ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) HasWiki() pulumi.BoolOutput
Whether the repository has the GitHub Wiki enabled.
func (LookupRepositoryResultOutput) HomepageUrl ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) HomepageUrl() pulumi.StringPtrOutput
URL of a page describing the project.
func (LookupRepositoryResultOutput) HtmlUrl ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) HtmlUrl() pulumi.StringOutput
URL to the repository on the web.
func (LookupRepositoryResultOutput) HttpCloneUrl ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) HttpCloneUrl() pulumi.StringOutput
URL that can be provided to `git clone` to clone the repository via HTTPS.
func (LookupRepositoryResultOutput) Id ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRepositoryResultOutput) MergeCommitMessage ¶ added in v4.17.0
func (o LookupRepositoryResultOutput) MergeCommitMessage() pulumi.StringOutput
The default value for a merge commit message.
func (LookupRepositoryResultOutput) MergeCommitTitle ¶ added in v4.17.0
func (o LookupRepositoryResultOutput) MergeCommitTitle() pulumi.StringOutput
The default value for a merge commit title.
func (LookupRepositoryResultOutput) Name ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) Name() pulumi.StringOutput
Name of the branch.
func (LookupRepositoryResultOutput) NodeId ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) NodeId() pulumi.StringOutput
GraphQL global node id for use with v4 API
func (LookupRepositoryResultOutput) OnlyProtectedBranches ¶ added in v4.14.0
func (o LookupRepositoryResultOutput) OnlyProtectedBranches() pulumi.BoolPtrOutput
func (LookupRepositoryResultOutput) Pages ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) Pages() GetRepositoryPageArrayOutput
The repository's GitHub Pages configuration.
func (LookupRepositoryResultOutput) Private ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) Private() pulumi.BoolOutput
Whether the repository is private.
func (LookupRepositoryResultOutput) RepoId ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) RepoId() pulumi.IntOutput
GitHub ID for the repository
func (LookupRepositoryResultOutput) SquashMergeCommitMessage ¶ added in v4.17.0
func (o LookupRepositoryResultOutput) SquashMergeCommitMessage() pulumi.StringOutput
The default value for a squash merge commit message.
func (LookupRepositoryResultOutput) SquashMergeCommitTitle ¶ added in v4.17.0
func (o LookupRepositoryResultOutput) SquashMergeCommitTitle() pulumi.StringOutput
The default value for a squash merge commit title.
func (LookupRepositoryResultOutput) SshCloneUrl ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) SshCloneUrl() pulumi.StringOutput
URL that can be provided to `git clone` to clone the repository via SSH.
func (LookupRepositoryResultOutput) SvnUrl ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) SvnUrl() pulumi.StringOutput
URL that can be provided to `svn checkout` to check out the repository via GitHub's Subversion protocol emulation.
func (LookupRepositoryResultOutput) ToLookupRepositoryResultOutput ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) ToLookupRepositoryResultOutput() LookupRepositoryResultOutput
func (LookupRepositoryResultOutput) ToLookupRepositoryResultOutputWithContext ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) ToLookupRepositoryResultOutputWithContext(ctx context.Context) LookupRepositoryResultOutput
func (LookupRepositoryResultOutput) Topics ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) Topics() pulumi.StringArrayOutput
The list of topics of the repository.
func (LookupRepositoryResultOutput) Visibility ¶ added in v4.8.0
func (o LookupRepositoryResultOutput) Visibility() pulumi.StringOutput
Whether the repository is public, private or internal.
type LookupTeamArgs ¶
type LookupTeamArgs struct { // Type of membershp to be requested to fill the list of members. Can be either "all" or "immediate". Default: "all" MembershipType *string `pulumi:"membershipType"` // The team slug. Slug string `pulumi:"slug"` }
A collection of arguments for invoking getTeam.
type LookupTeamOutputArgs ¶ added in v4.8.0
type LookupTeamOutputArgs struct { // Type of membershp to be requested to fill the list of members. Can be either "all" or "immediate". Default: "all" MembershipType pulumi.StringPtrInput `pulumi:"membershipType"` // The team slug. Slug pulumi.StringInput `pulumi:"slug"` }
A collection of arguments for invoking getTeam.
func (LookupTeamOutputArgs) ElementType ¶ added in v4.8.0
func (LookupTeamOutputArgs) ElementType() reflect.Type
type LookupTeamResult ¶
type LookupTeamResult struct { // the team's description. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // List of team members (list of GitHub usernames) Members []string `pulumi:"members"` MembershipType *string `pulumi:"membershipType"` // the team's full name. Name string `pulumi:"name"` // the Node ID of the team. NodeId string `pulumi:"nodeId"` // the team's permission level. Permission string `pulumi:"permission"` // the team's privacy type. Privacy string `pulumi:"privacy"` // List of team repositories (list of repo names) Repositories []string `pulumi:"repositories"` Slug string `pulumi:"slug"` }
A collection of values returned by getTeam.
func LookupTeam ¶
func LookupTeam(ctx *pulumi.Context, args *LookupTeamArgs, opts ...pulumi.InvokeOption) (*LookupTeamResult, error)
Use this data source to retrieve information about a GitHub team.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.LookupTeam(ctx, &GetTeamArgs{ Slug: "example", }, nil) if err != nil { return err } return nil }) }
```
type LookupTeamResultOutput ¶ added in v4.8.0
type LookupTeamResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTeam.
func LookupTeamOutput ¶ added in v4.8.0
func LookupTeamOutput(ctx *pulumi.Context, args LookupTeamOutputArgs, opts ...pulumi.InvokeOption) LookupTeamResultOutput
func (LookupTeamResultOutput) Description ¶ added in v4.8.0
func (o LookupTeamResultOutput) Description() pulumi.StringOutput
the team's description.
func (LookupTeamResultOutput) ElementType ¶ added in v4.8.0
func (LookupTeamResultOutput) ElementType() reflect.Type
func (LookupTeamResultOutput) Id ¶ added in v4.8.0
func (o LookupTeamResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupTeamResultOutput) Members ¶ added in v4.8.0
func (o LookupTeamResultOutput) Members() pulumi.StringArrayOutput
List of team members (list of GitHub usernames)
func (LookupTeamResultOutput) MembershipType ¶ added in v4.17.0
func (o LookupTeamResultOutput) MembershipType() pulumi.StringPtrOutput
func (LookupTeamResultOutput) Name ¶ added in v4.8.0
func (o LookupTeamResultOutput) Name() pulumi.StringOutput
the team's full name.
func (LookupTeamResultOutput) NodeId ¶ added in v4.8.0
func (o LookupTeamResultOutput) NodeId() pulumi.StringOutput
the Node ID of the team.
func (LookupTeamResultOutput) Permission ¶ added in v4.8.0
func (o LookupTeamResultOutput) Permission() pulumi.StringOutput
the team's permission level.
func (LookupTeamResultOutput) Privacy ¶ added in v4.8.0
func (o LookupTeamResultOutput) Privacy() pulumi.StringOutput
the team's privacy type.
func (LookupTeamResultOutput) Repositories ¶ added in v4.8.0
func (o LookupTeamResultOutput) Repositories() pulumi.StringArrayOutput
List of team repositories (list of repo names)
func (LookupTeamResultOutput) Slug ¶ added in v4.8.0
func (o LookupTeamResultOutput) Slug() pulumi.StringOutput
func (LookupTeamResultOutput) ToLookupTeamResultOutput ¶ added in v4.8.0
func (o LookupTeamResultOutput) ToLookupTeamResultOutput() LookupTeamResultOutput
func (LookupTeamResultOutput) ToLookupTeamResultOutputWithContext ¶ added in v4.8.0
func (o LookupTeamResultOutput) ToLookupTeamResultOutputWithContext(ctx context.Context) LookupTeamResultOutput
type Membership ¶
type Membership struct { pulumi.CustomResourceState Etag pulumi.StringOutput `pulumi:"etag"` // The role of the user within the organization. // Must be one of `member` or `admin`. Defaults to `member`. Role pulumi.StringPtrOutput `pulumi:"role"` // The user to add to the organization. Username pulumi.StringOutput `pulumi:"username"` }
Provides a GitHub membership resource.
This resource allows you to add/remove users from your organization. When applied, an invitation will be sent to the user to become part of the organization. When destroyed, either the invitation will be cancelled or the user will be removed.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewMembership(ctx, "membershipForSomeUser", &github.MembershipArgs{ Role: pulumi.String("member"), Username: pulumi.String("SomeUser"), }) if err != nil { return err } return nil }) }
```
## Import
GitHub Membership can be imported using an ID made up of `organization:username`, e.g.
```sh
$ pulumi import github:index/membership:Membership member hashicorp:someuser
```
func GetMembership ¶
func GetMembership(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MembershipState, opts ...pulumi.ResourceOption) (*Membership, error)
GetMembership gets an existing Membership resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewMembership ¶
func NewMembership(ctx *pulumi.Context, name string, args *MembershipArgs, opts ...pulumi.ResourceOption) (*Membership, error)
NewMembership registers a new resource with the given unique name, arguments, and options.
func (*Membership) ElementType ¶
func (*Membership) ElementType() reflect.Type
func (*Membership) ToMembershipOutput ¶
func (i *Membership) ToMembershipOutput() MembershipOutput
func (*Membership) ToMembershipOutputWithContext ¶
func (i *Membership) ToMembershipOutputWithContext(ctx context.Context) MembershipOutput
type MembershipArgs ¶
type MembershipArgs struct { // The role of the user within the organization. // Must be one of `member` or `admin`. Defaults to `member`. Role pulumi.StringPtrInput // The user to add to the organization. Username pulumi.StringInput }
The set of arguments for constructing a Membership resource.
func (MembershipArgs) ElementType ¶
func (MembershipArgs) ElementType() reflect.Type
type MembershipArray ¶
type MembershipArray []MembershipInput
func (MembershipArray) ElementType ¶
func (MembershipArray) ElementType() reflect.Type
func (MembershipArray) ToMembershipArrayOutput ¶
func (i MembershipArray) ToMembershipArrayOutput() MembershipArrayOutput
func (MembershipArray) ToMembershipArrayOutputWithContext ¶
func (i MembershipArray) ToMembershipArrayOutputWithContext(ctx context.Context) MembershipArrayOutput
type MembershipArrayInput ¶
type MembershipArrayInput interface { pulumi.Input ToMembershipArrayOutput() MembershipArrayOutput ToMembershipArrayOutputWithContext(context.Context) MembershipArrayOutput }
MembershipArrayInput is an input type that accepts MembershipArray and MembershipArrayOutput values. You can construct a concrete instance of `MembershipArrayInput` via:
MembershipArray{ MembershipArgs{...} }
type MembershipArrayOutput ¶
type MembershipArrayOutput struct{ *pulumi.OutputState }
func (MembershipArrayOutput) ElementType ¶
func (MembershipArrayOutput) ElementType() reflect.Type
func (MembershipArrayOutput) Index ¶
func (o MembershipArrayOutput) Index(i pulumi.IntInput) MembershipOutput
func (MembershipArrayOutput) ToMembershipArrayOutput ¶
func (o MembershipArrayOutput) ToMembershipArrayOutput() MembershipArrayOutput
func (MembershipArrayOutput) ToMembershipArrayOutputWithContext ¶
func (o MembershipArrayOutput) ToMembershipArrayOutputWithContext(ctx context.Context) MembershipArrayOutput
type MembershipInput ¶
type MembershipInput interface { pulumi.Input ToMembershipOutput() MembershipOutput ToMembershipOutputWithContext(ctx context.Context) MembershipOutput }
type MembershipMap ¶
type MembershipMap map[string]MembershipInput
func (MembershipMap) ElementType ¶
func (MembershipMap) ElementType() reflect.Type
func (MembershipMap) ToMembershipMapOutput ¶
func (i MembershipMap) ToMembershipMapOutput() MembershipMapOutput
func (MembershipMap) ToMembershipMapOutputWithContext ¶
func (i MembershipMap) ToMembershipMapOutputWithContext(ctx context.Context) MembershipMapOutput
type MembershipMapInput ¶
type MembershipMapInput interface { pulumi.Input ToMembershipMapOutput() MembershipMapOutput ToMembershipMapOutputWithContext(context.Context) MembershipMapOutput }
MembershipMapInput is an input type that accepts MembershipMap and MembershipMapOutput values. You can construct a concrete instance of `MembershipMapInput` via:
MembershipMap{ "key": MembershipArgs{...} }
type MembershipMapOutput ¶
type MembershipMapOutput struct{ *pulumi.OutputState }
func (MembershipMapOutput) ElementType ¶
func (MembershipMapOutput) ElementType() reflect.Type
func (MembershipMapOutput) MapIndex ¶
func (o MembershipMapOutput) MapIndex(k pulumi.StringInput) MembershipOutput
func (MembershipMapOutput) ToMembershipMapOutput ¶
func (o MembershipMapOutput) ToMembershipMapOutput() MembershipMapOutput
func (MembershipMapOutput) ToMembershipMapOutputWithContext ¶
func (o MembershipMapOutput) ToMembershipMapOutputWithContext(ctx context.Context) MembershipMapOutput
type MembershipOutput ¶
type MembershipOutput struct{ *pulumi.OutputState }
func (MembershipOutput) ElementType ¶
func (MembershipOutput) ElementType() reflect.Type
func (MembershipOutput) Etag ¶ added in v4.15.0
func (o MembershipOutput) Etag() pulumi.StringOutput
func (MembershipOutput) Role ¶ added in v4.15.0
func (o MembershipOutput) Role() pulumi.StringPtrOutput
The role of the user within the organization. Must be one of `member` or `admin`. Defaults to `member`.
func (MembershipOutput) ToMembershipOutput ¶
func (o MembershipOutput) ToMembershipOutput() MembershipOutput
func (MembershipOutput) ToMembershipOutputWithContext ¶
func (o MembershipOutput) ToMembershipOutputWithContext(ctx context.Context) MembershipOutput
func (MembershipOutput) Username ¶ added in v4.15.0
func (o MembershipOutput) Username() pulumi.StringOutput
The user to add to the organization.
type MembershipState ¶
type MembershipState struct { Etag pulumi.StringPtrInput // The role of the user within the organization. // Must be one of `member` or `admin`. Defaults to `member`. Role pulumi.StringPtrInput // The user to add to the organization. Username pulumi.StringPtrInput }
func (MembershipState) ElementType ¶
func (MembershipState) ElementType() reflect.Type
type OrganizationBlock ¶
type OrganizationBlock struct { pulumi.CustomResourceState Etag pulumi.StringOutput `pulumi:"etag"` // The name of the user to block. Username pulumi.StringOutput `pulumi:"username"` }
This resource allows you to create and manage blocks for GitHub organizations.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewOrganizationBlock(ctx, "example", &github.OrganizationBlockArgs{ Username: pulumi.String("paultyng"), }) if err != nil { return err } return nil }) }
```
func GetOrganizationBlock ¶
func GetOrganizationBlock(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OrganizationBlockState, opts ...pulumi.ResourceOption) (*OrganizationBlock, error)
GetOrganizationBlock gets an existing OrganizationBlock resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewOrganizationBlock ¶
func NewOrganizationBlock(ctx *pulumi.Context, name string, args *OrganizationBlockArgs, opts ...pulumi.ResourceOption) (*OrganizationBlock, error)
NewOrganizationBlock registers a new resource with the given unique name, arguments, and options.
func (*OrganizationBlock) ElementType ¶
func (*OrganizationBlock) ElementType() reflect.Type
func (*OrganizationBlock) ToOrganizationBlockOutput ¶
func (i *OrganizationBlock) ToOrganizationBlockOutput() OrganizationBlockOutput
func (*OrganizationBlock) ToOrganizationBlockOutputWithContext ¶
func (i *OrganizationBlock) ToOrganizationBlockOutputWithContext(ctx context.Context) OrganizationBlockOutput
type OrganizationBlockArgs ¶
type OrganizationBlockArgs struct { // The name of the user to block. Username pulumi.StringInput }
The set of arguments for constructing a OrganizationBlock resource.
func (OrganizationBlockArgs) ElementType ¶
func (OrganizationBlockArgs) ElementType() reflect.Type
type OrganizationBlockArray ¶
type OrganizationBlockArray []OrganizationBlockInput
func (OrganizationBlockArray) ElementType ¶
func (OrganizationBlockArray) ElementType() reflect.Type
func (OrganizationBlockArray) ToOrganizationBlockArrayOutput ¶
func (i OrganizationBlockArray) ToOrganizationBlockArrayOutput() OrganizationBlockArrayOutput
func (OrganizationBlockArray) ToOrganizationBlockArrayOutputWithContext ¶
func (i OrganizationBlockArray) ToOrganizationBlockArrayOutputWithContext(ctx context.Context) OrganizationBlockArrayOutput
type OrganizationBlockArrayInput ¶
type OrganizationBlockArrayInput interface { pulumi.Input ToOrganizationBlockArrayOutput() OrganizationBlockArrayOutput ToOrganizationBlockArrayOutputWithContext(context.Context) OrganizationBlockArrayOutput }
OrganizationBlockArrayInput is an input type that accepts OrganizationBlockArray and OrganizationBlockArrayOutput values. You can construct a concrete instance of `OrganizationBlockArrayInput` via:
OrganizationBlockArray{ OrganizationBlockArgs{...} }
type OrganizationBlockArrayOutput ¶
type OrganizationBlockArrayOutput struct{ *pulumi.OutputState }
func (OrganizationBlockArrayOutput) ElementType ¶
func (OrganizationBlockArrayOutput) ElementType() reflect.Type
func (OrganizationBlockArrayOutput) Index ¶
func (o OrganizationBlockArrayOutput) Index(i pulumi.IntInput) OrganizationBlockOutput
func (OrganizationBlockArrayOutput) ToOrganizationBlockArrayOutput ¶
func (o OrganizationBlockArrayOutput) ToOrganizationBlockArrayOutput() OrganizationBlockArrayOutput
func (OrganizationBlockArrayOutput) ToOrganizationBlockArrayOutputWithContext ¶
func (o OrganizationBlockArrayOutput) ToOrganizationBlockArrayOutputWithContext(ctx context.Context) OrganizationBlockArrayOutput
type OrganizationBlockInput ¶
type OrganizationBlockInput interface { pulumi.Input ToOrganizationBlockOutput() OrganizationBlockOutput ToOrganizationBlockOutputWithContext(ctx context.Context) OrganizationBlockOutput }
type OrganizationBlockMap ¶
type OrganizationBlockMap map[string]OrganizationBlockInput
func (OrganizationBlockMap) ElementType ¶
func (OrganizationBlockMap) ElementType() reflect.Type
func (OrganizationBlockMap) ToOrganizationBlockMapOutput ¶
func (i OrganizationBlockMap) ToOrganizationBlockMapOutput() OrganizationBlockMapOutput
func (OrganizationBlockMap) ToOrganizationBlockMapOutputWithContext ¶
func (i OrganizationBlockMap) ToOrganizationBlockMapOutputWithContext(ctx context.Context) OrganizationBlockMapOutput
type OrganizationBlockMapInput ¶
type OrganizationBlockMapInput interface { pulumi.Input ToOrganizationBlockMapOutput() OrganizationBlockMapOutput ToOrganizationBlockMapOutputWithContext(context.Context) OrganizationBlockMapOutput }
OrganizationBlockMapInput is an input type that accepts OrganizationBlockMap and OrganizationBlockMapOutput values. You can construct a concrete instance of `OrganizationBlockMapInput` via:
OrganizationBlockMap{ "key": OrganizationBlockArgs{...} }
type OrganizationBlockMapOutput ¶
type OrganizationBlockMapOutput struct{ *pulumi.OutputState }
func (OrganizationBlockMapOutput) ElementType ¶
func (OrganizationBlockMapOutput) ElementType() reflect.Type
func (OrganizationBlockMapOutput) MapIndex ¶
func (o OrganizationBlockMapOutput) MapIndex(k pulumi.StringInput) OrganizationBlockOutput
func (OrganizationBlockMapOutput) ToOrganizationBlockMapOutput ¶
func (o OrganizationBlockMapOutput) ToOrganizationBlockMapOutput() OrganizationBlockMapOutput
func (OrganizationBlockMapOutput) ToOrganizationBlockMapOutputWithContext ¶
func (o OrganizationBlockMapOutput) ToOrganizationBlockMapOutputWithContext(ctx context.Context) OrganizationBlockMapOutput
type OrganizationBlockOutput ¶
type OrganizationBlockOutput struct{ *pulumi.OutputState }
func (OrganizationBlockOutput) ElementType ¶
func (OrganizationBlockOutput) ElementType() reflect.Type
func (OrganizationBlockOutput) Etag ¶ added in v4.15.0
func (o OrganizationBlockOutput) Etag() pulumi.StringOutput
func (OrganizationBlockOutput) ToOrganizationBlockOutput ¶
func (o OrganizationBlockOutput) ToOrganizationBlockOutput() OrganizationBlockOutput
func (OrganizationBlockOutput) ToOrganizationBlockOutputWithContext ¶
func (o OrganizationBlockOutput) ToOrganizationBlockOutputWithContext(ctx context.Context) OrganizationBlockOutput
func (OrganizationBlockOutput) Username ¶ added in v4.15.0
func (o OrganizationBlockOutput) Username() pulumi.StringOutput
The name of the user to block.
type OrganizationBlockState ¶
type OrganizationBlockState struct { Etag pulumi.StringPtrInput // The name of the user to block. Username pulumi.StringPtrInput }
func (OrganizationBlockState) ElementType ¶
func (OrganizationBlockState) ElementType() reflect.Type
type OrganizationProject ¶
type OrganizationProject struct { pulumi.CustomResourceState // The body of the project. Body pulumi.StringPtrOutput `pulumi:"body"` Etag pulumi.StringOutput `pulumi:"etag"` // The name of the project. Name pulumi.StringOutput `pulumi:"name"` // URL of the project Url pulumi.StringOutput `pulumi:"url"` }
This resource allows you to create and manage projects for GitHub organization.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewOrganizationProject(ctx, "project", &github.OrganizationProjectArgs{ Body: pulumi.String("This is a organization project."), }) if err != nil { return err } return nil }) }
```
func GetOrganizationProject ¶
func GetOrganizationProject(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OrganizationProjectState, opts ...pulumi.ResourceOption) (*OrganizationProject, error)
GetOrganizationProject gets an existing OrganizationProject resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewOrganizationProject ¶
func NewOrganizationProject(ctx *pulumi.Context, name string, args *OrganizationProjectArgs, opts ...pulumi.ResourceOption) (*OrganizationProject, error)
NewOrganizationProject registers a new resource with the given unique name, arguments, and options.
func (*OrganizationProject) ElementType ¶
func (*OrganizationProject) ElementType() reflect.Type
func (*OrganizationProject) ToOrganizationProjectOutput ¶
func (i *OrganizationProject) ToOrganizationProjectOutput() OrganizationProjectOutput
func (*OrganizationProject) ToOrganizationProjectOutputWithContext ¶
func (i *OrganizationProject) ToOrganizationProjectOutputWithContext(ctx context.Context) OrganizationProjectOutput
type OrganizationProjectArgs ¶
type OrganizationProjectArgs struct { // The body of the project. Body pulumi.StringPtrInput // The name of the project. Name pulumi.StringPtrInput }
The set of arguments for constructing a OrganizationProject resource.
func (OrganizationProjectArgs) ElementType ¶
func (OrganizationProjectArgs) ElementType() reflect.Type
type OrganizationProjectArray ¶
type OrganizationProjectArray []OrganizationProjectInput
func (OrganizationProjectArray) ElementType ¶
func (OrganizationProjectArray) ElementType() reflect.Type
func (OrganizationProjectArray) ToOrganizationProjectArrayOutput ¶
func (i OrganizationProjectArray) ToOrganizationProjectArrayOutput() OrganizationProjectArrayOutput
func (OrganizationProjectArray) ToOrganizationProjectArrayOutputWithContext ¶
func (i OrganizationProjectArray) ToOrganizationProjectArrayOutputWithContext(ctx context.Context) OrganizationProjectArrayOutput
type OrganizationProjectArrayInput ¶
type OrganizationProjectArrayInput interface { pulumi.Input ToOrganizationProjectArrayOutput() OrganizationProjectArrayOutput ToOrganizationProjectArrayOutputWithContext(context.Context) OrganizationProjectArrayOutput }
OrganizationProjectArrayInput is an input type that accepts OrganizationProjectArray and OrganizationProjectArrayOutput values. You can construct a concrete instance of `OrganizationProjectArrayInput` via:
OrganizationProjectArray{ OrganizationProjectArgs{...} }
type OrganizationProjectArrayOutput ¶
type OrganizationProjectArrayOutput struct{ *pulumi.OutputState }
func (OrganizationProjectArrayOutput) ElementType ¶
func (OrganizationProjectArrayOutput) ElementType() reflect.Type
func (OrganizationProjectArrayOutput) Index ¶
func (o OrganizationProjectArrayOutput) Index(i pulumi.IntInput) OrganizationProjectOutput
func (OrganizationProjectArrayOutput) ToOrganizationProjectArrayOutput ¶
func (o OrganizationProjectArrayOutput) ToOrganizationProjectArrayOutput() OrganizationProjectArrayOutput
func (OrganizationProjectArrayOutput) ToOrganizationProjectArrayOutputWithContext ¶
func (o OrganizationProjectArrayOutput) ToOrganizationProjectArrayOutputWithContext(ctx context.Context) OrganizationProjectArrayOutput
type OrganizationProjectInput ¶
type OrganizationProjectInput interface { pulumi.Input ToOrganizationProjectOutput() OrganizationProjectOutput ToOrganizationProjectOutputWithContext(ctx context.Context) OrganizationProjectOutput }
type OrganizationProjectMap ¶
type OrganizationProjectMap map[string]OrganizationProjectInput
func (OrganizationProjectMap) ElementType ¶
func (OrganizationProjectMap) ElementType() reflect.Type
func (OrganizationProjectMap) ToOrganizationProjectMapOutput ¶
func (i OrganizationProjectMap) ToOrganizationProjectMapOutput() OrganizationProjectMapOutput
func (OrganizationProjectMap) ToOrganizationProjectMapOutputWithContext ¶
func (i OrganizationProjectMap) ToOrganizationProjectMapOutputWithContext(ctx context.Context) OrganizationProjectMapOutput
type OrganizationProjectMapInput ¶
type OrganizationProjectMapInput interface { pulumi.Input ToOrganizationProjectMapOutput() OrganizationProjectMapOutput ToOrganizationProjectMapOutputWithContext(context.Context) OrganizationProjectMapOutput }
OrganizationProjectMapInput is an input type that accepts OrganizationProjectMap and OrganizationProjectMapOutput values. You can construct a concrete instance of `OrganizationProjectMapInput` via:
OrganizationProjectMap{ "key": OrganizationProjectArgs{...} }
type OrganizationProjectMapOutput ¶
type OrganizationProjectMapOutput struct{ *pulumi.OutputState }
func (OrganizationProjectMapOutput) ElementType ¶
func (OrganizationProjectMapOutput) ElementType() reflect.Type
func (OrganizationProjectMapOutput) MapIndex ¶
func (o OrganizationProjectMapOutput) MapIndex(k pulumi.StringInput) OrganizationProjectOutput
func (OrganizationProjectMapOutput) ToOrganizationProjectMapOutput ¶
func (o OrganizationProjectMapOutput) ToOrganizationProjectMapOutput() OrganizationProjectMapOutput
func (OrganizationProjectMapOutput) ToOrganizationProjectMapOutputWithContext ¶
func (o OrganizationProjectMapOutput) ToOrganizationProjectMapOutputWithContext(ctx context.Context) OrganizationProjectMapOutput
type OrganizationProjectOutput ¶
type OrganizationProjectOutput struct{ *pulumi.OutputState }
func (OrganizationProjectOutput) Body ¶ added in v4.15.0
func (o OrganizationProjectOutput) Body() pulumi.StringPtrOutput
The body of the project.
func (OrganizationProjectOutput) ElementType ¶
func (OrganizationProjectOutput) ElementType() reflect.Type
func (OrganizationProjectOutput) Etag ¶ added in v4.15.0
func (o OrganizationProjectOutput) Etag() pulumi.StringOutput
func (OrganizationProjectOutput) Name ¶ added in v4.15.0
func (o OrganizationProjectOutput) Name() pulumi.StringOutput
The name of the project.
func (OrganizationProjectOutput) ToOrganizationProjectOutput ¶
func (o OrganizationProjectOutput) ToOrganizationProjectOutput() OrganizationProjectOutput
func (OrganizationProjectOutput) ToOrganizationProjectOutputWithContext ¶
func (o OrganizationProjectOutput) ToOrganizationProjectOutputWithContext(ctx context.Context) OrganizationProjectOutput
func (OrganizationProjectOutput) Url ¶ added in v4.15.0
func (o OrganizationProjectOutput) Url() pulumi.StringOutput
URL of the project
type OrganizationProjectState ¶
type OrganizationProjectState struct { // The body of the project. Body pulumi.StringPtrInput Etag pulumi.StringPtrInput // The name of the project. Name pulumi.StringPtrInput // URL of the project Url pulumi.StringPtrInput }
func (OrganizationProjectState) ElementType ¶
func (OrganizationProjectState) ElementType() reflect.Type
type OrganizationWebhook ¶
type OrganizationWebhook struct { pulumi.CustomResourceState // Indicate of the webhook should receive events. Defaults to `true`. Active pulumi.BoolPtrOutput `pulumi:"active"` // key/value pair of configuration for this webhook. Available keys are `url`, `contentType`, `secret` and `insecureSsl`. Configuration OrganizationWebhookConfigurationPtrOutput `pulumi:"configuration"` Etag pulumi.StringOutput `pulumi:"etag"` // A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/) Events pulumi.StringArrayOutput `pulumi:"events"` // URL of the webhook Url pulumi.StringOutput `pulumi:"url"` }
This resource allows you to create and manage webhooks for GitHub organization.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewOrganizationWebhook(ctx, "foo", &github.OrganizationWebhookArgs{ Active: pulumi.Bool(false), Configuration: &OrganizationWebhookConfigurationArgs{ ContentType: pulumi.String("form"), InsecureSsl: pulumi.Bool(false), Url: pulumi.String("https://google.de/"), }, Events: pulumi.StringArray{ pulumi.String("issues"), }, }) if err != nil { return err } return nil }) }
```
## Import
Organization webhooks can be imported using the `id` of the webhook. The `id` of the webhook can be found in the URL of the webhook. For example, `"https://github.com/organizations/foo-org/settings/hooks/123456789"`.
```sh
$ pulumi import github:index/organizationWebhook:OrganizationWebhook terraform 123456789
```
If secret is populated in the webhook's configuration, the value will be imported as "********".
func GetOrganizationWebhook ¶
func GetOrganizationWebhook(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OrganizationWebhookState, opts ...pulumi.ResourceOption) (*OrganizationWebhook, error)
GetOrganizationWebhook gets an existing OrganizationWebhook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewOrganizationWebhook ¶
func NewOrganizationWebhook(ctx *pulumi.Context, name string, args *OrganizationWebhookArgs, opts ...pulumi.ResourceOption) (*OrganizationWebhook, error)
NewOrganizationWebhook registers a new resource with the given unique name, arguments, and options.
func (*OrganizationWebhook) ElementType ¶
func (*OrganizationWebhook) ElementType() reflect.Type
func (*OrganizationWebhook) ToOrganizationWebhookOutput ¶
func (i *OrganizationWebhook) ToOrganizationWebhookOutput() OrganizationWebhookOutput
func (*OrganizationWebhook) ToOrganizationWebhookOutputWithContext ¶
func (i *OrganizationWebhook) ToOrganizationWebhookOutputWithContext(ctx context.Context) OrganizationWebhookOutput
type OrganizationWebhookArgs ¶
type OrganizationWebhookArgs struct { // Indicate of the webhook should receive events. Defaults to `true`. Active pulumi.BoolPtrInput // key/value pair of configuration for this webhook. Available keys are `url`, `contentType`, `secret` and `insecureSsl`. Configuration OrganizationWebhookConfigurationPtrInput // A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/) Events pulumi.StringArrayInput }
The set of arguments for constructing a OrganizationWebhook resource.
func (OrganizationWebhookArgs) ElementType ¶
func (OrganizationWebhookArgs) ElementType() reflect.Type
type OrganizationWebhookArray ¶
type OrganizationWebhookArray []OrganizationWebhookInput
func (OrganizationWebhookArray) ElementType ¶
func (OrganizationWebhookArray) ElementType() reflect.Type
func (OrganizationWebhookArray) ToOrganizationWebhookArrayOutput ¶
func (i OrganizationWebhookArray) ToOrganizationWebhookArrayOutput() OrganizationWebhookArrayOutput
func (OrganizationWebhookArray) ToOrganizationWebhookArrayOutputWithContext ¶
func (i OrganizationWebhookArray) ToOrganizationWebhookArrayOutputWithContext(ctx context.Context) OrganizationWebhookArrayOutput
type OrganizationWebhookArrayInput ¶
type OrganizationWebhookArrayInput interface { pulumi.Input ToOrganizationWebhookArrayOutput() OrganizationWebhookArrayOutput ToOrganizationWebhookArrayOutputWithContext(context.Context) OrganizationWebhookArrayOutput }
OrganizationWebhookArrayInput is an input type that accepts OrganizationWebhookArray and OrganizationWebhookArrayOutput values. You can construct a concrete instance of `OrganizationWebhookArrayInput` via:
OrganizationWebhookArray{ OrganizationWebhookArgs{...} }
type OrganizationWebhookArrayOutput ¶
type OrganizationWebhookArrayOutput struct{ *pulumi.OutputState }
func (OrganizationWebhookArrayOutput) ElementType ¶
func (OrganizationWebhookArrayOutput) ElementType() reflect.Type
func (OrganizationWebhookArrayOutput) Index ¶
func (o OrganizationWebhookArrayOutput) Index(i pulumi.IntInput) OrganizationWebhookOutput
func (OrganizationWebhookArrayOutput) ToOrganizationWebhookArrayOutput ¶
func (o OrganizationWebhookArrayOutput) ToOrganizationWebhookArrayOutput() OrganizationWebhookArrayOutput
func (OrganizationWebhookArrayOutput) ToOrganizationWebhookArrayOutputWithContext ¶
func (o OrganizationWebhookArrayOutput) ToOrganizationWebhookArrayOutputWithContext(ctx context.Context) OrganizationWebhookArrayOutput
type OrganizationWebhookConfigurationArgs ¶
type OrganizationWebhookConfigurationArgs struct { ContentType pulumi.StringPtrInput `pulumi:"contentType"` InsecureSsl pulumi.BoolPtrInput `pulumi:"insecureSsl"` Secret pulumi.StringPtrInput `pulumi:"secret"` // URL of the webhook Url pulumi.StringInput `pulumi:"url"` }
func (OrganizationWebhookConfigurationArgs) ElementType ¶
func (OrganizationWebhookConfigurationArgs) ElementType() reflect.Type
func (OrganizationWebhookConfigurationArgs) ToOrganizationWebhookConfigurationOutput ¶
func (i OrganizationWebhookConfigurationArgs) ToOrganizationWebhookConfigurationOutput() OrganizationWebhookConfigurationOutput
func (OrganizationWebhookConfigurationArgs) ToOrganizationWebhookConfigurationOutputWithContext ¶
func (i OrganizationWebhookConfigurationArgs) ToOrganizationWebhookConfigurationOutputWithContext(ctx context.Context) OrganizationWebhookConfigurationOutput
func (OrganizationWebhookConfigurationArgs) ToOrganizationWebhookConfigurationPtrOutput ¶
func (i OrganizationWebhookConfigurationArgs) ToOrganizationWebhookConfigurationPtrOutput() OrganizationWebhookConfigurationPtrOutput
func (OrganizationWebhookConfigurationArgs) ToOrganizationWebhookConfigurationPtrOutputWithContext ¶
func (i OrganizationWebhookConfigurationArgs) ToOrganizationWebhookConfigurationPtrOutputWithContext(ctx context.Context) OrganizationWebhookConfigurationPtrOutput
type OrganizationWebhookConfigurationInput ¶
type OrganizationWebhookConfigurationInput interface { pulumi.Input ToOrganizationWebhookConfigurationOutput() OrganizationWebhookConfigurationOutput ToOrganizationWebhookConfigurationOutputWithContext(context.Context) OrganizationWebhookConfigurationOutput }
OrganizationWebhookConfigurationInput is an input type that accepts OrganizationWebhookConfigurationArgs and OrganizationWebhookConfigurationOutput values. You can construct a concrete instance of `OrganizationWebhookConfigurationInput` via:
OrganizationWebhookConfigurationArgs{...}
type OrganizationWebhookConfigurationOutput ¶
type OrganizationWebhookConfigurationOutput struct{ *pulumi.OutputState }
func (OrganizationWebhookConfigurationOutput) ContentType ¶
func (o OrganizationWebhookConfigurationOutput) ContentType() pulumi.StringPtrOutput
func (OrganizationWebhookConfigurationOutput) ElementType ¶
func (OrganizationWebhookConfigurationOutput) ElementType() reflect.Type
func (OrganizationWebhookConfigurationOutput) InsecureSsl ¶
func (o OrganizationWebhookConfigurationOutput) InsecureSsl() pulumi.BoolPtrOutput
func (OrganizationWebhookConfigurationOutput) Secret ¶
func (o OrganizationWebhookConfigurationOutput) Secret() pulumi.StringPtrOutput
func (OrganizationWebhookConfigurationOutput) ToOrganizationWebhookConfigurationOutput ¶
func (o OrganizationWebhookConfigurationOutput) ToOrganizationWebhookConfigurationOutput() OrganizationWebhookConfigurationOutput
func (OrganizationWebhookConfigurationOutput) ToOrganizationWebhookConfigurationOutputWithContext ¶
func (o OrganizationWebhookConfigurationOutput) ToOrganizationWebhookConfigurationOutputWithContext(ctx context.Context) OrganizationWebhookConfigurationOutput
func (OrganizationWebhookConfigurationOutput) ToOrganizationWebhookConfigurationPtrOutput ¶
func (o OrganizationWebhookConfigurationOutput) ToOrganizationWebhookConfigurationPtrOutput() OrganizationWebhookConfigurationPtrOutput
func (OrganizationWebhookConfigurationOutput) ToOrganizationWebhookConfigurationPtrOutputWithContext ¶
func (o OrganizationWebhookConfigurationOutput) ToOrganizationWebhookConfigurationPtrOutputWithContext(ctx context.Context) OrganizationWebhookConfigurationPtrOutput
func (OrganizationWebhookConfigurationOutput) Url ¶
func (o OrganizationWebhookConfigurationOutput) Url() pulumi.StringOutput
URL of the webhook
type OrganizationWebhookConfigurationPtrInput ¶
type OrganizationWebhookConfigurationPtrInput interface { pulumi.Input ToOrganizationWebhookConfigurationPtrOutput() OrganizationWebhookConfigurationPtrOutput ToOrganizationWebhookConfigurationPtrOutputWithContext(context.Context) OrganizationWebhookConfigurationPtrOutput }
OrganizationWebhookConfigurationPtrInput is an input type that accepts OrganizationWebhookConfigurationArgs, OrganizationWebhookConfigurationPtr and OrganizationWebhookConfigurationPtrOutput values. You can construct a concrete instance of `OrganizationWebhookConfigurationPtrInput` via:
OrganizationWebhookConfigurationArgs{...} or: nil
func OrganizationWebhookConfigurationPtr ¶
func OrganizationWebhookConfigurationPtr(v *OrganizationWebhookConfigurationArgs) OrganizationWebhookConfigurationPtrInput
type OrganizationWebhookConfigurationPtrOutput ¶
type OrganizationWebhookConfigurationPtrOutput struct{ *pulumi.OutputState }
func (OrganizationWebhookConfigurationPtrOutput) ContentType ¶
func (o OrganizationWebhookConfigurationPtrOutput) ContentType() pulumi.StringPtrOutput
func (OrganizationWebhookConfigurationPtrOutput) ElementType ¶
func (OrganizationWebhookConfigurationPtrOutput) ElementType() reflect.Type
func (OrganizationWebhookConfigurationPtrOutput) InsecureSsl ¶
func (o OrganizationWebhookConfigurationPtrOutput) InsecureSsl() pulumi.BoolPtrOutput
func (OrganizationWebhookConfigurationPtrOutput) Secret ¶
func (o OrganizationWebhookConfigurationPtrOutput) Secret() pulumi.StringPtrOutput
func (OrganizationWebhookConfigurationPtrOutput) ToOrganizationWebhookConfigurationPtrOutput ¶
func (o OrganizationWebhookConfigurationPtrOutput) ToOrganizationWebhookConfigurationPtrOutput() OrganizationWebhookConfigurationPtrOutput
func (OrganizationWebhookConfigurationPtrOutput) ToOrganizationWebhookConfigurationPtrOutputWithContext ¶
func (o OrganizationWebhookConfigurationPtrOutput) ToOrganizationWebhookConfigurationPtrOutputWithContext(ctx context.Context) OrganizationWebhookConfigurationPtrOutput
func (OrganizationWebhookConfigurationPtrOutput) Url ¶
func (o OrganizationWebhookConfigurationPtrOutput) Url() pulumi.StringPtrOutput
URL of the webhook
type OrganizationWebhookInput ¶
type OrganizationWebhookInput interface { pulumi.Input ToOrganizationWebhookOutput() OrganizationWebhookOutput ToOrganizationWebhookOutputWithContext(ctx context.Context) OrganizationWebhookOutput }
type OrganizationWebhookMap ¶
type OrganizationWebhookMap map[string]OrganizationWebhookInput
func (OrganizationWebhookMap) ElementType ¶
func (OrganizationWebhookMap) ElementType() reflect.Type
func (OrganizationWebhookMap) ToOrganizationWebhookMapOutput ¶
func (i OrganizationWebhookMap) ToOrganizationWebhookMapOutput() OrganizationWebhookMapOutput
func (OrganizationWebhookMap) ToOrganizationWebhookMapOutputWithContext ¶
func (i OrganizationWebhookMap) ToOrganizationWebhookMapOutputWithContext(ctx context.Context) OrganizationWebhookMapOutput
type OrganizationWebhookMapInput ¶
type OrganizationWebhookMapInput interface { pulumi.Input ToOrganizationWebhookMapOutput() OrganizationWebhookMapOutput ToOrganizationWebhookMapOutputWithContext(context.Context) OrganizationWebhookMapOutput }
OrganizationWebhookMapInput is an input type that accepts OrganizationWebhookMap and OrganizationWebhookMapOutput values. You can construct a concrete instance of `OrganizationWebhookMapInput` via:
OrganizationWebhookMap{ "key": OrganizationWebhookArgs{...} }
type OrganizationWebhookMapOutput ¶
type OrganizationWebhookMapOutput struct{ *pulumi.OutputState }
func (OrganizationWebhookMapOutput) ElementType ¶
func (OrganizationWebhookMapOutput) ElementType() reflect.Type
func (OrganizationWebhookMapOutput) MapIndex ¶
func (o OrganizationWebhookMapOutput) MapIndex(k pulumi.StringInput) OrganizationWebhookOutput
func (OrganizationWebhookMapOutput) ToOrganizationWebhookMapOutput ¶
func (o OrganizationWebhookMapOutput) ToOrganizationWebhookMapOutput() OrganizationWebhookMapOutput
func (OrganizationWebhookMapOutput) ToOrganizationWebhookMapOutputWithContext ¶
func (o OrganizationWebhookMapOutput) ToOrganizationWebhookMapOutputWithContext(ctx context.Context) OrganizationWebhookMapOutput
type OrganizationWebhookOutput ¶
type OrganizationWebhookOutput struct{ *pulumi.OutputState }
func (OrganizationWebhookOutput) Active ¶ added in v4.15.0
func (o OrganizationWebhookOutput) Active() pulumi.BoolPtrOutput
Indicate of the webhook should receive events. Defaults to `true`.
func (OrganizationWebhookOutput) Configuration ¶ added in v4.15.0
func (o OrganizationWebhookOutput) Configuration() OrganizationWebhookConfigurationPtrOutput
key/value pair of configuration for this webhook. Available keys are `url`, `contentType`, `secret` and `insecureSsl`.
func (OrganizationWebhookOutput) ElementType ¶
func (OrganizationWebhookOutput) ElementType() reflect.Type
func (OrganizationWebhookOutput) Etag ¶ added in v4.15.0
func (o OrganizationWebhookOutput) Etag() pulumi.StringOutput
func (OrganizationWebhookOutput) Events ¶ added in v4.15.0
func (o OrganizationWebhookOutput) Events() pulumi.StringArrayOutput
A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/)
func (OrganizationWebhookOutput) ToOrganizationWebhookOutput ¶
func (o OrganizationWebhookOutput) ToOrganizationWebhookOutput() OrganizationWebhookOutput
func (OrganizationWebhookOutput) ToOrganizationWebhookOutputWithContext ¶
func (o OrganizationWebhookOutput) ToOrganizationWebhookOutputWithContext(ctx context.Context) OrganizationWebhookOutput
func (OrganizationWebhookOutput) Url ¶ added in v4.15.0
func (o OrganizationWebhookOutput) Url() pulumi.StringOutput
URL of the webhook
type OrganizationWebhookState ¶
type OrganizationWebhookState struct { // Indicate of the webhook should receive events. Defaults to `true`. Active pulumi.BoolPtrInput // key/value pair of configuration for this webhook. Available keys are `url`, `contentType`, `secret` and `insecureSsl`. Configuration OrganizationWebhookConfigurationPtrInput Etag pulumi.StringPtrInput // A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/) Events pulumi.StringArrayInput // URL of the webhook Url pulumi.StringPtrInput }
func (OrganizationWebhookState) ElementType ¶
func (OrganizationWebhookState) ElementType() reflect.Type
type ProjectCard ¶
type ProjectCard struct { pulumi.CustomResourceState CardId pulumi.IntOutput `pulumi:"cardId"` // The ID of the card. ColumnId pulumi.StringOutput `pulumi:"columnId"` // `github_issue.issue_id`. ContentId pulumi.IntPtrOutput `pulumi:"contentId"` // Must be either `Issue` or `PullRequest` ContentType pulumi.StringPtrOutput `pulumi:"contentType"` Etag pulumi.StringOutput `pulumi:"etag"` // The note contents of the card. Markdown supported. Note pulumi.StringPtrOutput `pulumi:"note"` }
This resource allows you to create and manage cards for GitHub projects.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project, err := github.NewOrganizationProject(ctx, "project", &github.OrganizationProjectArgs{ Body: pulumi.String("This is an organization project."), }) if err != nil { return err } column, err := github.NewProjectColumn(ctx, "column", &github.ProjectColumnArgs{ ProjectId: project.ID(), }) if err != nil { return err } _, err = github.NewProjectCard(ctx, "card", &github.ProjectCardArgs{ ColumnId: column.ColumnId, Note: pulumi.String("## Unaccepted 👇"), }) if err != nil { return err } return nil }) }
``` ### Adding An Issue To A Project
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testRepository, err := github.NewRepository(ctx, "testRepository", &github.RepositoryArgs{ HasProjects: pulumi.Bool(true), HasIssues: pulumi.Bool(true), }) if err != nil { return err } testIssue, err := github.NewIssue(ctx, "testIssue", &github.IssueArgs{ Repository: testRepository.ID(), Title: pulumi.String("Test issue title"), Body: pulumi.String("Test issue body"), }) if err != nil { return err } testRepositoryProject, err := github.NewRepositoryProject(ctx, "testRepositoryProject", &github.RepositoryProjectArgs{ Repository: testRepository.Name, Body: pulumi.String("this is a test project"), }) if err != nil { return err } testProjectColumn, err := github.NewProjectColumn(ctx, "testProjectColumn", &github.ProjectColumnArgs{ ProjectId: testRepositoryProject.ID(), }) if err != nil { return err } _, err = github.NewProjectCard(ctx, "testProjectCard", &github.ProjectCardArgs{ ColumnId: testProjectColumn.ColumnId, ContentId: testIssue.IssueId, ContentType: pulumi.String("Issue"), }) if err != nil { return err } return nil }) }
```
## Import
A GitHub Project Card can be imported using its [Card ID](https://developer.github.com/v3/projects/cards/#get-a-project-card)
```sh
$ pulumi import github:index/projectCard:ProjectCard card 01234567
```
func GetProjectCard ¶
func GetProjectCard(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectCardState, opts ...pulumi.ResourceOption) (*ProjectCard, error)
GetProjectCard gets an existing ProjectCard resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProjectCard ¶
func NewProjectCard(ctx *pulumi.Context, name string, args *ProjectCardArgs, opts ...pulumi.ResourceOption) (*ProjectCard, error)
NewProjectCard registers a new resource with the given unique name, arguments, and options.
func (*ProjectCard) ElementType ¶
func (*ProjectCard) ElementType() reflect.Type
func (*ProjectCard) ToProjectCardOutput ¶
func (i *ProjectCard) ToProjectCardOutput() ProjectCardOutput
func (*ProjectCard) ToProjectCardOutputWithContext ¶
func (i *ProjectCard) ToProjectCardOutputWithContext(ctx context.Context) ProjectCardOutput
type ProjectCardArgs ¶
type ProjectCardArgs struct { // The ID of the card. ColumnId pulumi.StringInput // `github_issue.issue_id`. ContentId pulumi.IntPtrInput // Must be either `Issue` or `PullRequest` ContentType pulumi.StringPtrInput // The note contents of the card. Markdown supported. Note pulumi.StringPtrInput }
The set of arguments for constructing a ProjectCard resource.
func (ProjectCardArgs) ElementType ¶
func (ProjectCardArgs) ElementType() reflect.Type
type ProjectCardArray ¶
type ProjectCardArray []ProjectCardInput
func (ProjectCardArray) ElementType ¶
func (ProjectCardArray) ElementType() reflect.Type
func (ProjectCardArray) ToProjectCardArrayOutput ¶
func (i ProjectCardArray) ToProjectCardArrayOutput() ProjectCardArrayOutput
func (ProjectCardArray) ToProjectCardArrayOutputWithContext ¶
func (i ProjectCardArray) ToProjectCardArrayOutputWithContext(ctx context.Context) ProjectCardArrayOutput
type ProjectCardArrayInput ¶
type ProjectCardArrayInput interface { pulumi.Input ToProjectCardArrayOutput() ProjectCardArrayOutput ToProjectCardArrayOutputWithContext(context.Context) ProjectCardArrayOutput }
ProjectCardArrayInput is an input type that accepts ProjectCardArray and ProjectCardArrayOutput values. You can construct a concrete instance of `ProjectCardArrayInput` via:
ProjectCardArray{ ProjectCardArgs{...} }
type ProjectCardArrayOutput ¶
type ProjectCardArrayOutput struct{ *pulumi.OutputState }
func (ProjectCardArrayOutput) ElementType ¶
func (ProjectCardArrayOutput) ElementType() reflect.Type
func (ProjectCardArrayOutput) Index ¶
func (o ProjectCardArrayOutput) Index(i pulumi.IntInput) ProjectCardOutput
func (ProjectCardArrayOutput) ToProjectCardArrayOutput ¶
func (o ProjectCardArrayOutput) ToProjectCardArrayOutput() ProjectCardArrayOutput
func (ProjectCardArrayOutput) ToProjectCardArrayOutputWithContext ¶
func (o ProjectCardArrayOutput) ToProjectCardArrayOutputWithContext(ctx context.Context) ProjectCardArrayOutput
type ProjectCardInput ¶
type ProjectCardInput interface { pulumi.Input ToProjectCardOutput() ProjectCardOutput ToProjectCardOutputWithContext(ctx context.Context) ProjectCardOutput }
type ProjectCardMap ¶
type ProjectCardMap map[string]ProjectCardInput
func (ProjectCardMap) ElementType ¶
func (ProjectCardMap) ElementType() reflect.Type
func (ProjectCardMap) ToProjectCardMapOutput ¶
func (i ProjectCardMap) ToProjectCardMapOutput() ProjectCardMapOutput
func (ProjectCardMap) ToProjectCardMapOutputWithContext ¶
func (i ProjectCardMap) ToProjectCardMapOutputWithContext(ctx context.Context) ProjectCardMapOutput
type ProjectCardMapInput ¶
type ProjectCardMapInput interface { pulumi.Input ToProjectCardMapOutput() ProjectCardMapOutput ToProjectCardMapOutputWithContext(context.Context) ProjectCardMapOutput }
ProjectCardMapInput is an input type that accepts ProjectCardMap and ProjectCardMapOutput values. You can construct a concrete instance of `ProjectCardMapInput` via:
ProjectCardMap{ "key": ProjectCardArgs{...} }
type ProjectCardMapOutput ¶
type ProjectCardMapOutput struct{ *pulumi.OutputState }
func (ProjectCardMapOutput) ElementType ¶
func (ProjectCardMapOutput) ElementType() reflect.Type
func (ProjectCardMapOutput) MapIndex ¶
func (o ProjectCardMapOutput) MapIndex(k pulumi.StringInput) ProjectCardOutput
func (ProjectCardMapOutput) ToProjectCardMapOutput ¶
func (o ProjectCardMapOutput) ToProjectCardMapOutput() ProjectCardMapOutput
func (ProjectCardMapOutput) ToProjectCardMapOutputWithContext ¶
func (o ProjectCardMapOutput) ToProjectCardMapOutputWithContext(ctx context.Context) ProjectCardMapOutput
type ProjectCardOutput ¶
type ProjectCardOutput struct{ *pulumi.OutputState }
func (ProjectCardOutput) CardId ¶ added in v4.15.0
func (o ProjectCardOutput) CardId() pulumi.IntOutput
func (ProjectCardOutput) ColumnId ¶ added in v4.15.0
func (o ProjectCardOutput) ColumnId() pulumi.StringOutput
The ID of the card.
func (ProjectCardOutput) ContentId ¶ added in v4.15.0
func (o ProjectCardOutput) ContentId() pulumi.IntPtrOutput
`github_issue.issue_id`.
func (ProjectCardOutput) ContentType ¶ added in v4.15.0
func (o ProjectCardOutput) ContentType() pulumi.StringPtrOutput
Must be either `Issue` or `PullRequest`
func (ProjectCardOutput) ElementType ¶
func (ProjectCardOutput) ElementType() reflect.Type
func (ProjectCardOutput) Etag ¶ added in v4.15.0
func (o ProjectCardOutput) Etag() pulumi.StringOutput
func (ProjectCardOutput) Note ¶ added in v4.15.0
func (o ProjectCardOutput) Note() pulumi.StringPtrOutput
The note contents of the card. Markdown supported.
func (ProjectCardOutput) ToProjectCardOutput ¶
func (o ProjectCardOutput) ToProjectCardOutput() ProjectCardOutput
func (ProjectCardOutput) ToProjectCardOutputWithContext ¶
func (o ProjectCardOutput) ToProjectCardOutputWithContext(ctx context.Context) ProjectCardOutput
type ProjectCardState ¶
type ProjectCardState struct { CardId pulumi.IntPtrInput // The ID of the card. ColumnId pulumi.StringPtrInput // `github_issue.issue_id`. ContentId pulumi.IntPtrInput // Must be either `Issue` or `PullRequest` ContentType pulumi.StringPtrInput Etag pulumi.StringPtrInput // The note contents of the card. Markdown supported. Note pulumi.StringPtrInput }
func (ProjectCardState) ElementType ¶
func (ProjectCardState) ElementType() reflect.Type
type ProjectColumn ¶
type ProjectColumn struct { pulumi.CustomResourceState ColumnId pulumi.IntOutput `pulumi:"columnId"` Etag pulumi.StringOutput `pulumi:"etag"` // The name of the column. Name pulumi.StringOutput `pulumi:"name"` // The ID of an existing project that the column will be created in. ProjectId pulumi.StringOutput `pulumi:"projectId"` }
This resource allows you to create and manage columns for GitHub projects.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project, err := github.NewOrganizationProject(ctx, "project", &github.OrganizationProjectArgs{ Body: pulumi.String("This is an organization project."), }) if err != nil { return err } _, err = github.NewProjectColumn(ctx, "column", &github.ProjectColumnArgs{ ProjectId: project.ID(), }) if err != nil { return err } return nil }) }
```
func GetProjectColumn ¶
func GetProjectColumn(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectColumnState, opts ...pulumi.ResourceOption) (*ProjectColumn, error)
GetProjectColumn gets an existing ProjectColumn resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProjectColumn ¶
func NewProjectColumn(ctx *pulumi.Context, name string, args *ProjectColumnArgs, opts ...pulumi.ResourceOption) (*ProjectColumn, error)
NewProjectColumn registers a new resource with the given unique name, arguments, and options.
func (*ProjectColumn) ElementType ¶
func (*ProjectColumn) ElementType() reflect.Type
func (*ProjectColumn) ToProjectColumnOutput ¶
func (i *ProjectColumn) ToProjectColumnOutput() ProjectColumnOutput
func (*ProjectColumn) ToProjectColumnOutputWithContext ¶
func (i *ProjectColumn) ToProjectColumnOutputWithContext(ctx context.Context) ProjectColumnOutput
type ProjectColumnArgs ¶
type ProjectColumnArgs struct { // The name of the column. Name pulumi.StringPtrInput // The ID of an existing project that the column will be created in. ProjectId pulumi.StringInput }
The set of arguments for constructing a ProjectColumn resource.
func (ProjectColumnArgs) ElementType ¶
func (ProjectColumnArgs) ElementType() reflect.Type
type ProjectColumnArray ¶
type ProjectColumnArray []ProjectColumnInput
func (ProjectColumnArray) ElementType ¶
func (ProjectColumnArray) ElementType() reflect.Type
func (ProjectColumnArray) ToProjectColumnArrayOutput ¶
func (i ProjectColumnArray) ToProjectColumnArrayOutput() ProjectColumnArrayOutput
func (ProjectColumnArray) ToProjectColumnArrayOutputWithContext ¶
func (i ProjectColumnArray) ToProjectColumnArrayOutputWithContext(ctx context.Context) ProjectColumnArrayOutput
type ProjectColumnArrayInput ¶
type ProjectColumnArrayInput interface { pulumi.Input ToProjectColumnArrayOutput() ProjectColumnArrayOutput ToProjectColumnArrayOutputWithContext(context.Context) ProjectColumnArrayOutput }
ProjectColumnArrayInput is an input type that accepts ProjectColumnArray and ProjectColumnArrayOutput values. You can construct a concrete instance of `ProjectColumnArrayInput` via:
ProjectColumnArray{ ProjectColumnArgs{...} }
type ProjectColumnArrayOutput ¶
type ProjectColumnArrayOutput struct{ *pulumi.OutputState }
func (ProjectColumnArrayOutput) ElementType ¶
func (ProjectColumnArrayOutput) ElementType() reflect.Type
func (ProjectColumnArrayOutput) Index ¶
func (o ProjectColumnArrayOutput) Index(i pulumi.IntInput) ProjectColumnOutput
func (ProjectColumnArrayOutput) ToProjectColumnArrayOutput ¶
func (o ProjectColumnArrayOutput) ToProjectColumnArrayOutput() ProjectColumnArrayOutput
func (ProjectColumnArrayOutput) ToProjectColumnArrayOutputWithContext ¶
func (o ProjectColumnArrayOutput) ToProjectColumnArrayOutputWithContext(ctx context.Context) ProjectColumnArrayOutput
type ProjectColumnInput ¶
type ProjectColumnInput interface { pulumi.Input ToProjectColumnOutput() ProjectColumnOutput ToProjectColumnOutputWithContext(ctx context.Context) ProjectColumnOutput }
type ProjectColumnMap ¶
type ProjectColumnMap map[string]ProjectColumnInput
func (ProjectColumnMap) ElementType ¶
func (ProjectColumnMap) ElementType() reflect.Type
func (ProjectColumnMap) ToProjectColumnMapOutput ¶
func (i ProjectColumnMap) ToProjectColumnMapOutput() ProjectColumnMapOutput
func (ProjectColumnMap) ToProjectColumnMapOutputWithContext ¶
func (i ProjectColumnMap) ToProjectColumnMapOutputWithContext(ctx context.Context) ProjectColumnMapOutput
type ProjectColumnMapInput ¶
type ProjectColumnMapInput interface { pulumi.Input ToProjectColumnMapOutput() ProjectColumnMapOutput ToProjectColumnMapOutputWithContext(context.Context) ProjectColumnMapOutput }
ProjectColumnMapInput is an input type that accepts ProjectColumnMap and ProjectColumnMapOutput values. You can construct a concrete instance of `ProjectColumnMapInput` via:
ProjectColumnMap{ "key": ProjectColumnArgs{...} }
type ProjectColumnMapOutput ¶
type ProjectColumnMapOutput struct{ *pulumi.OutputState }
func (ProjectColumnMapOutput) ElementType ¶
func (ProjectColumnMapOutput) ElementType() reflect.Type
func (ProjectColumnMapOutput) MapIndex ¶
func (o ProjectColumnMapOutput) MapIndex(k pulumi.StringInput) ProjectColumnOutput
func (ProjectColumnMapOutput) ToProjectColumnMapOutput ¶
func (o ProjectColumnMapOutput) ToProjectColumnMapOutput() ProjectColumnMapOutput
func (ProjectColumnMapOutput) ToProjectColumnMapOutputWithContext ¶
func (o ProjectColumnMapOutput) ToProjectColumnMapOutputWithContext(ctx context.Context) ProjectColumnMapOutput
type ProjectColumnOutput ¶
type ProjectColumnOutput struct{ *pulumi.OutputState }
func (ProjectColumnOutput) ColumnId ¶ added in v4.15.0
func (o ProjectColumnOutput) ColumnId() pulumi.IntOutput
func (ProjectColumnOutput) ElementType ¶
func (ProjectColumnOutput) ElementType() reflect.Type
func (ProjectColumnOutput) Etag ¶ added in v4.15.0
func (o ProjectColumnOutput) Etag() pulumi.StringOutput
func (ProjectColumnOutput) Name ¶ added in v4.15.0
func (o ProjectColumnOutput) Name() pulumi.StringOutput
The name of the column.
func (ProjectColumnOutput) ProjectId ¶ added in v4.15.0
func (o ProjectColumnOutput) ProjectId() pulumi.StringOutput
The ID of an existing project that the column will be created in.
func (ProjectColumnOutput) ToProjectColumnOutput ¶
func (o ProjectColumnOutput) ToProjectColumnOutput() ProjectColumnOutput
func (ProjectColumnOutput) ToProjectColumnOutputWithContext ¶
func (o ProjectColumnOutput) ToProjectColumnOutputWithContext(ctx context.Context) ProjectColumnOutput
type ProjectColumnState ¶
type ProjectColumnState struct { ColumnId pulumi.IntPtrInput Etag pulumi.StringPtrInput // The name of the column. Name pulumi.StringPtrInput // The ID of an existing project that the column will be created in. ProjectId pulumi.StringPtrInput }
func (ProjectColumnState) ElementType ¶
func (ProjectColumnState) ElementType() reflect.Type
type Provider ¶
type Provider struct { pulumi.ProviderResourceState // The GitHub Base API URL BaseUrl pulumi.StringPtrOutput `pulumi:"baseUrl"` // The GitHub organization name to manage. Use this field instead of `owner` when managing organization accounts. // // Deprecated: Use owner (or GITHUB_OWNER) instead of organization (or GITHUB_ORGANIZATION) Organization pulumi.StringPtrOutput `pulumi:"organization"` // The GitHub owner name to manage. Use this field instead of `organization` when managing individual accounts. Owner pulumi.StringPtrOutput `pulumi:"owner"` // The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `app_auth` are not set. Token pulumi.StringPtrOutput `pulumi:"token"` }
The provider type for the github package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderAppAuth ¶ added in v4.1.0
type ProviderAppAuthArgs ¶ added in v4.1.0
type ProviderAppAuthArgs struct { Id pulumi.StringInput `pulumi:"id"` InstallationId pulumi.StringInput `pulumi:"installationId"` PemFile pulumi.StringInput `pulumi:"pemFile"` }
func (ProviderAppAuthArgs) ElementType ¶ added in v4.1.0
func (ProviderAppAuthArgs) ElementType() reflect.Type
func (ProviderAppAuthArgs) ToProviderAppAuthOutput ¶ added in v4.1.0
func (i ProviderAppAuthArgs) ToProviderAppAuthOutput() ProviderAppAuthOutput
func (ProviderAppAuthArgs) ToProviderAppAuthOutputWithContext ¶ added in v4.1.0
func (i ProviderAppAuthArgs) ToProviderAppAuthOutputWithContext(ctx context.Context) ProviderAppAuthOutput
func (ProviderAppAuthArgs) ToProviderAppAuthPtrOutput ¶ added in v4.1.0
func (i ProviderAppAuthArgs) ToProviderAppAuthPtrOutput() ProviderAppAuthPtrOutput
func (ProviderAppAuthArgs) ToProviderAppAuthPtrOutputWithContext ¶ added in v4.1.0
func (i ProviderAppAuthArgs) ToProviderAppAuthPtrOutputWithContext(ctx context.Context) ProviderAppAuthPtrOutput
type ProviderAppAuthInput ¶ added in v4.1.0
type ProviderAppAuthInput interface { pulumi.Input ToProviderAppAuthOutput() ProviderAppAuthOutput ToProviderAppAuthOutputWithContext(context.Context) ProviderAppAuthOutput }
ProviderAppAuthInput is an input type that accepts ProviderAppAuthArgs and ProviderAppAuthOutput values. You can construct a concrete instance of `ProviderAppAuthInput` via:
ProviderAppAuthArgs{...}
type ProviderAppAuthOutput ¶ added in v4.1.0
type ProviderAppAuthOutput struct{ *pulumi.OutputState }
func (ProviderAppAuthOutput) ElementType ¶ added in v4.1.0
func (ProviderAppAuthOutput) ElementType() reflect.Type
func (ProviderAppAuthOutput) Id ¶ added in v4.1.0
func (o ProviderAppAuthOutput) Id() pulumi.StringOutput
func (ProviderAppAuthOutput) InstallationId ¶ added in v4.1.0
func (o ProviderAppAuthOutput) InstallationId() pulumi.StringOutput
func (ProviderAppAuthOutput) PemFile ¶ added in v4.1.0
func (o ProviderAppAuthOutput) PemFile() pulumi.StringOutput
func (ProviderAppAuthOutput) ToProviderAppAuthOutput ¶ added in v4.1.0
func (o ProviderAppAuthOutput) ToProviderAppAuthOutput() ProviderAppAuthOutput
func (ProviderAppAuthOutput) ToProviderAppAuthOutputWithContext ¶ added in v4.1.0
func (o ProviderAppAuthOutput) ToProviderAppAuthOutputWithContext(ctx context.Context) ProviderAppAuthOutput
func (ProviderAppAuthOutput) ToProviderAppAuthPtrOutput ¶ added in v4.1.0
func (o ProviderAppAuthOutput) ToProviderAppAuthPtrOutput() ProviderAppAuthPtrOutput
func (ProviderAppAuthOutput) ToProviderAppAuthPtrOutputWithContext ¶ added in v4.1.0
func (o ProviderAppAuthOutput) ToProviderAppAuthPtrOutputWithContext(ctx context.Context) ProviderAppAuthPtrOutput
type ProviderAppAuthPtrInput ¶ added in v4.1.0
type ProviderAppAuthPtrInput interface { pulumi.Input ToProviderAppAuthPtrOutput() ProviderAppAuthPtrOutput ToProviderAppAuthPtrOutputWithContext(context.Context) ProviderAppAuthPtrOutput }
ProviderAppAuthPtrInput is an input type that accepts ProviderAppAuthArgs, ProviderAppAuthPtr and ProviderAppAuthPtrOutput values. You can construct a concrete instance of `ProviderAppAuthPtrInput` via:
ProviderAppAuthArgs{...} or: nil
func ProviderAppAuthPtr ¶ added in v4.1.0
func ProviderAppAuthPtr(v *ProviderAppAuthArgs) ProviderAppAuthPtrInput
type ProviderAppAuthPtrOutput ¶ added in v4.1.0
type ProviderAppAuthPtrOutput struct{ *pulumi.OutputState }
func (ProviderAppAuthPtrOutput) Elem ¶ added in v4.1.0
func (o ProviderAppAuthPtrOutput) Elem() ProviderAppAuthOutput
func (ProviderAppAuthPtrOutput) ElementType ¶ added in v4.1.0
func (ProviderAppAuthPtrOutput) ElementType() reflect.Type
func (ProviderAppAuthPtrOutput) Id ¶ added in v4.1.0
func (o ProviderAppAuthPtrOutput) Id() pulumi.StringPtrOutput
func (ProviderAppAuthPtrOutput) InstallationId ¶ added in v4.1.0
func (o ProviderAppAuthPtrOutput) InstallationId() pulumi.StringPtrOutput
func (ProviderAppAuthPtrOutput) PemFile ¶ added in v4.1.0
func (o ProviderAppAuthPtrOutput) PemFile() pulumi.StringPtrOutput
func (ProviderAppAuthPtrOutput) ToProviderAppAuthPtrOutput ¶ added in v4.1.0
func (o ProviderAppAuthPtrOutput) ToProviderAppAuthPtrOutput() ProviderAppAuthPtrOutput
func (ProviderAppAuthPtrOutput) ToProviderAppAuthPtrOutputWithContext ¶ added in v4.1.0
func (o ProviderAppAuthPtrOutput) ToProviderAppAuthPtrOutputWithContext(ctx context.Context) ProviderAppAuthPtrOutput
type ProviderArgs ¶
type ProviderArgs struct { // The GitHub App credentials used to connect to GitHub. Conflicts with `token`. Anonymous mode is enabled if both `token` // and `app_auth` are not set. AppAuth ProviderAppAuthPtrInput // The GitHub Base API URL BaseUrl pulumi.StringPtrInput // Enable `insecure` mode for testing purposes Insecure pulumi.BoolPtrInput // The GitHub organization name to manage. Use this field instead of `owner` when managing organization accounts. // // Deprecated: Use owner (or GITHUB_OWNER) instead of organization (or GITHUB_ORGANIZATION) Organization pulumi.StringPtrInput // The GitHub owner name to manage. Use this field instead of `organization` when managing individual accounts. Owner pulumi.StringPtrInput // Amount of time in milliseconds to sleep in between non-write requests to GitHub API. Defaults to 0ms if not set. ReadDelayMs pulumi.IntPtrInput // The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `app_auth` are not set. Token pulumi.StringPtrInput // Amount of time in milliseconds to sleep in between writes to GitHub API. Defaults to 1000ms or 1s if not set. WriteDelayMs pulumi.IntPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) BaseUrl ¶ added in v4.15.0
func (o ProviderOutput) BaseUrl() pulumi.StringPtrOutput
The GitHub Base API URL
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) Organization
deprecated
added in
v4.15.0
func (o ProviderOutput) Organization() pulumi.StringPtrOutput
The GitHub organization name to manage. Use this field instead of `owner` when managing organization accounts.
Deprecated: Use owner (or GITHUB_OWNER) instead of organization (or GITHUB_ORGANIZATION)
func (ProviderOutput) Owner ¶ added in v4.15.0
func (o ProviderOutput) Owner() pulumi.StringPtrOutput
The GitHub owner name to manage. Use this field instead of `organization` when managing individual accounts.
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
func (ProviderOutput) Token ¶ added in v4.15.0
func (o ProviderOutput) Token() pulumi.StringPtrOutput
The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `app_auth` are not set.
type Repository ¶
type Repository struct { pulumi.CustomResourceState // Set to `true` to allow auto-merging pull requests on the repository. AllowAutoMerge pulumi.BoolPtrOutput `pulumi:"allowAutoMerge"` // Set to `false` to disable merge commits on the repository. AllowMergeCommit pulumi.BoolPtrOutput `pulumi:"allowMergeCommit"` // Set to `false` to disable rebase merges on the repository. AllowRebaseMerge pulumi.BoolPtrOutput `pulumi:"allowRebaseMerge"` // Set to `false` to disable squash merges on the repository. AllowSquashMerge pulumi.BoolPtrOutput `pulumi:"allowSquashMerge"` // Set to `true` to archive the repository instead of deleting on destroy. ArchiveOnDestroy pulumi.BoolPtrOutput `pulumi:"archiveOnDestroy"` // Specifies if the repository should be archived. Defaults to `false`. **NOTE** Currently, the API does not support unarchiving. Archived pulumi.BoolPtrOutput `pulumi:"archived"` // Set to `true` to produce an initial commit in the repository. AutoInit pulumi.BoolPtrOutput `pulumi:"autoInit"` // The list of this repository's branches. Each element of `branches` has the following attributes: Branches RepositoryBranchArrayOutput `pulumi:"branches"` // (Deprecated: Use `BranchDefault` resource instead) The name of the default branch of the repository. **NOTE:** This can only be set after a repository has already been created, // and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the // initial repository creation and create the target branch inside of the repository prior to setting this attribute. // // Deprecated: Use the github_branch_default resource instead DefaultBranch pulumi.StringOutput `pulumi:"defaultBranch"` // Automatically delete head branch after a pull request is merged. Defaults to `false`. DeleteBranchOnMerge pulumi.BoolPtrOutput `pulumi:"deleteBranchOnMerge"` // A description of the repository. Description pulumi.StringPtrOutput `pulumi:"description"` Etag pulumi.StringOutput `pulumi:"etag"` // A string of the form "orgname/reponame". FullName pulumi.StringOutput `pulumi:"fullName"` // URL that can be provided to `git clone` to clone the repository anonymously via the git protocol. GitCloneUrl pulumi.StringOutput `pulumi:"gitCloneUrl"` // Use the [name of the template](https://github.com/github/gitignore) without the extension. For example, "Haskell". GitignoreTemplate pulumi.StringPtrOutput `pulumi:"gitignoreTemplate"` // Set to `true` to enable the (deprecated) downloads features on the repository. HasDownloads pulumi.BoolPtrOutput `pulumi:"hasDownloads"` // Set to `true` to enable the GitHub Issues features // on the repository. HasIssues pulumi.BoolPtrOutput `pulumi:"hasIssues"` // Set to `true` to enable the GitHub Projects features on the repository. Per the GitHub [documentation](https://developer.github.com/v3/repos/#create) when in an organization that has disabled repository projects it will default to `false` and will otherwise default to `true`. If you specify `true` when it has been disabled it will return an error. HasProjects pulumi.BoolPtrOutput `pulumi:"hasProjects"` // Set to `true` to enable the GitHub Wiki features on // the repository. HasWiki pulumi.BoolPtrOutput `pulumi:"hasWiki"` // URL of a page describing the project. HomepageUrl pulumi.StringPtrOutput `pulumi:"homepageUrl"` // The absolute URL (including scheme) of the rendered GitHub Pages site e.g. `https://username.github.io`. HtmlUrl pulumi.StringOutput `pulumi:"htmlUrl"` // URL that can be provided to `git clone` to clone the repository via HTTPS. HttpCloneUrl pulumi.StringOutput `pulumi:"httpCloneUrl"` // Set to `true` to not call the vulnerability alerts endpoint so the resource can also be used without admin permissions during read. IgnoreVulnerabilityAlertsDuringRead pulumi.BoolPtrOutput `pulumi:"ignoreVulnerabilityAlertsDuringRead"` // Set to `true` to tell GitHub that this is a template repository. IsTemplate pulumi.BoolPtrOutput `pulumi:"isTemplate"` // Use the [name of the template](https://github.com/github/choosealicense.com/tree/gh-pages/_licenses) without the extension. For example, "mit" or "mpl-2.0". LicenseTemplate pulumi.StringPtrOutput `pulumi:"licenseTemplate"` // Can be `PR_BODY`, `PR_TITLE`, or `BLANK` for a default merge commit message. MergeCommitMessage pulumi.StringPtrOutput `pulumi:"mergeCommitMessage"` // Can be `PR_TITLE` or `MERGE_MESSAGE` for a default merge commit title. MergeCommitTitle pulumi.StringPtrOutput `pulumi:"mergeCommitTitle"` // The name of the repository. Name pulumi.StringOutput `pulumi:"name"` // GraphQL global node id for use with v4 API NodeId pulumi.StringOutput `pulumi:"nodeId"` // The repository's GitHub Pages configuration. See GitHub Pages Configuration below for details. Pages RepositoryPagesPtrOutput `pulumi:"pages"` // Set to `true` to create a private repository. // Repositories are created as public (e.g. open source) by default. // // Deprecated: use visibility instead Private pulumi.BoolOutput `pulumi:"private"` // GitHub ID for the repository RepoId pulumi.IntOutput `pulumi:"repoId"` // Can be `PR_BODY`, `COMMIT_MESSAGES`, or `BLANK` for a default squash merge commit message. SquashMergeCommitMessage pulumi.StringPtrOutput `pulumi:"squashMergeCommitMessage"` // Can be `PR_TITLE` or `COMMIT_OR_PR_TITLE` for a default squash merge commit title. SquashMergeCommitTitle pulumi.StringPtrOutput `pulumi:"squashMergeCommitTitle"` // URL that can be provided to `git clone` to clone the repository via SSH. SshCloneUrl pulumi.StringOutput `pulumi:"sshCloneUrl"` // URL that can be provided to `svn checkout` to check out the repository via GitHub's Subversion protocol emulation. SvnUrl pulumi.StringOutput `pulumi:"svnUrl"` // Use a template repository to create this resource. See Template Repositories below for details. Template RepositoryTemplatePtrOutput `pulumi:"template"` // The list of topics of the repository. Topics pulumi.StringArrayOutput `pulumi:"topics"` // Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be `internal`. The `visibility` parameter overrides the `private` parameter. Visibility pulumi.StringOutput `pulumi:"visibility"` // Set to `true` to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on public repos but disables them on private repos by default.) See [GitHub Documentation](https://help.github.com/en/github/managing-security-vulnerabilities/about-security-alerts-for-vulnerable-dependencies) for details. Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings. VulnerabilityAlerts pulumi.BoolPtrOutput `pulumi:"vulnerabilityAlerts"` }
This resource allows you to create and manage repositories within your GitHub organization or personal account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewRepository(ctx, "example", &github.RepositoryArgs{ Description: pulumi.String("My awesome codebase"), Template: &RepositoryTemplateArgs{ Owner: pulumi.String("github"), Repository: pulumi.String("terraform-module-template"), }, Visibility: pulumi.String("public"), }) if err != nil { return err } return nil }) }
``` ### With GitHub Pages Enabled
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewRepository(ctx, "example", &github.RepositoryArgs{ Description: pulumi.String("My awesome web page"), Pages: &RepositoryPagesArgs{ Source: &RepositoryPagesSourceArgs{ Branch: pulumi.String("master"), Path: pulumi.String("/docs"), }, }, Private: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
Repositories can be imported using the `name`, e.g.
```sh
$ pulumi import github:index/repository:Repository terraform terraform
```
func GetRepository ¶
func GetRepository(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryState, opts ...pulumi.ResourceOption) (*Repository, error)
GetRepository gets an existing Repository resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepository ¶
func NewRepository(ctx *pulumi.Context, name string, args *RepositoryArgs, opts ...pulumi.ResourceOption) (*Repository, error)
NewRepository registers a new resource with the given unique name, arguments, and options.
func (*Repository) ElementType ¶
func (*Repository) ElementType() reflect.Type
func (*Repository) ToRepositoryOutput ¶
func (i *Repository) ToRepositoryOutput() RepositoryOutput
func (*Repository) ToRepositoryOutputWithContext ¶
func (i *Repository) ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput
type RepositoryArgs ¶
type RepositoryArgs struct { // Set to `true` to allow auto-merging pull requests on the repository. AllowAutoMerge pulumi.BoolPtrInput // Set to `false` to disable merge commits on the repository. AllowMergeCommit pulumi.BoolPtrInput // Set to `false` to disable rebase merges on the repository. AllowRebaseMerge pulumi.BoolPtrInput // Set to `false` to disable squash merges on the repository. AllowSquashMerge pulumi.BoolPtrInput // Set to `true` to archive the repository instead of deleting on destroy. ArchiveOnDestroy pulumi.BoolPtrInput // Specifies if the repository should be archived. Defaults to `false`. **NOTE** Currently, the API does not support unarchiving. Archived pulumi.BoolPtrInput // Set to `true` to produce an initial commit in the repository. AutoInit pulumi.BoolPtrInput // (Deprecated: Use `BranchDefault` resource instead) The name of the default branch of the repository. **NOTE:** This can only be set after a repository has already been created, // and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the // initial repository creation and create the target branch inside of the repository prior to setting this attribute. // // Deprecated: Use the github_branch_default resource instead DefaultBranch pulumi.StringPtrInput // Automatically delete head branch after a pull request is merged. Defaults to `false`. DeleteBranchOnMerge pulumi.BoolPtrInput // A description of the repository. Description pulumi.StringPtrInput // Use the [name of the template](https://github.com/github/gitignore) without the extension. For example, "Haskell". GitignoreTemplate pulumi.StringPtrInput // Set to `true` to enable the (deprecated) downloads features on the repository. HasDownloads pulumi.BoolPtrInput // Set to `true` to enable the GitHub Issues features // on the repository. HasIssues pulumi.BoolPtrInput // Set to `true` to enable the GitHub Projects features on the repository. Per the GitHub [documentation](https://developer.github.com/v3/repos/#create) when in an organization that has disabled repository projects it will default to `false` and will otherwise default to `true`. If you specify `true` when it has been disabled it will return an error. HasProjects pulumi.BoolPtrInput // Set to `true` to enable the GitHub Wiki features on // the repository. HasWiki pulumi.BoolPtrInput // URL of a page describing the project. HomepageUrl pulumi.StringPtrInput // Set to `true` to not call the vulnerability alerts endpoint so the resource can also be used without admin permissions during read. IgnoreVulnerabilityAlertsDuringRead pulumi.BoolPtrInput // Set to `true` to tell GitHub that this is a template repository. IsTemplate pulumi.BoolPtrInput // Use the [name of the template](https://github.com/github/choosealicense.com/tree/gh-pages/_licenses) without the extension. For example, "mit" or "mpl-2.0". LicenseTemplate pulumi.StringPtrInput // Can be `PR_BODY`, `PR_TITLE`, or `BLANK` for a default merge commit message. MergeCommitMessage pulumi.StringPtrInput // Can be `PR_TITLE` or `MERGE_MESSAGE` for a default merge commit title. MergeCommitTitle pulumi.StringPtrInput // The name of the repository. Name pulumi.StringPtrInput // The repository's GitHub Pages configuration. See GitHub Pages Configuration below for details. Pages RepositoryPagesPtrInput // Set to `true` to create a private repository. // Repositories are created as public (e.g. open source) by default. // // Deprecated: use visibility instead Private pulumi.BoolPtrInput // Can be `PR_BODY`, `COMMIT_MESSAGES`, or `BLANK` for a default squash merge commit message. SquashMergeCommitMessage pulumi.StringPtrInput // Can be `PR_TITLE` or `COMMIT_OR_PR_TITLE` for a default squash merge commit title. SquashMergeCommitTitle pulumi.StringPtrInput // Use a template repository to create this resource. See Template Repositories below for details. Template RepositoryTemplatePtrInput // The list of topics of the repository. Topics pulumi.StringArrayInput // Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be `internal`. The `visibility` parameter overrides the `private` parameter. Visibility pulumi.StringPtrInput // Set to `true` to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on public repos but disables them on private repos by default.) See [GitHub Documentation](https://help.github.com/en/github/managing-security-vulnerabilities/about-security-alerts-for-vulnerable-dependencies) for details. Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings. VulnerabilityAlerts pulumi.BoolPtrInput }
The set of arguments for constructing a Repository resource.
func (RepositoryArgs) ElementType ¶
func (RepositoryArgs) ElementType() reflect.Type
type RepositoryArray ¶
type RepositoryArray []RepositoryInput
func (RepositoryArray) ElementType ¶
func (RepositoryArray) ElementType() reflect.Type
func (RepositoryArray) ToRepositoryArrayOutput ¶
func (i RepositoryArray) ToRepositoryArrayOutput() RepositoryArrayOutput
func (RepositoryArray) ToRepositoryArrayOutputWithContext ¶
func (i RepositoryArray) ToRepositoryArrayOutputWithContext(ctx context.Context) RepositoryArrayOutput
type RepositoryArrayInput ¶
type RepositoryArrayInput interface { pulumi.Input ToRepositoryArrayOutput() RepositoryArrayOutput ToRepositoryArrayOutputWithContext(context.Context) RepositoryArrayOutput }
RepositoryArrayInput is an input type that accepts RepositoryArray and RepositoryArrayOutput values. You can construct a concrete instance of `RepositoryArrayInput` via:
RepositoryArray{ RepositoryArgs{...} }
type RepositoryArrayOutput ¶
type RepositoryArrayOutput struct{ *pulumi.OutputState }
func (RepositoryArrayOutput) ElementType ¶
func (RepositoryArrayOutput) ElementType() reflect.Type
func (RepositoryArrayOutput) Index ¶
func (o RepositoryArrayOutput) Index(i pulumi.IntInput) RepositoryOutput
func (RepositoryArrayOutput) ToRepositoryArrayOutput ¶
func (o RepositoryArrayOutput) ToRepositoryArrayOutput() RepositoryArrayOutput
func (RepositoryArrayOutput) ToRepositoryArrayOutputWithContext ¶
func (o RepositoryArrayOutput) ToRepositoryArrayOutputWithContext(ctx context.Context) RepositoryArrayOutput
type RepositoryAutolinkReference ¶ added in v4.7.0
type RepositoryAutolinkReference struct { pulumi.CustomResourceState // An etag representing the autolink reference object. Etag pulumi.StringOutput `pulumi:"etag"` // This prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit. KeyPrefix pulumi.StringOutput `pulumi:"keyPrefix"` // The repository of the autolink reference. Repository pulumi.StringOutput `pulumi:"repository"` // The template of the target URL used for the links; must be a valid URL and contain `<num>` for the reference number TargetUrlTemplate pulumi.StringOutput `pulumi:"targetUrlTemplate"` }
This resource allows you to create and manage an autolink reference for a single repository.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { repo, err := github.NewRepository(ctx, "repo", &github.RepositoryArgs{ Description: pulumi.String("GitHub repo managed by Terraform"), Private: pulumi.Bool(false), }) if err != nil { return err } _, err = github.NewRepositoryAutolinkReference(ctx, "auto", &github.RepositoryAutolinkReferenceArgs{ Repository: repo.Name, KeyPrefix: pulumi.String("TICKET-"), TargetUrlTemplate: pulumi.String("https://hello.there/TICKET?query=<num>"), }) if err != nil { return err } return nil }) }
```
## Import
Autolink references can be imported using the `name` of the repository, combined with the `id` of the autolink reference and a `/` character for separating components, e.g.
```sh
$ pulumi import github:index/repositoryAutolinkReference:RepositoryAutolinkReference auto oof/123
```
func GetRepositoryAutolinkReference ¶ added in v4.7.0
func GetRepositoryAutolinkReference(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryAutolinkReferenceState, opts ...pulumi.ResourceOption) (*RepositoryAutolinkReference, error)
GetRepositoryAutolinkReference gets an existing RepositoryAutolinkReference resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryAutolinkReference ¶ added in v4.7.0
func NewRepositoryAutolinkReference(ctx *pulumi.Context, name string, args *RepositoryAutolinkReferenceArgs, opts ...pulumi.ResourceOption) (*RepositoryAutolinkReference, error)
NewRepositoryAutolinkReference registers a new resource with the given unique name, arguments, and options.
func (*RepositoryAutolinkReference) ElementType ¶ added in v4.7.0
func (*RepositoryAutolinkReference) ElementType() reflect.Type
func (*RepositoryAutolinkReference) ToRepositoryAutolinkReferenceOutput ¶ added in v4.7.0
func (i *RepositoryAutolinkReference) ToRepositoryAutolinkReferenceOutput() RepositoryAutolinkReferenceOutput
func (*RepositoryAutolinkReference) ToRepositoryAutolinkReferenceOutputWithContext ¶ added in v4.7.0
func (i *RepositoryAutolinkReference) ToRepositoryAutolinkReferenceOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceOutput
type RepositoryAutolinkReferenceArgs ¶ added in v4.7.0
type RepositoryAutolinkReferenceArgs struct { // This prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit. KeyPrefix pulumi.StringInput // The repository of the autolink reference. Repository pulumi.StringInput // The template of the target URL used for the links; must be a valid URL and contain `<num>` for the reference number TargetUrlTemplate pulumi.StringInput }
The set of arguments for constructing a RepositoryAutolinkReference resource.
func (RepositoryAutolinkReferenceArgs) ElementType ¶ added in v4.7.0
func (RepositoryAutolinkReferenceArgs) ElementType() reflect.Type
type RepositoryAutolinkReferenceArray ¶ added in v4.7.0
type RepositoryAutolinkReferenceArray []RepositoryAutolinkReferenceInput
func (RepositoryAutolinkReferenceArray) ElementType ¶ added in v4.7.0
func (RepositoryAutolinkReferenceArray) ElementType() reflect.Type
func (RepositoryAutolinkReferenceArray) ToRepositoryAutolinkReferenceArrayOutput ¶ added in v4.7.0
func (i RepositoryAutolinkReferenceArray) ToRepositoryAutolinkReferenceArrayOutput() RepositoryAutolinkReferenceArrayOutput
func (RepositoryAutolinkReferenceArray) ToRepositoryAutolinkReferenceArrayOutputWithContext ¶ added in v4.7.0
func (i RepositoryAutolinkReferenceArray) ToRepositoryAutolinkReferenceArrayOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceArrayOutput
type RepositoryAutolinkReferenceArrayInput ¶ added in v4.7.0
type RepositoryAutolinkReferenceArrayInput interface { pulumi.Input ToRepositoryAutolinkReferenceArrayOutput() RepositoryAutolinkReferenceArrayOutput ToRepositoryAutolinkReferenceArrayOutputWithContext(context.Context) RepositoryAutolinkReferenceArrayOutput }
RepositoryAutolinkReferenceArrayInput is an input type that accepts RepositoryAutolinkReferenceArray and RepositoryAutolinkReferenceArrayOutput values. You can construct a concrete instance of `RepositoryAutolinkReferenceArrayInput` via:
RepositoryAutolinkReferenceArray{ RepositoryAutolinkReferenceArgs{...} }
type RepositoryAutolinkReferenceArrayOutput ¶ added in v4.7.0
type RepositoryAutolinkReferenceArrayOutput struct{ *pulumi.OutputState }
func (RepositoryAutolinkReferenceArrayOutput) ElementType ¶ added in v4.7.0
func (RepositoryAutolinkReferenceArrayOutput) ElementType() reflect.Type
func (RepositoryAutolinkReferenceArrayOutput) ToRepositoryAutolinkReferenceArrayOutput ¶ added in v4.7.0
func (o RepositoryAutolinkReferenceArrayOutput) ToRepositoryAutolinkReferenceArrayOutput() RepositoryAutolinkReferenceArrayOutput
func (RepositoryAutolinkReferenceArrayOutput) ToRepositoryAutolinkReferenceArrayOutputWithContext ¶ added in v4.7.0
func (o RepositoryAutolinkReferenceArrayOutput) ToRepositoryAutolinkReferenceArrayOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceArrayOutput
type RepositoryAutolinkReferenceInput ¶ added in v4.7.0
type RepositoryAutolinkReferenceInput interface { pulumi.Input ToRepositoryAutolinkReferenceOutput() RepositoryAutolinkReferenceOutput ToRepositoryAutolinkReferenceOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceOutput }
type RepositoryAutolinkReferenceMap ¶ added in v4.7.0
type RepositoryAutolinkReferenceMap map[string]RepositoryAutolinkReferenceInput
func (RepositoryAutolinkReferenceMap) ElementType ¶ added in v4.7.0
func (RepositoryAutolinkReferenceMap) ElementType() reflect.Type
func (RepositoryAutolinkReferenceMap) ToRepositoryAutolinkReferenceMapOutput ¶ added in v4.7.0
func (i RepositoryAutolinkReferenceMap) ToRepositoryAutolinkReferenceMapOutput() RepositoryAutolinkReferenceMapOutput
func (RepositoryAutolinkReferenceMap) ToRepositoryAutolinkReferenceMapOutputWithContext ¶ added in v4.7.0
func (i RepositoryAutolinkReferenceMap) ToRepositoryAutolinkReferenceMapOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceMapOutput
type RepositoryAutolinkReferenceMapInput ¶ added in v4.7.0
type RepositoryAutolinkReferenceMapInput interface { pulumi.Input ToRepositoryAutolinkReferenceMapOutput() RepositoryAutolinkReferenceMapOutput ToRepositoryAutolinkReferenceMapOutputWithContext(context.Context) RepositoryAutolinkReferenceMapOutput }
RepositoryAutolinkReferenceMapInput is an input type that accepts RepositoryAutolinkReferenceMap and RepositoryAutolinkReferenceMapOutput values. You can construct a concrete instance of `RepositoryAutolinkReferenceMapInput` via:
RepositoryAutolinkReferenceMap{ "key": RepositoryAutolinkReferenceArgs{...} }
type RepositoryAutolinkReferenceMapOutput ¶ added in v4.7.0
type RepositoryAutolinkReferenceMapOutput struct{ *pulumi.OutputState }
func (RepositoryAutolinkReferenceMapOutput) ElementType ¶ added in v4.7.0
func (RepositoryAutolinkReferenceMapOutput) ElementType() reflect.Type
func (RepositoryAutolinkReferenceMapOutput) MapIndex ¶ added in v4.7.0
func (o RepositoryAutolinkReferenceMapOutput) MapIndex(k pulumi.StringInput) RepositoryAutolinkReferenceOutput
func (RepositoryAutolinkReferenceMapOutput) ToRepositoryAutolinkReferenceMapOutput ¶ added in v4.7.0
func (o RepositoryAutolinkReferenceMapOutput) ToRepositoryAutolinkReferenceMapOutput() RepositoryAutolinkReferenceMapOutput
func (RepositoryAutolinkReferenceMapOutput) ToRepositoryAutolinkReferenceMapOutputWithContext ¶ added in v4.7.0
func (o RepositoryAutolinkReferenceMapOutput) ToRepositoryAutolinkReferenceMapOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceMapOutput
type RepositoryAutolinkReferenceOutput ¶ added in v4.7.0
type RepositoryAutolinkReferenceOutput struct{ *pulumi.OutputState }
func (RepositoryAutolinkReferenceOutput) ElementType ¶ added in v4.7.0
func (RepositoryAutolinkReferenceOutput) ElementType() reflect.Type
func (RepositoryAutolinkReferenceOutput) Etag ¶ added in v4.15.0
func (o RepositoryAutolinkReferenceOutput) Etag() pulumi.StringOutput
An etag representing the autolink reference object.
func (RepositoryAutolinkReferenceOutput) KeyPrefix ¶ added in v4.15.0
func (o RepositoryAutolinkReferenceOutput) KeyPrefix() pulumi.StringOutput
This prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit.
func (RepositoryAutolinkReferenceOutput) Repository ¶ added in v4.15.0
func (o RepositoryAutolinkReferenceOutput) Repository() pulumi.StringOutput
The repository of the autolink reference.
func (RepositoryAutolinkReferenceOutput) TargetUrlTemplate ¶ added in v4.15.0
func (o RepositoryAutolinkReferenceOutput) TargetUrlTemplate() pulumi.StringOutput
The template of the target URL used for the links; must be a valid URL and contain `<num>` for the reference number
func (RepositoryAutolinkReferenceOutput) ToRepositoryAutolinkReferenceOutput ¶ added in v4.7.0
func (o RepositoryAutolinkReferenceOutput) ToRepositoryAutolinkReferenceOutput() RepositoryAutolinkReferenceOutput
func (RepositoryAutolinkReferenceOutput) ToRepositoryAutolinkReferenceOutputWithContext ¶ added in v4.7.0
func (o RepositoryAutolinkReferenceOutput) ToRepositoryAutolinkReferenceOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceOutput
type RepositoryAutolinkReferenceState ¶ added in v4.7.0
type RepositoryAutolinkReferenceState struct { // An etag representing the autolink reference object. Etag pulumi.StringPtrInput // This prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit. KeyPrefix pulumi.StringPtrInput // The repository of the autolink reference. Repository pulumi.StringPtrInput // The template of the target URL used for the links; must be a valid URL and contain `<num>` for the reference number TargetUrlTemplate pulumi.StringPtrInput }
func (RepositoryAutolinkReferenceState) ElementType ¶ added in v4.7.0
func (RepositoryAutolinkReferenceState) ElementType() reflect.Type
type RepositoryBranch ¶ added in v4.9.0
type RepositoryBranchArgs ¶ added in v4.9.0
type RepositoryBranchArgs struct { // The name of the repository. Name pulumi.StringPtrInput `pulumi:"name"` // Whether the branch is protected. Protected pulumi.BoolPtrInput `pulumi:"protected"` }
func (RepositoryBranchArgs) ElementType ¶ added in v4.9.0
func (RepositoryBranchArgs) ElementType() reflect.Type
func (RepositoryBranchArgs) ToRepositoryBranchOutput ¶ added in v4.9.0
func (i RepositoryBranchArgs) ToRepositoryBranchOutput() RepositoryBranchOutput
func (RepositoryBranchArgs) ToRepositoryBranchOutputWithContext ¶ added in v4.9.0
func (i RepositoryBranchArgs) ToRepositoryBranchOutputWithContext(ctx context.Context) RepositoryBranchOutput
type RepositoryBranchArray ¶ added in v4.9.0
type RepositoryBranchArray []RepositoryBranchInput
func (RepositoryBranchArray) ElementType ¶ added in v4.9.0
func (RepositoryBranchArray) ElementType() reflect.Type
func (RepositoryBranchArray) ToRepositoryBranchArrayOutput ¶ added in v4.9.0
func (i RepositoryBranchArray) ToRepositoryBranchArrayOutput() RepositoryBranchArrayOutput
func (RepositoryBranchArray) ToRepositoryBranchArrayOutputWithContext ¶ added in v4.9.0
func (i RepositoryBranchArray) ToRepositoryBranchArrayOutputWithContext(ctx context.Context) RepositoryBranchArrayOutput
type RepositoryBranchArrayInput ¶ added in v4.9.0
type RepositoryBranchArrayInput interface { pulumi.Input ToRepositoryBranchArrayOutput() RepositoryBranchArrayOutput ToRepositoryBranchArrayOutputWithContext(context.Context) RepositoryBranchArrayOutput }
RepositoryBranchArrayInput is an input type that accepts RepositoryBranchArray and RepositoryBranchArrayOutput values. You can construct a concrete instance of `RepositoryBranchArrayInput` via:
RepositoryBranchArray{ RepositoryBranchArgs{...} }
type RepositoryBranchArrayOutput ¶ added in v4.9.0
type RepositoryBranchArrayOutput struct{ *pulumi.OutputState }
func (RepositoryBranchArrayOutput) ElementType ¶ added in v4.9.0
func (RepositoryBranchArrayOutput) ElementType() reflect.Type
func (RepositoryBranchArrayOutput) Index ¶ added in v4.9.0
func (o RepositoryBranchArrayOutput) Index(i pulumi.IntInput) RepositoryBranchOutput
func (RepositoryBranchArrayOutput) ToRepositoryBranchArrayOutput ¶ added in v4.9.0
func (o RepositoryBranchArrayOutput) ToRepositoryBranchArrayOutput() RepositoryBranchArrayOutput
func (RepositoryBranchArrayOutput) ToRepositoryBranchArrayOutputWithContext ¶ added in v4.9.0
func (o RepositoryBranchArrayOutput) ToRepositoryBranchArrayOutputWithContext(ctx context.Context) RepositoryBranchArrayOutput
type RepositoryBranchInput ¶ added in v4.9.0
type RepositoryBranchInput interface { pulumi.Input ToRepositoryBranchOutput() RepositoryBranchOutput ToRepositoryBranchOutputWithContext(context.Context) RepositoryBranchOutput }
RepositoryBranchInput is an input type that accepts RepositoryBranchArgs and RepositoryBranchOutput values. You can construct a concrete instance of `RepositoryBranchInput` via:
RepositoryBranchArgs{...}
type RepositoryBranchOutput ¶ added in v4.9.0
type RepositoryBranchOutput struct{ *pulumi.OutputState }
func (RepositoryBranchOutput) ElementType ¶ added in v4.9.0
func (RepositoryBranchOutput) ElementType() reflect.Type
func (RepositoryBranchOutput) Name ¶ added in v4.9.0
func (o RepositoryBranchOutput) Name() pulumi.StringPtrOutput
The name of the repository.
func (RepositoryBranchOutput) Protected ¶ added in v4.9.0
func (o RepositoryBranchOutput) Protected() pulumi.BoolPtrOutput
Whether the branch is protected.
func (RepositoryBranchOutput) ToRepositoryBranchOutput ¶ added in v4.9.0
func (o RepositoryBranchOutput) ToRepositoryBranchOutput() RepositoryBranchOutput
func (RepositoryBranchOutput) ToRepositoryBranchOutputWithContext ¶ added in v4.9.0
func (o RepositoryBranchOutput) ToRepositoryBranchOutputWithContext(ctx context.Context) RepositoryBranchOutput
type RepositoryCollaborator ¶
type RepositoryCollaborator struct { pulumi.CustomResourceState // ID of the invitation to be used in `UserInvitationAccepter` InvitationId pulumi.StringOutput `pulumi:"invitationId"` // The permission of the outside collaborator for the repository. // Must be one of `pull`, `push`, `maintain`, `triage` or `admin` for organization-owned repositories. // Must be `push` for personal repositories. Defaults to `push`. Permission pulumi.StringPtrOutput `pulumi:"permission"` // Suppress plan diffs for `triage` and `maintain`. Defaults to `false`. PermissionDiffSuppression pulumi.BoolPtrOutput `pulumi:"permissionDiffSuppression"` // The GitHub repository Repository pulumi.StringOutput `pulumi:"repository"` // The user to add to the repository as a collaborator. Username pulumi.StringOutput `pulumi:"username"` }
Provides a GitHub repository collaborator resource.
This resource allows you to add/remove collaborators from repositories in your organization or personal account. For organization repositories, collaborators can have explicit (and differing levels of) read, write, or administrator access to specific repositories, without giving the user full organization membership. For personal repositories, collaborators can only be granted write (implictly includes read) permission.
When applied, an invitation will be sent to the user to become a collaborator on a repository. When destroyed, either the invitation will be cancelled or the collaborator will be removed from the repository.
Further documentation on GitHub collaborators:
- [Adding outside collaborators to your personal repositories](https://help.github.com/en/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories) - [Adding outside collaborators to repositories in your organization](https://help.github.com/articles/adding-outside-collaborators-to-repositories-in-your-organization/) - [Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewRepositoryCollaborator(ctx, "aRepoCollaborator", &github.RepositoryCollaboratorArgs{ Permission: pulumi.String("admin"), Repository: pulumi.String("our-cool-repo"), Username: pulumi.String("SomeUser"), }) if err != nil { return err } return nil }) }
```
## Import
GitHub Repository Collaborators can be imported using an ID made up of `repository:username`, e.g.
```sh
$ pulumi import github:index/repositoryCollaborator:RepositoryCollaborator collaborator terraform:someuser
```
func GetRepositoryCollaborator ¶
func GetRepositoryCollaborator(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryCollaboratorState, opts ...pulumi.ResourceOption) (*RepositoryCollaborator, error)
GetRepositoryCollaborator gets an existing RepositoryCollaborator resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryCollaborator ¶
func NewRepositoryCollaborator(ctx *pulumi.Context, name string, args *RepositoryCollaboratorArgs, opts ...pulumi.ResourceOption) (*RepositoryCollaborator, error)
NewRepositoryCollaborator registers a new resource with the given unique name, arguments, and options.
func (*RepositoryCollaborator) ElementType ¶
func (*RepositoryCollaborator) ElementType() reflect.Type
func (*RepositoryCollaborator) ToRepositoryCollaboratorOutput ¶
func (i *RepositoryCollaborator) ToRepositoryCollaboratorOutput() RepositoryCollaboratorOutput
func (*RepositoryCollaborator) ToRepositoryCollaboratorOutputWithContext ¶
func (i *RepositoryCollaborator) ToRepositoryCollaboratorOutputWithContext(ctx context.Context) RepositoryCollaboratorOutput
type RepositoryCollaboratorArgs ¶
type RepositoryCollaboratorArgs struct { // The permission of the outside collaborator for the repository. // Must be one of `pull`, `push`, `maintain`, `triage` or `admin` for organization-owned repositories. // Must be `push` for personal repositories. Defaults to `push`. Permission pulumi.StringPtrInput // Suppress plan diffs for `triage` and `maintain`. Defaults to `false`. PermissionDiffSuppression pulumi.BoolPtrInput // The GitHub repository Repository pulumi.StringInput // The user to add to the repository as a collaborator. Username pulumi.StringInput }
The set of arguments for constructing a RepositoryCollaborator resource.
func (RepositoryCollaboratorArgs) ElementType ¶
func (RepositoryCollaboratorArgs) ElementType() reflect.Type
type RepositoryCollaboratorArray ¶
type RepositoryCollaboratorArray []RepositoryCollaboratorInput
func (RepositoryCollaboratorArray) ElementType ¶
func (RepositoryCollaboratorArray) ElementType() reflect.Type
func (RepositoryCollaboratorArray) ToRepositoryCollaboratorArrayOutput ¶
func (i RepositoryCollaboratorArray) ToRepositoryCollaboratorArrayOutput() RepositoryCollaboratorArrayOutput
func (RepositoryCollaboratorArray) ToRepositoryCollaboratorArrayOutputWithContext ¶
func (i RepositoryCollaboratorArray) ToRepositoryCollaboratorArrayOutputWithContext(ctx context.Context) RepositoryCollaboratorArrayOutput
type RepositoryCollaboratorArrayInput ¶
type RepositoryCollaboratorArrayInput interface { pulumi.Input ToRepositoryCollaboratorArrayOutput() RepositoryCollaboratorArrayOutput ToRepositoryCollaboratorArrayOutputWithContext(context.Context) RepositoryCollaboratorArrayOutput }
RepositoryCollaboratorArrayInput is an input type that accepts RepositoryCollaboratorArray and RepositoryCollaboratorArrayOutput values. You can construct a concrete instance of `RepositoryCollaboratorArrayInput` via:
RepositoryCollaboratorArray{ RepositoryCollaboratorArgs{...} }
type RepositoryCollaboratorArrayOutput ¶
type RepositoryCollaboratorArrayOutput struct{ *pulumi.OutputState }
func (RepositoryCollaboratorArrayOutput) ElementType ¶
func (RepositoryCollaboratorArrayOutput) ElementType() reflect.Type
func (RepositoryCollaboratorArrayOutput) Index ¶
func (o RepositoryCollaboratorArrayOutput) Index(i pulumi.IntInput) RepositoryCollaboratorOutput
func (RepositoryCollaboratorArrayOutput) ToRepositoryCollaboratorArrayOutput ¶
func (o RepositoryCollaboratorArrayOutput) ToRepositoryCollaboratorArrayOutput() RepositoryCollaboratorArrayOutput
func (RepositoryCollaboratorArrayOutput) ToRepositoryCollaboratorArrayOutputWithContext ¶
func (o RepositoryCollaboratorArrayOutput) ToRepositoryCollaboratorArrayOutputWithContext(ctx context.Context) RepositoryCollaboratorArrayOutput
type RepositoryCollaboratorInput ¶
type RepositoryCollaboratorInput interface { pulumi.Input ToRepositoryCollaboratorOutput() RepositoryCollaboratorOutput ToRepositoryCollaboratorOutputWithContext(ctx context.Context) RepositoryCollaboratorOutput }
type RepositoryCollaboratorMap ¶
type RepositoryCollaboratorMap map[string]RepositoryCollaboratorInput
func (RepositoryCollaboratorMap) ElementType ¶
func (RepositoryCollaboratorMap) ElementType() reflect.Type
func (RepositoryCollaboratorMap) ToRepositoryCollaboratorMapOutput ¶
func (i RepositoryCollaboratorMap) ToRepositoryCollaboratorMapOutput() RepositoryCollaboratorMapOutput
func (RepositoryCollaboratorMap) ToRepositoryCollaboratorMapOutputWithContext ¶
func (i RepositoryCollaboratorMap) ToRepositoryCollaboratorMapOutputWithContext(ctx context.Context) RepositoryCollaboratorMapOutput
type RepositoryCollaboratorMapInput ¶
type RepositoryCollaboratorMapInput interface { pulumi.Input ToRepositoryCollaboratorMapOutput() RepositoryCollaboratorMapOutput ToRepositoryCollaboratorMapOutputWithContext(context.Context) RepositoryCollaboratorMapOutput }
RepositoryCollaboratorMapInput is an input type that accepts RepositoryCollaboratorMap and RepositoryCollaboratorMapOutput values. You can construct a concrete instance of `RepositoryCollaboratorMapInput` via:
RepositoryCollaboratorMap{ "key": RepositoryCollaboratorArgs{...} }
type RepositoryCollaboratorMapOutput ¶
type RepositoryCollaboratorMapOutput struct{ *pulumi.OutputState }
func (RepositoryCollaboratorMapOutput) ElementType ¶
func (RepositoryCollaboratorMapOutput) ElementType() reflect.Type
func (RepositoryCollaboratorMapOutput) MapIndex ¶
func (o RepositoryCollaboratorMapOutput) MapIndex(k pulumi.StringInput) RepositoryCollaboratorOutput
func (RepositoryCollaboratorMapOutput) ToRepositoryCollaboratorMapOutput ¶
func (o RepositoryCollaboratorMapOutput) ToRepositoryCollaboratorMapOutput() RepositoryCollaboratorMapOutput
func (RepositoryCollaboratorMapOutput) ToRepositoryCollaboratorMapOutputWithContext ¶
func (o RepositoryCollaboratorMapOutput) ToRepositoryCollaboratorMapOutputWithContext(ctx context.Context) RepositoryCollaboratorMapOutput
type RepositoryCollaboratorOutput ¶
type RepositoryCollaboratorOutput struct{ *pulumi.OutputState }
func (RepositoryCollaboratorOutput) ElementType ¶
func (RepositoryCollaboratorOutput) ElementType() reflect.Type
func (RepositoryCollaboratorOutput) InvitationId ¶ added in v4.15.0
func (o RepositoryCollaboratorOutput) InvitationId() pulumi.StringOutput
ID of the invitation to be used in `UserInvitationAccepter`
func (RepositoryCollaboratorOutput) Permission ¶ added in v4.15.0
func (o RepositoryCollaboratorOutput) Permission() pulumi.StringPtrOutput
The permission of the outside collaborator for the repository. Must be one of `pull`, `push`, `maintain`, `triage` or `admin` for organization-owned repositories. Must be `push` for personal repositories. Defaults to `push`.
func (RepositoryCollaboratorOutput) PermissionDiffSuppression ¶ added in v4.15.0
func (o RepositoryCollaboratorOutput) PermissionDiffSuppression() pulumi.BoolPtrOutput
Suppress plan diffs for `triage` and `maintain`. Defaults to `false`.
func (RepositoryCollaboratorOutput) Repository ¶ added in v4.15.0
func (o RepositoryCollaboratorOutput) Repository() pulumi.StringOutput
The GitHub repository
func (RepositoryCollaboratorOutput) ToRepositoryCollaboratorOutput ¶
func (o RepositoryCollaboratorOutput) ToRepositoryCollaboratorOutput() RepositoryCollaboratorOutput
func (RepositoryCollaboratorOutput) ToRepositoryCollaboratorOutputWithContext ¶
func (o RepositoryCollaboratorOutput) ToRepositoryCollaboratorOutputWithContext(ctx context.Context) RepositoryCollaboratorOutput
func (RepositoryCollaboratorOutput) Username ¶ added in v4.15.0
func (o RepositoryCollaboratorOutput) Username() pulumi.StringOutput
The user to add to the repository as a collaborator.
type RepositoryCollaboratorState ¶
type RepositoryCollaboratorState struct { // ID of the invitation to be used in `UserInvitationAccepter` InvitationId pulumi.StringPtrInput // The permission of the outside collaborator for the repository. // Must be one of `pull`, `push`, `maintain`, `triage` or `admin` for organization-owned repositories. // Must be `push` for personal repositories. Defaults to `push`. Permission pulumi.StringPtrInput // Suppress plan diffs for `triage` and `maintain`. Defaults to `false`. PermissionDiffSuppression pulumi.BoolPtrInput // The GitHub repository Repository pulumi.StringPtrInput // The user to add to the repository as a collaborator. Username pulumi.StringPtrInput }
func (RepositoryCollaboratorState) ElementType ¶
func (RepositoryCollaboratorState) ElementType() reflect.Type
type RepositoryDeployKey ¶
type RepositoryDeployKey struct { pulumi.CustomResourceState Etag pulumi.StringOutput `pulumi:"etag"` // A SSH key. Key pulumi.StringOutput `pulumi:"key"` // A boolean qualifying the key to be either read only or read/write. ReadOnly pulumi.BoolPtrOutput `pulumi:"readOnly"` // Name of the GitHub repository. Repository pulumi.StringOutput `pulumi:"repository"` // A title. Title pulumi.StringOutput `pulumi:"title"` }
Provides a GitHub repository deploy key resource.
A deploy key is an SSH key that is stored on your server and grants access to a single GitHub repository. This key is attached directly to the repository instead of to a personal user account.
This resource allows you to add/remove repository deploy keys.
Further documentation on GitHub repository deploy keys: - [About deploy keys](https://developer.github.com/guides/managing-deploy-keys/#deploy-keys)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewRepositoryDeployKey(ctx, "exampleRepositoryDeployKey", &github.RepositoryDeployKeyArgs{ Key: pulumi.String("ssh-rsa AAA..."), ReadOnly: pulumi.Bool(false), Repository: pulumi.String("test-repo"), Title: pulumi.String("Repository test key"), }) if err != nil { return err } return nil }) }
```
## Import
Repository deploy keys can be imported using a colon-separated pair of repository name and GitHub's key id. The latter can be obtained by GitHub's SDKs and API.
```sh
$ pulumi import github:index/repositoryDeployKey:RepositoryDeployKey foo test-repo:23824728
```
func GetRepositoryDeployKey ¶
func GetRepositoryDeployKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryDeployKeyState, opts ...pulumi.ResourceOption) (*RepositoryDeployKey, error)
GetRepositoryDeployKey gets an existing RepositoryDeployKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryDeployKey ¶
func NewRepositoryDeployKey(ctx *pulumi.Context, name string, args *RepositoryDeployKeyArgs, opts ...pulumi.ResourceOption) (*RepositoryDeployKey, error)
NewRepositoryDeployKey registers a new resource with the given unique name, arguments, and options.
func (*RepositoryDeployKey) ElementType ¶
func (*RepositoryDeployKey) ElementType() reflect.Type
func (*RepositoryDeployKey) ToRepositoryDeployKeyOutput ¶
func (i *RepositoryDeployKey) ToRepositoryDeployKeyOutput() RepositoryDeployKeyOutput
func (*RepositoryDeployKey) ToRepositoryDeployKeyOutputWithContext ¶
func (i *RepositoryDeployKey) ToRepositoryDeployKeyOutputWithContext(ctx context.Context) RepositoryDeployKeyOutput
type RepositoryDeployKeyArgs ¶
type RepositoryDeployKeyArgs struct { // A SSH key. Key pulumi.StringInput // A boolean qualifying the key to be either read only or read/write. ReadOnly pulumi.BoolPtrInput // Name of the GitHub repository. Repository pulumi.StringInput // A title. Title pulumi.StringInput }
The set of arguments for constructing a RepositoryDeployKey resource.
func (RepositoryDeployKeyArgs) ElementType ¶
func (RepositoryDeployKeyArgs) ElementType() reflect.Type
type RepositoryDeployKeyArray ¶
type RepositoryDeployKeyArray []RepositoryDeployKeyInput
func (RepositoryDeployKeyArray) ElementType ¶
func (RepositoryDeployKeyArray) ElementType() reflect.Type
func (RepositoryDeployKeyArray) ToRepositoryDeployKeyArrayOutput ¶
func (i RepositoryDeployKeyArray) ToRepositoryDeployKeyArrayOutput() RepositoryDeployKeyArrayOutput
func (RepositoryDeployKeyArray) ToRepositoryDeployKeyArrayOutputWithContext ¶
func (i RepositoryDeployKeyArray) ToRepositoryDeployKeyArrayOutputWithContext(ctx context.Context) RepositoryDeployKeyArrayOutput
type RepositoryDeployKeyArrayInput ¶
type RepositoryDeployKeyArrayInput interface { pulumi.Input ToRepositoryDeployKeyArrayOutput() RepositoryDeployKeyArrayOutput ToRepositoryDeployKeyArrayOutputWithContext(context.Context) RepositoryDeployKeyArrayOutput }
RepositoryDeployKeyArrayInput is an input type that accepts RepositoryDeployKeyArray and RepositoryDeployKeyArrayOutput values. You can construct a concrete instance of `RepositoryDeployKeyArrayInput` via:
RepositoryDeployKeyArray{ RepositoryDeployKeyArgs{...} }
type RepositoryDeployKeyArrayOutput ¶
type RepositoryDeployKeyArrayOutput struct{ *pulumi.OutputState }
func (RepositoryDeployKeyArrayOutput) ElementType ¶
func (RepositoryDeployKeyArrayOutput) ElementType() reflect.Type
func (RepositoryDeployKeyArrayOutput) Index ¶
func (o RepositoryDeployKeyArrayOutput) Index(i pulumi.IntInput) RepositoryDeployKeyOutput
func (RepositoryDeployKeyArrayOutput) ToRepositoryDeployKeyArrayOutput ¶
func (o RepositoryDeployKeyArrayOutput) ToRepositoryDeployKeyArrayOutput() RepositoryDeployKeyArrayOutput
func (RepositoryDeployKeyArrayOutput) ToRepositoryDeployKeyArrayOutputWithContext ¶
func (o RepositoryDeployKeyArrayOutput) ToRepositoryDeployKeyArrayOutputWithContext(ctx context.Context) RepositoryDeployKeyArrayOutput
type RepositoryDeployKeyInput ¶
type RepositoryDeployKeyInput interface { pulumi.Input ToRepositoryDeployKeyOutput() RepositoryDeployKeyOutput ToRepositoryDeployKeyOutputWithContext(ctx context.Context) RepositoryDeployKeyOutput }
type RepositoryDeployKeyMap ¶
type RepositoryDeployKeyMap map[string]RepositoryDeployKeyInput
func (RepositoryDeployKeyMap) ElementType ¶
func (RepositoryDeployKeyMap) ElementType() reflect.Type
func (RepositoryDeployKeyMap) ToRepositoryDeployKeyMapOutput ¶
func (i RepositoryDeployKeyMap) ToRepositoryDeployKeyMapOutput() RepositoryDeployKeyMapOutput
func (RepositoryDeployKeyMap) ToRepositoryDeployKeyMapOutputWithContext ¶
func (i RepositoryDeployKeyMap) ToRepositoryDeployKeyMapOutputWithContext(ctx context.Context) RepositoryDeployKeyMapOutput
type RepositoryDeployKeyMapInput ¶
type RepositoryDeployKeyMapInput interface { pulumi.Input ToRepositoryDeployKeyMapOutput() RepositoryDeployKeyMapOutput ToRepositoryDeployKeyMapOutputWithContext(context.Context) RepositoryDeployKeyMapOutput }
RepositoryDeployKeyMapInput is an input type that accepts RepositoryDeployKeyMap and RepositoryDeployKeyMapOutput values. You can construct a concrete instance of `RepositoryDeployKeyMapInput` via:
RepositoryDeployKeyMap{ "key": RepositoryDeployKeyArgs{...} }
type RepositoryDeployKeyMapOutput ¶
type RepositoryDeployKeyMapOutput struct{ *pulumi.OutputState }
func (RepositoryDeployKeyMapOutput) ElementType ¶
func (RepositoryDeployKeyMapOutput) ElementType() reflect.Type
func (RepositoryDeployKeyMapOutput) MapIndex ¶
func (o RepositoryDeployKeyMapOutput) MapIndex(k pulumi.StringInput) RepositoryDeployKeyOutput
func (RepositoryDeployKeyMapOutput) ToRepositoryDeployKeyMapOutput ¶
func (o RepositoryDeployKeyMapOutput) ToRepositoryDeployKeyMapOutput() RepositoryDeployKeyMapOutput
func (RepositoryDeployKeyMapOutput) ToRepositoryDeployKeyMapOutputWithContext ¶
func (o RepositoryDeployKeyMapOutput) ToRepositoryDeployKeyMapOutputWithContext(ctx context.Context) RepositoryDeployKeyMapOutput
type RepositoryDeployKeyOutput ¶
type RepositoryDeployKeyOutput struct{ *pulumi.OutputState }
func (RepositoryDeployKeyOutput) ElementType ¶
func (RepositoryDeployKeyOutput) ElementType() reflect.Type
func (RepositoryDeployKeyOutput) Etag ¶ added in v4.15.0
func (o RepositoryDeployKeyOutput) Etag() pulumi.StringOutput
func (RepositoryDeployKeyOutput) Key ¶ added in v4.15.0
func (o RepositoryDeployKeyOutput) Key() pulumi.StringOutput
A SSH key.
func (RepositoryDeployKeyOutput) ReadOnly ¶ added in v4.15.0
func (o RepositoryDeployKeyOutput) ReadOnly() pulumi.BoolPtrOutput
A boolean qualifying the key to be either read only or read/write.
func (RepositoryDeployKeyOutput) Repository ¶ added in v4.15.0
func (o RepositoryDeployKeyOutput) Repository() pulumi.StringOutput
Name of the GitHub repository.
func (RepositoryDeployKeyOutput) Title ¶ added in v4.15.0
func (o RepositoryDeployKeyOutput) Title() pulumi.StringOutput
A title.
func (RepositoryDeployKeyOutput) ToRepositoryDeployKeyOutput ¶
func (o RepositoryDeployKeyOutput) ToRepositoryDeployKeyOutput() RepositoryDeployKeyOutput
func (RepositoryDeployKeyOutput) ToRepositoryDeployKeyOutputWithContext ¶
func (o RepositoryDeployKeyOutput) ToRepositoryDeployKeyOutputWithContext(ctx context.Context) RepositoryDeployKeyOutput
type RepositoryDeployKeyState ¶
type RepositoryDeployKeyState struct { Etag pulumi.StringPtrInput // A SSH key. Key pulumi.StringPtrInput // A boolean qualifying the key to be either read only or read/write. ReadOnly pulumi.BoolPtrInput // Name of the GitHub repository. Repository pulumi.StringPtrInput // A title. Title pulumi.StringPtrInput }
func (RepositoryDeployKeyState) ElementType ¶
func (RepositoryDeployKeyState) ElementType() reflect.Type
type RepositoryEnvironment ¶ added in v4.3.0
type RepositoryEnvironment struct { pulumi.CustomResourceState DeploymentBranchPolicy RepositoryEnvironmentDeploymentBranchPolicyPtrOutput `pulumi:"deploymentBranchPolicy"` // The name of the environment. Environment pulumi.StringOutput `pulumi:"environment"` // The repository of the environment. Repository pulumi.StringOutput `pulumi:"repository"` Reviewers RepositoryEnvironmentReviewerArrayOutput `pulumi:"reviewers"` // Amount of time to delay a job after the job is initially triggered. WaitTimer pulumi.IntPtrOutput `pulumi:"waitTimer"` }
This resource allows you to create and manage environments for a GitHub repository.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := github.GetUser(ctx, &GetUserArgs{ Username: "", }, nil) if err != nil { return err } exampleRepository, err := github.NewRepository(ctx, "exampleRepository", &github.RepositoryArgs{ Description: pulumi.String("My awesome codebase"), }) if err != nil { return err } _, err = github.NewRepositoryEnvironment(ctx, "exampleRepositoryEnvironment", &github.RepositoryEnvironmentArgs{ Environment: pulumi.String("example"), Repository: exampleRepository.Name, Reviewers: RepositoryEnvironmentReviewerArray{ &RepositoryEnvironmentReviewerArgs{ Users: pulumi.IntArray{ pulumi.String(current.Id), }, }, }, DeploymentBranchPolicy: &RepositoryEnvironmentDeploymentBranchPolicyArgs{ ProtectedBranches: pulumi.Bool(true), CustomBranchPolicies: pulumi.Bool(false), }, }) if err != nil { return err } return nil }) }
```
## Import
GitHub Repository Environment can be imported using an ID made up of `name` of the repository combined with the `environment` name of the environment, separated by a `:` character, e.g.
```sh
$ pulumi import github:index/repositoryEnvironment:RepositoryEnvironment daily terraform:daily
```
func GetRepositoryEnvironment ¶ added in v4.3.0
func GetRepositoryEnvironment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryEnvironmentState, opts ...pulumi.ResourceOption) (*RepositoryEnvironment, error)
GetRepositoryEnvironment gets an existing RepositoryEnvironment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryEnvironment ¶ added in v4.3.0
func NewRepositoryEnvironment(ctx *pulumi.Context, name string, args *RepositoryEnvironmentArgs, opts ...pulumi.ResourceOption) (*RepositoryEnvironment, error)
NewRepositoryEnvironment registers a new resource with the given unique name, arguments, and options.
func (*RepositoryEnvironment) ElementType ¶ added in v4.3.0
func (*RepositoryEnvironment) ElementType() reflect.Type
func (*RepositoryEnvironment) ToRepositoryEnvironmentOutput ¶ added in v4.3.0
func (i *RepositoryEnvironment) ToRepositoryEnvironmentOutput() RepositoryEnvironmentOutput
func (*RepositoryEnvironment) ToRepositoryEnvironmentOutputWithContext ¶ added in v4.3.0
func (i *RepositoryEnvironment) ToRepositoryEnvironmentOutputWithContext(ctx context.Context) RepositoryEnvironmentOutput
type RepositoryEnvironmentArgs ¶ added in v4.3.0
type RepositoryEnvironmentArgs struct { DeploymentBranchPolicy RepositoryEnvironmentDeploymentBranchPolicyPtrInput // The name of the environment. Environment pulumi.StringInput // The repository of the environment. Repository pulumi.StringInput Reviewers RepositoryEnvironmentReviewerArrayInput // Amount of time to delay a job after the job is initially triggered. WaitTimer pulumi.IntPtrInput }
The set of arguments for constructing a RepositoryEnvironment resource.
func (RepositoryEnvironmentArgs) ElementType ¶ added in v4.3.0
func (RepositoryEnvironmentArgs) ElementType() reflect.Type
type RepositoryEnvironmentArray ¶ added in v4.3.0
type RepositoryEnvironmentArray []RepositoryEnvironmentInput
func (RepositoryEnvironmentArray) ElementType ¶ added in v4.3.0
func (RepositoryEnvironmentArray) ElementType() reflect.Type
func (RepositoryEnvironmentArray) ToRepositoryEnvironmentArrayOutput ¶ added in v4.3.0
func (i RepositoryEnvironmentArray) ToRepositoryEnvironmentArrayOutput() RepositoryEnvironmentArrayOutput
func (RepositoryEnvironmentArray) ToRepositoryEnvironmentArrayOutputWithContext ¶ added in v4.3.0
func (i RepositoryEnvironmentArray) ToRepositoryEnvironmentArrayOutputWithContext(ctx context.Context) RepositoryEnvironmentArrayOutput
type RepositoryEnvironmentArrayInput ¶ added in v4.3.0
type RepositoryEnvironmentArrayInput interface { pulumi.Input ToRepositoryEnvironmentArrayOutput() RepositoryEnvironmentArrayOutput ToRepositoryEnvironmentArrayOutputWithContext(context.Context) RepositoryEnvironmentArrayOutput }
RepositoryEnvironmentArrayInput is an input type that accepts RepositoryEnvironmentArray and RepositoryEnvironmentArrayOutput values. You can construct a concrete instance of `RepositoryEnvironmentArrayInput` via:
RepositoryEnvironmentArray{ RepositoryEnvironmentArgs{...} }
type RepositoryEnvironmentArrayOutput ¶ added in v4.3.0
type RepositoryEnvironmentArrayOutput struct{ *pulumi.OutputState }
func (RepositoryEnvironmentArrayOutput) ElementType ¶ added in v4.3.0
func (RepositoryEnvironmentArrayOutput) ElementType() reflect.Type
func (RepositoryEnvironmentArrayOutput) Index ¶ added in v4.3.0
func (o RepositoryEnvironmentArrayOutput) Index(i pulumi.IntInput) RepositoryEnvironmentOutput
func (RepositoryEnvironmentArrayOutput) ToRepositoryEnvironmentArrayOutput ¶ added in v4.3.0
func (o RepositoryEnvironmentArrayOutput) ToRepositoryEnvironmentArrayOutput() RepositoryEnvironmentArrayOutput
func (RepositoryEnvironmentArrayOutput) ToRepositoryEnvironmentArrayOutputWithContext ¶ added in v4.3.0
func (o RepositoryEnvironmentArrayOutput) ToRepositoryEnvironmentArrayOutputWithContext(ctx context.Context) RepositoryEnvironmentArrayOutput
type RepositoryEnvironmentDeploymentBranchPolicy ¶ added in v4.3.0
type RepositoryEnvironmentDeploymentBranchPolicy struct { // Whether only branches that match the specified name patterns can deploy to this environment. CustomBranchPolicies bool `pulumi:"customBranchPolicies"` // Whether only branches with branch protection rules can deploy to this environment. ProtectedBranches bool `pulumi:"protectedBranches"` }
type RepositoryEnvironmentDeploymentBranchPolicyArgs ¶ added in v4.3.0
type RepositoryEnvironmentDeploymentBranchPolicyArgs struct { // Whether only branches that match the specified name patterns can deploy to this environment. CustomBranchPolicies pulumi.BoolInput `pulumi:"customBranchPolicies"` // Whether only branches with branch protection rules can deploy to this environment. ProtectedBranches pulumi.BoolInput `pulumi:"protectedBranches"` }
func (RepositoryEnvironmentDeploymentBranchPolicyArgs) ElementType ¶ added in v4.3.0
func (RepositoryEnvironmentDeploymentBranchPolicyArgs) ElementType() reflect.Type
func (RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyOutput ¶ added in v4.3.0
func (i RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyOutput() RepositoryEnvironmentDeploymentBranchPolicyOutput
func (RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyOutputWithContext ¶ added in v4.3.0
func (i RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyOutput
func (RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput ¶ added in v4.3.0
func (i RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput() RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
func (RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext ¶ added in v4.3.0
func (i RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
type RepositoryEnvironmentDeploymentBranchPolicyInput ¶ added in v4.3.0
type RepositoryEnvironmentDeploymentBranchPolicyInput interface { pulumi.Input ToRepositoryEnvironmentDeploymentBranchPolicyOutput() RepositoryEnvironmentDeploymentBranchPolicyOutput ToRepositoryEnvironmentDeploymentBranchPolicyOutputWithContext(context.Context) RepositoryEnvironmentDeploymentBranchPolicyOutput }
RepositoryEnvironmentDeploymentBranchPolicyInput is an input type that accepts RepositoryEnvironmentDeploymentBranchPolicyArgs and RepositoryEnvironmentDeploymentBranchPolicyOutput values. You can construct a concrete instance of `RepositoryEnvironmentDeploymentBranchPolicyInput` via:
RepositoryEnvironmentDeploymentBranchPolicyArgs{...}
type RepositoryEnvironmentDeploymentBranchPolicyOutput ¶ added in v4.3.0
type RepositoryEnvironmentDeploymentBranchPolicyOutput struct{ *pulumi.OutputState }
func (RepositoryEnvironmentDeploymentBranchPolicyOutput) CustomBranchPolicies ¶ added in v4.3.0
func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) CustomBranchPolicies() pulumi.BoolOutput
Whether only branches that match the specified name patterns can deploy to this environment.
func (RepositoryEnvironmentDeploymentBranchPolicyOutput) ElementType ¶ added in v4.3.0
func (RepositoryEnvironmentDeploymentBranchPolicyOutput) ElementType() reflect.Type
func (RepositoryEnvironmentDeploymentBranchPolicyOutput) ProtectedBranches ¶ added in v4.3.0
func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) ProtectedBranches() pulumi.BoolOutput
Whether only branches with branch protection rules can deploy to this environment.
func (RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyOutput ¶ added in v4.3.0
func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyOutput() RepositoryEnvironmentDeploymentBranchPolicyOutput
func (RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyOutputWithContext ¶ added in v4.3.0
func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyOutput
func (RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput ¶ added in v4.3.0
func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput() RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
func (RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext ¶ added in v4.3.0
func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
type RepositoryEnvironmentDeploymentBranchPolicyPtrInput ¶ added in v4.3.0
type RepositoryEnvironmentDeploymentBranchPolicyPtrInput interface { pulumi.Input ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput() RepositoryEnvironmentDeploymentBranchPolicyPtrOutput ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext(context.Context) RepositoryEnvironmentDeploymentBranchPolicyPtrOutput }
RepositoryEnvironmentDeploymentBranchPolicyPtrInput is an input type that accepts RepositoryEnvironmentDeploymentBranchPolicyArgs, RepositoryEnvironmentDeploymentBranchPolicyPtr and RepositoryEnvironmentDeploymentBranchPolicyPtrOutput values. You can construct a concrete instance of `RepositoryEnvironmentDeploymentBranchPolicyPtrInput` via:
RepositoryEnvironmentDeploymentBranchPolicyArgs{...} or: nil
func RepositoryEnvironmentDeploymentBranchPolicyPtr ¶ added in v4.3.0
func RepositoryEnvironmentDeploymentBranchPolicyPtr(v *RepositoryEnvironmentDeploymentBranchPolicyArgs) RepositoryEnvironmentDeploymentBranchPolicyPtrInput
type RepositoryEnvironmentDeploymentBranchPolicyPtrOutput ¶ added in v4.3.0
type RepositoryEnvironmentDeploymentBranchPolicyPtrOutput struct{ *pulumi.OutputState }
func (RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) CustomBranchPolicies ¶ added in v4.3.0
func (o RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) CustomBranchPolicies() pulumi.BoolPtrOutput
Whether only branches that match the specified name patterns can deploy to this environment.
func (RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ElementType ¶ added in v4.3.0
func (RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ElementType() reflect.Type
func (RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ProtectedBranches ¶ added in v4.3.0
func (o RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ProtectedBranches() pulumi.BoolPtrOutput
Whether only branches with branch protection rules can deploy to this environment.
func (RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput ¶ added in v4.3.0
func (o RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput() RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
func (RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext ¶ added in v4.3.0
func (o RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
type RepositoryEnvironmentInput ¶ added in v4.3.0
type RepositoryEnvironmentInput interface { pulumi.Input ToRepositoryEnvironmentOutput() RepositoryEnvironmentOutput ToRepositoryEnvironmentOutputWithContext(ctx context.Context) RepositoryEnvironmentOutput }
type RepositoryEnvironmentMap ¶ added in v4.3.0
type RepositoryEnvironmentMap map[string]RepositoryEnvironmentInput
func (RepositoryEnvironmentMap) ElementType ¶ added in v4.3.0
func (RepositoryEnvironmentMap) ElementType() reflect.Type
func (RepositoryEnvironmentMap) ToRepositoryEnvironmentMapOutput ¶ added in v4.3.0
func (i RepositoryEnvironmentMap) ToRepositoryEnvironmentMapOutput() RepositoryEnvironmentMapOutput
func (RepositoryEnvironmentMap) ToRepositoryEnvironmentMapOutputWithContext ¶ added in v4.3.0
func (i RepositoryEnvironmentMap) ToRepositoryEnvironmentMapOutputWithContext(ctx context.Context) RepositoryEnvironmentMapOutput
type RepositoryEnvironmentMapInput ¶ added in v4.3.0
type RepositoryEnvironmentMapInput interface { pulumi.Input ToRepositoryEnvironmentMapOutput() RepositoryEnvironmentMapOutput ToRepositoryEnvironmentMapOutputWithContext(context.Context) RepositoryEnvironmentMapOutput }
RepositoryEnvironmentMapInput is an input type that accepts RepositoryEnvironmentMap and RepositoryEnvironmentMapOutput values. You can construct a concrete instance of `RepositoryEnvironmentMapInput` via:
RepositoryEnvironmentMap{ "key": RepositoryEnvironmentArgs{...} }
type RepositoryEnvironmentMapOutput ¶ added in v4.3.0
type RepositoryEnvironmentMapOutput struct{ *pulumi.OutputState }
func (RepositoryEnvironmentMapOutput) ElementType ¶ added in v4.3.0
func (RepositoryEnvironmentMapOutput) ElementType() reflect.Type
func (RepositoryEnvironmentMapOutput) MapIndex ¶ added in v4.3.0
func (o RepositoryEnvironmentMapOutput) MapIndex(k pulumi.StringInput) RepositoryEnvironmentOutput
func (RepositoryEnvironmentMapOutput) ToRepositoryEnvironmentMapOutput ¶ added in v4.3.0
func (o RepositoryEnvironmentMapOutput) ToRepositoryEnvironmentMapOutput() RepositoryEnvironmentMapOutput
func (RepositoryEnvironmentMapOutput) ToRepositoryEnvironmentMapOutputWithContext ¶ added in v4.3.0
func (o RepositoryEnvironmentMapOutput) ToRepositoryEnvironmentMapOutputWithContext(ctx context.Context) RepositoryEnvironmentMapOutput
type RepositoryEnvironmentOutput ¶ added in v4.3.0
type RepositoryEnvironmentOutput struct{ *pulumi.OutputState }
func (RepositoryEnvironmentOutput) DeploymentBranchPolicy ¶ added in v4.15.0
func (o RepositoryEnvironmentOutput) DeploymentBranchPolicy() RepositoryEnvironmentDeploymentBranchPolicyPtrOutput
func (RepositoryEnvironmentOutput) ElementType ¶ added in v4.3.0
func (RepositoryEnvironmentOutput) ElementType() reflect.Type
func (RepositoryEnvironmentOutput) Environment ¶ added in v4.15.0
func (o RepositoryEnvironmentOutput) Environment() pulumi.StringOutput
The name of the environment.
func (RepositoryEnvironmentOutput) Repository ¶ added in v4.15.0
func (o RepositoryEnvironmentOutput) Repository() pulumi.StringOutput
The repository of the environment.
func (RepositoryEnvironmentOutput) Reviewers ¶ added in v4.15.0
func (o RepositoryEnvironmentOutput) Reviewers() RepositoryEnvironmentReviewerArrayOutput
func (RepositoryEnvironmentOutput) ToRepositoryEnvironmentOutput ¶ added in v4.3.0
func (o RepositoryEnvironmentOutput) ToRepositoryEnvironmentOutput() RepositoryEnvironmentOutput
func (RepositoryEnvironmentOutput) ToRepositoryEnvironmentOutputWithContext ¶ added in v4.3.0
func (o RepositoryEnvironmentOutput) ToRepositoryEnvironmentOutputWithContext(ctx context.Context) RepositoryEnvironmentOutput
func (RepositoryEnvironmentOutput) WaitTimer ¶ added in v4.15.0
func (o RepositoryEnvironmentOutput) WaitTimer() pulumi.IntPtrOutput
Amount of time to delay a job after the job is initially triggered.
type RepositoryEnvironmentReviewer ¶ added in v4.3.0
type RepositoryEnvironmentReviewer struct { // Up to 6 IDs for teams who may review jobs that reference the environment. Reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. Teams []int `pulumi:"teams"` // Up to 6 IDs for users who may review jobs that reference the environment. Reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. Users []int `pulumi:"users"` }
type RepositoryEnvironmentReviewerArgs ¶ added in v4.3.0
type RepositoryEnvironmentReviewerArgs struct { // Up to 6 IDs for teams who may review jobs that reference the environment. Reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. Teams pulumi.IntArrayInput `pulumi:"teams"` // Up to 6 IDs for users who may review jobs that reference the environment. Reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. Users pulumi.IntArrayInput `pulumi:"users"` }
func (RepositoryEnvironmentReviewerArgs) ElementType ¶ added in v4.3.0
func (RepositoryEnvironmentReviewerArgs) ElementType() reflect.Type
func (RepositoryEnvironmentReviewerArgs) ToRepositoryEnvironmentReviewerOutput ¶ added in v4.3.0
func (i RepositoryEnvironmentReviewerArgs) ToRepositoryEnvironmentReviewerOutput() RepositoryEnvironmentReviewerOutput
func (RepositoryEnvironmentReviewerArgs) ToRepositoryEnvironmentReviewerOutputWithContext ¶ added in v4.3.0
func (i RepositoryEnvironmentReviewerArgs) ToRepositoryEnvironmentReviewerOutputWithContext(ctx context.Context) RepositoryEnvironmentReviewerOutput
type RepositoryEnvironmentReviewerArray ¶ added in v4.3.0
type RepositoryEnvironmentReviewerArray []RepositoryEnvironmentReviewerInput
func (RepositoryEnvironmentReviewerArray) ElementType ¶ added in v4.3.0
func (RepositoryEnvironmentReviewerArray) ElementType() reflect.Type
func (RepositoryEnvironmentReviewerArray) ToRepositoryEnvironmentReviewerArrayOutput ¶ added in v4.3.0
func (i RepositoryEnvironmentReviewerArray) ToRepositoryEnvironmentReviewerArrayOutput() RepositoryEnvironmentReviewerArrayOutput
func (RepositoryEnvironmentReviewerArray) ToRepositoryEnvironmentReviewerArrayOutputWithContext ¶ added in v4.3.0
func (i RepositoryEnvironmentReviewerArray) ToRepositoryEnvironmentReviewerArrayOutputWithContext(ctx context.Context) RepositoryEnvironmentReviewerArrayOutput
type RepositoryEnvironmentReviewerArrayInput ¶ added in v4.3.0
type RepositoryEnvironmentReviewerArrayInput interface { pulumi.Input ToRepositoryEnvironmentReviewerArrayOutput() RepositoryEnvironmentReviewerArrayOutput ToRepositoryEnvironmentReviewerArrayOutputWithContext(context.Context) RepositoryEnvironmentReviewerArrayOutput }
RepositoryEnvironmentReviewerArrayInput is an input type that accepts RepositoryEnvironmentReviewerArray and RepositoryEnvironmentReviewerArrayOutput values. You can construct a concrete instance of `RepositoryEnvironmentReviewerArrayInput` via:
RepositoryEnvironmentReviewerArray{ RepositoryEnvironmentReviewerArgs{...} }
type RepositoryEnvironmentReviewerArrayOutput ¶ added in v4.3.0
type RepositoryEnvironmentReviewerArrayOutput struct{ *pulumi.OutputState }
func (RepositoryEnvironmentReviewerArrayOutput) ElementType ¶ added in v4.3.0
func (RepositoryEnvironmentReviewerArrayOutput) ElementType() reflect.Type
func (RepositoryEnvironmentReviewerArrayOutput) ToRepositoryEnvironmentReviewerArrayOutput ¶ added in v4.3.0
func (o RepositoryEnvironmentReviewerArrayOutput) ToRepositoryEnvironmentReviewerArrayOutput() RepositoryEnvironmentReviewerArrayOutput
func (RepositoryEnvironmentReviewerArrayOutput) ToRepositoryEnvironmentReviewerArrayOutputWithContext ¶ added in v4.3.0
func (o RepositoryEnvironmentReviewerArrayOutput) ToRepositoryEnvironmentReviewerArrayOutputWithContext(ctx context.Context) RepositoryEnvironmentReviewerArrayOutput
type RepositoryEnvironmentReviewerInput ¶ added in v4.3.0
type RepositoryEnvironmentReviewerInput interface { pulumi.Input ToRepositoryEnvironmentReviewerOutput() RepositoryEnvironmentReviewerOutput ToRepositoryEnvironmentReviewerOutputWithContext(context.Context) RepositoryEnvironmentReviewerOutput }
RepositoryEnvironmentReviewerInput is an input type that accepts RepositoryEnvironmentReviewerArgs and RepositoryEnvironmentReviewerOutput values. You can construct a concrete instance of `RepositoryEnvironmentReviewerInput` via:
RepositoryEnvironmentReviewerArgs{...}
type RepositoryEnvironmentReviewerOutput ¶ added in v4.3.0
type RepositoryEnvironmentReviewerOutput struct{ *pulumi.OutputState }
func (RepositoryEnvironmentReviewerOutput) ElementType ¶ added in v4.3.0
func (RepositoryEnvironmentReviewerOutput) ElementType() reflect.Type
func (RepositoryEnvironmentReviewerOutput) Teams ¶ added in v4.3.0
func (o RepositoryEnvironmentReviewerOutput) Teams() pulumi.IntArrayOutput
Up to 6 IDs for teams who may review jobs that reference the environment. Reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.
func (RepositoryEnvironmentReviewerOutput) ToRepositoryEnvironmentReviewerOutput ¶ added in v4.3.0
func (o RepositoryEnvironmentReviewerOutput) ToRepositoryEnvironmentReviewerOutput() RepositoryEnvironmentReviewerOutput
func (RepositoryEnvironmentReviewerOutput) ToRepositoryEnvironmentReviewerOutputWithContext ¶ added in v4.3.0
func (o RepositoryEnvironmentReviewerOutput) ToRepositoryEnvironmentReviewerOutputWithContext(ctx context.Context) RepositoryEnvironmentReviewerOutput
func (RepositoryEnvironmentReviewerOutput) Users ¶ added in v4.3.0
func (o RepositoryEnvironmentReviewerOutput) Users() pulumi.IntArrayOutput
Up to 6 IDs for users who may review jobs that reference the environment. Reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.
type RepositoryEnvironmentState ¶ added in v4.3.0
type RepositoryEnvironmentState struct { DeploymentBranchPolicy RepositoryEnvironmentDeploymentBranchPolicyPtrInput // The name of the environment. Environment pulumi.StringPtrInput // The repository of the environment. Repository pulumi.StringPtrInput Reviewers RepositoryEnvironmentReviewerArrayInput // Amount of time to delay a job after the job is initially triggered. WaitTimer pulumi.IntPtrInput }
func (RepositoryEnvironmentState) ElementType ¶ added in v4.3.0
func (RepositoryEnvironmentState) ElementType() reflect.Type
type RepositoryFile ¶
type RepositoryFile struct { pulumi.CustomResourceState // Git branch (defaults to `main`). // The branch must already exist, it will not be created if it does not already exist. Branch pulumi.StringPtrOutput `pulumi:"branch"` // Committer author name to use. CommitAuthor pulumi.StringOutput `pulumi:"commitAuthor"` // Committer email address to use. CommitEmail pulumi.StringOutput `pulumi:"commitEmail"` // Commit message when adding or updating the managed file. CommitMessage pulumi.StringOutput `pulumi:"commitMessage"` // The SHA of the commit that modified the file. CommitSha pulumi.StringOutput `pulumi:"commitSha"` // The file content. Content pulumi.StringOutput `pulumi:"content"` // The path of the file to manage. File pulumi.StringOutput `pulumi:"file"` // Enable overwriting existing files OverwriteOnCreate pulumi.BoolPtrOutput `pulumi:"overwriteOnCreate"` // The repository to create the file in. Repository pulumi.StringOutput `pulumi:"repository"` // The SHA blob of the file. Sha pulumi.StringOutput `pulumi:"sha"` }
This resource allows you to create and manage files within a GitHub repository.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooRepository, err := github.NewRepository(ctx, "fooRepository", &github.RepositoryArgs{ AutoInit: pulumi.Bool(true), }) if err != nil { return err } _, err = github.NewRepositoryFile(ctx, "fooRepositoryFile", &github.RepositoryFileArgs{ Repository: fooRepository.Name, Branch: pulumi.String("main"), File: pulumi.String(".gitignore"), Content: pulumi.String("**/*.tfstate"), CommitMessage: pulumi.String("Managed by Terraform"), CommitAuthor: pulumi.String("Terraform User"), CommitEmail: pulumi.String("terraform@example.com"), OverwriteOnCreate: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
Repository files can be imported using a combination of the `repo` and `file`, e.g.
```sh
$ pulumi import github:index/repositoryFile:RepositoryFile gitignore example/.gitignore
```
To import a file from a branch other than main, append `:` and the branch name, e.g.
```sh
$ pulumi import github:index/repositoryFile:RepositoryFile gitignore example/.gitignore:dev
```
func GetRepositoryFile ¶
func GetRepositoryFile(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryFileState, opts ...pulumi.ResourceOption) (*RepositoryFile, error)
GetRepositoryFile gets an existing RepositoryFile resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryFile ¶
func NewRepositoryFile(ctx *pulumi.Context, name string, args *RepositoryFileArgs, opts ...pulumi.ResourceOption) (*RepositoryFile, error)
NewRepositoryFile registers a new resource with the given unique name, arguments, and options.
func (*RepositoryFile) ElementType ¶
func (*RepositoryFile) ElementType() reflect.Type
func (*RepositoryFile) ToRepositoryFileOutput ¶
func (i *RepositoryFile) ToRepositoryFileOutput() RepositoryFileOutput
func (*RepositoryFile) ToRepositoryFileOutputWithContext ¶
func (i *RepositoryFile) ToRepositoryFileOutputWithContext(ctx context.Context) RepositoryFileOutput
type RepositoryFileArgs ¶
type RepositoryFileArgs struct { // Git branch (defaults to `main`). // The branch must already exist, it will not be created if it does not already exist. Branch pulumi.StringPtrInput // Committer author name to use. CommitAuthor pulumi.StringPtrInput // Committer email address to use. CommitEmail pulumi.StringPtrInput // Commit message when adding or updating the managed file. CommitMessage pulumi.StringPtrInput // The file content. Content pulumi.StringInput // The path of the file to manage. File pulumi.StringInput // Enable overwriting existing files OverwriteOnCreate pulumi.BoolPtrInput // The repository to create the file in. Repository pulumi.StringInput }
The set of arguments for constructing a RepositoryFile resource.
func (RepositoryFileArgs) ElementType ¶
func (RepositoryFileArgs) ElementType() reflect.Type
type RepositoryFileArray ¶
type RepositoryFileArray []RepositoryFileInput
func (RepositoryFileArray) ElementType ¶
func (RepositoryFileArray) ElementType() reflect.Type
func (RepositoryFileArray) ToRepositoryFileArrayOutput ¶
func (i RepositoryFileArray) ToRepositoryFileArrayOutput() RepositoryFileArrayOutput
func (RepositoryFileArray) ToRepositoryFileArrayOutputWithContext ¶
func (i RepositoryFileArray) ToRepositoryFileArrayOutputWithContext(ctx context.Context) RepositoryFileArrayOutput
type RepositoryFileArrayInput ¶
type RepositoryFileArrayInput interface { pulumi.Input ToRepositoryFileArrayOutput() RepositoryFileArrayOutput ToRepositoryFileArrayOutputWithContext(context.Context) RepositoryFileArrayOutput }
RepositoryFileArrayInput is an input type that accepts RepositoryFileArray and RepositoryFileArrayOutput values. You can construct a concrete instance of `RepositoryFileArrayInput` via:
RepositoryFileArray{ RepositoryFileArgs{...} }
type RepositoryFileArrayOutput ¶
type RepositoryFileArrayOutput struct{ *pulumi.OutputState }
func (RepositoryFileArrayOutput) ElementType ¶
func (RepositoryFileArrayOutput) ElementType() reflect.Type
func (RepositoryFileArrayOutput) Index ¶
func (o RepositoryFileArrayOutput) Index(i pulumi.IntInput) RepositoryFileOutput
func (RepositoryFileArrayOutput) ToRepositoryFileArrayOutput ¶
func (o RepositoryFileArrayOutput) ToRepositoryFileArrayOutput() RepositoryFileArrayOutput
func (RepositoryFileArrayOutput) ToRepositoryFileArrayOutputWithContext ¶
func (o RepositoryFileArrayOutput) ToRepositoryFileArrayOutputWithContext(ctx context.Context) RepositoryFileArrayOutput
type RepositoryFileInput ¶
type RepositoryFileInput interface { pulumi.Input ToRepositoryFileOutput() RepositoryFileOutput ToRepositoryFileOutputWithContext(ctx context.Context) RepositoryFileOutput }
type RepositoryFileMap ¶
type RepositoryFileMap map[string]RepositoryFileInput
func (RepositoryFileMap) ElementType ¶
func (RepositoryFileMap) ElementType() reflect.Type
func (RepositoryFileMap) ToRepositoryFileMapOutput ¶
func (i RepositoryFileMap) ToRepositoryFileMapOutput() RepositoryFileMapOutput
func (RepositoryFileMap) ToRepositoryFileMapOutputWithContext ¶
func (i RepositoryFileMap) ToRepositoryFileMapOutputWithContext(ctx context.Context) RepositoryFileMapOutput
type RepositoryFileMapInput ¶
type RepositoryFileMapInput interface { pulumi.Input ToRepositoryFileMapOutput() RepositoryFileMapOutput ToRepositoryFileMapOutputWithContext(context.Context) RepositoryFileMapOutput }
RepositoryFileMapInput is an input type that accepts RepositoryFileMap and RepositoryFileMapOutput values. You can construct a concrete instance of `RepositoryFileMapInput` via:
RepositoryFileMap{ "key": RepositoryFileArgs{...} }
type RepositoryFileMapOutput ¶
type RepositoryFileMapOutput struct{ *pulumi.OutputState }
func (RepositoryFileMapOutput) ElementType ¶
func (RepositoryFileMapOutput) ElementType() reflect.Type
func (RepositoryFileMapOutput) MapIndex ¶
func (o RepositoryFileMapOutput) MapIndex(k pulumi.StringInput) RepositoryFileOutput
func (RepositoryFileMapOutput) ToRepositoryFileMapOutput ¶
func (o RepositoryFileMapOutput) ToRepositoryFileMapOutput() RepositoryFileMapOutput
func (RepositoryFileMapOutput) ToRepositoryFileMapOutputWithContext ¶
func (o RepositoryFileMapOutput) ToRepositoryFileMapOutputWithContext(ctx context.Context) RepositoryFileMapOutput
type RepositoryFileOutput ¶
type RepositoryFileOutput struct{ *pulumi.OutputState }
func (RepositoryFileOutput) Branch ¶ added in v4.15.0
func (o RepositoryFileOutput) Branch() pulumi.StringPtrOutput
Git branch (defaults to `main`). The branch must already exist, it will not be created if it does not already exist.
func (RepositoryFileOutput) CommitAuthor ¶ added in v4.15.0
func (o RepositoryFileOutput) CommitAuthor() pulumi.StringOutput
Committer author name to use.
func (RepositoryFileOutput) CommitEmail ¶ added in v4.15.0
func (o RepositoryFileOutput) CommitEmail() pulumi.StringOutput
Committer email address to use.
func (RepositoryFileOutput) CommitMessage ¶ added in v4.15.0
func (o RepositoryFileOutput) CommitMessage() pulumi.StringOutput
Commit message when adding or updating the managed file.
func (RepositoryFileOutput) CommitSha ¶ added in v4.15.0
func (o RepositoryFileOutput) CommitSha() pulumi.StringOutput
The SHA of the commit that modified the file.
func (RepositoryFileOutput) Content ¶ added in v4.15.0
func (o RepositoryFileOutput) Content() pulumi.StringOutput
The file content.
func (RepositoryFileOutput) ElementType ¶
func (RepositoryFileOutput) ElementType() reflect.Type
func (RepositoryFileOutput) File ¶ added in v4.15.0
func (o RepositoryFileOutput) File() pulumi.StringOutput
The path of the file to manage.
func (RepositoryFileOutput) OverwriteOnCreate ¶ added in v4.15.0
func (o RepositoryFileOutput) OverwriteOnCreate() pulumi.BoolPtrOutput
Enable overwriting existing files
func (RepositoryFileOutput) Repository ¶ added in v4.15.0
func (o RepositoryFileOutput) Repository() pulumi.StringOutput
The repository to create the file in.
func (RepositoryFileOutput) Sha ¶ added in v4.15.0
func (o RepositoryFileOutput) Sha() pulumi.StringOutput
The SHA blob of the file.
func (RepositoryFileOutput) ToRepositoryFileOutput ¶
func (o RepositoryFileOutput) ToRepositoryFileOutput() RepositoryFileOutput
func (RepositoryFileOutput) ToRepositoryFileOutputWithContext ¶
func (o RepositoryFileOutput) ToRepositoryFileOutputWithContext(ctx context.Context) RepositoryFileOutput
type RepositoryFileState ¶
type RepositoryFileState struct { // Git branch (defaults to `main`). // The branch must already exist, it will not be created if it does not already exist. Branch pulumi.StringPtrInput // Committer author name to use. CommitAuthor pulumi.StringPtrInput // Committer email address to use. CommitEmail pulumi.StringPtrInput // Commit message when adding or updating the managed file. CommitMessage pulumi.StringPtrInput // The SHA of the commit that modified the file. CommitSha pulumi.StringPtrInput // The file content. Content pulumi.StringPtrInput // The path of the file to manage. File pulumi.StringPtrInput // Enable overwriting existing files OverwriteOnCreate pulumi.BoolPtrInput // The repository to create the file in. Repository pulumi.StringPtrInput // The SHA blob of the file. Sha pulumi.StringPtrInput }
func (RepositoryFileState) ElementType ¶
func (RepositoryFileState) ElementType() reflect.Type
type RepositoryInput ¶
type RepositoryInput interface { pulumi.Input ToRepositoryOutput() RepositoryOutput ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput }
type RepositoryMap ¶
type RepositoryMap map[string]RepositoryInput
func (RepositoryMap) ElementType ¶
func (RepositoryMap) ElementType() reflect.Type
func (RepositoryMap) ToRepositoryMapOutput ¶
func (i RepositoryMap) ToRepositoryMapOutput() RepositoryMapOutput
func (RepositoryMap) ToRepositoryMapOutputWithContext ¶
func (i RepositoryMap) ToRepositoryMapOutputWithContext(ctx context.Context) RepositoryMapOutput
type RepositoryMapInput ¶
type RepositoryMapInput interface { pulumi.Input ToRepositoryMapOutput() RepositoryMapOutput ToRepositoryMapOutputWithContext(context.Context) RepositoryMapOutput }
RepositoryMapInput is an input type that accepts RepositoryMap and RepositoryMapOutput values. You can construct a concrete instance of `RepositoryMapInput` via:
RepositoryMap{ "key": RepositoryArgs{...} }
type RepositoryMapOutput ¶
type RepositoryMapOutput struct{ *pulumi.OutputState }
func (RepositoryMapOutput) ElementType ¶
func (RepositoryMapOutput) ElementType() reflect.Type
func (RepositoryMapOutput) MapIndex ¶
func (o RepositoryMapOutput) MapIndex(k pulumi.StringInput) RepositoryOutput
func (RepositoryMapOutput) ToRepositoryMapOutput ¶
func (o RepositoryMapOutput) ToRepositoryMapOutput() RepositoryMapOutput
func (RepositoryMapOutput) ToRepositoryMapOutputWithContext ¶
func (o RepositoryMapOutput) ToRepositoryMapOutputWithContext(ctx context.Context) RepositoryMapOutput
type RepositoryMilestone ¶
type RepositoryMilestone struct { pulumi.CustomResourceState // A description of the milestone. Description pulumi.StringPtrOutput `pulumi:"description"` // The milestone due date. In `yyyy-mm-dd` format. DueDate pulumi.StringPtrOutput `pulumi:"dueDate"` // The number of the milestone. Number pulumi.IntOutput `pulumi:"number"` // The owner of the GitHub Repository. Owner pulumi.StringOutput `pulumi:"owner"` // The name of the GitHub Repository. Repository pulumi.StringOutput `pulumi:"repository"` // The state of the milestone. Either `open` or `closed`. Default: `open` State pulumi.StringPtrOutput `pulumi:"state"` // The title of the milestone. Title pulumi.StringOutput `pulumi:"title"` }
Provides a GitHub repository milestone resource.
This resource allows you to create and manage milestones for a GitHub Repository within an organization or user account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewRepositoryMilestone(ctx, "example", &github.RepositoryMilestoneArgs{ Owner: pulumi.String("example-owner"), Repository: pulumi.String("example-repository"), Title: pulumi.String("v1.1.0"), }) if err != nil { return err } return nil }) }
```
## Import
A GitHub Repository Milestone can be imported using an ID made up of `owner/repository/number`, e.g.
```sh
$ pulumi import github:index/repositoryMilestone:RepositoryMilestone example example-owner/example-repository/1
```
func GetRepositoryMilestone ¶
func GetRepositoryMilestone(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryMilestoneState, opts ...pulumi.ResourceOption) (*RepositoryMilestone, error)
GetRepositoryMilestone gets an existing RepositoryMilestone resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryMilestone ¶
func NewRepositoryMilestone(ctx *pulumi.Context, name string, args *RepositoryMilestoneArgs, opts ...pulumi.ResourceOption) (*RepositoryMilestone, error)
NewRepositoryMilestone registers a new resource with the given unique name, arguments, and options.
func (*RepositoryMilestone) ElementType ¶
func (*RepositoryMilestone) ElementType() reflect.Type
func (*RepositoryMilestone) ToRepositoryMilestoneOutput ¶
func (i *RepositoryMilestone) ToRepositoryMilestoneOutput() RepositoryMilestoneOutput
func (*RepositoryMilestone) ToRepositoryMilestoneOutputWithContext ¶
func (i *RepositoryMilestone) ToRepositoryMilestoneOutputWithContext(ctx context.Context) RepositoryMilestoneOutput
type RepositoryMilestoneArgs ¶
type RepositoryMilestoneArgs struct { // A description of the milestone. Description pulumi.StringPtrInput // The milestone due date. In `yyyy-mm-dd` format. DueDate pulumi.StringPtrInput // The owner of the GitHub Repository. Owner pulumi.StringInput // The name of the GitHub Repository. Repository pulumi.StringInput // The state of the milestone. Either `open` or `closed`. Default: `open` State pulumi.StringPtrInput // The title of the milestone. Title pulumi.StringInput }
The set of arguments for constructing a RepositoryMilestone resource.
func (RepositoryMilestoneArgs) ElementType ¶
func (RepositoryMilestoneArgs) ElementType() reflect.Type
type RepositoryMilestoneArray ¶
type RepositoryMilestoneArray []RepositoryMilestoneInput
func (RepositoryMilestoneArray) ElementType ¶
func (RepositoryMilestoneArray) ElementType() reflect.Type
func (RepositoryMilestoneArray) ToRepositoryMilestoneArrayOutput ¶
func (i RepositoryMilestoneArray) ToRepositoryMilestoneArrayOutput() RepositoryMilestoneArrayOutput
func (RepositoryMilestoneArray) ToRepositoryMilestoneArrayOutputWithContext ¶
func (i RepositoryMilestoneArray) ToRepositoryMilestoneArrayOutputWithContext(ctx context.Context) RepositoryMilestoneArrayOutput
type RepositoryMilestoneArrayInput ¶
type RepositoryMilestoneArrayInput interface { pulumi.Input ToRepositoryMilestoneArrayOutput() RepositoryMilestoneArrayOutput ToRepositoryMilestoneArrayOutputWithContext(context.Context) RepositoryMilestoneArrayOutput }
RepositoryMilestoneArrayInput is an input type that accepts RepositoryMilestoneArray and RepositoryMilestoneArrayOutput values. You can construct a concrete instance of `RepositoryMilestoneArrayInput` via:
RepositoryMilestoneArray{ RepositoryMilestoneArgs{...} }
type RepositoryMilestoneArrayOutput ¶
type RepositoryMilestoneArrayOutput struct{ *pulumi.OutputState }
func (RepositoryMilestoneArrayOutput) ElementType ¶
func (RepositoryMilestoneArrayOutput) ElementType() reflect.Type
func (RepositoryMilestoneArrayOutput) Index ¶
func (o RepositoryMilestoneArrayOutput) Index(i pulumi.IntInput) RepositoryMilestoneOutput
func (RepositoryMilestoneArrayOutput) ToRepositoryMilestoneArrayOutput ¶
func (o RepositoryMilestoneArrayOutput) ToRepositoryMilestoneArrayOutput() RepositoryMilestoneArrayOutput
func (RepositoryMilestoneArrayOutput) ToRepositoryMilestoneArrayOutputWithContext ¶
func (o RepositoryMilestoneArrayOutput) ToRepositoryMilestoneArrayOutputWithContext(ctx context.Context) RepositoryMilestoneArrayOutput
type RepositoryMilestoneInput ¶
type RepositoryMilestoneInput interface { pulumi.Input ToRepositoryMilestoneOutput() RepositoryMilestoneOutput ToRepositoryMilestoneOutputWithContext(ctx context.Context) RepositoryMilestoneOutput }
type RepositoryMilestoneMap ¶
type RepositoryMilestoneMap map[string]RepositoryMilestoneInput
func (RepositoryMilestoneMap) ElementType ¶
func (RepositoryMilestoneMap) ElementType() reflect.Type
func (RepositoryMilestoneMap) ToRepositoryMilestoneMapOutput ¶
func (i RepositoryMilestoneMap) ToRepositoryMilestoneMapOutput() RepositoryMilestoneMapOutput
func (RepositoryMilestoneMap) ToRepositoryMilestoneMapOutputWithContext ¶
func (i RepositoryMilestoneMap) ToRepositoryMilestoneMapOutputWithContext(ctx context.Context) RepositoryMilestoneMapOutput
type RepositoryMilestoneMapInput ¶
type RepositoryMilestoneMapInput interface { pulumi.Input ToRepositoryMilestoneMapOutput() RepositoryMilestoneMapOutput ToRepositoryMilestoneMapOutputWithContext(context.Context) RepositoryMilestoneMapOutput }
RepositoryMilestoneMapInput is an input type that accepts RepositoryMilestoneMap and RepositoryMilestoneMapOutput values. You can construct a concrete instance of `RepositoryMilestoneMapInput` via:
RepositoryMilestoneMap{ "key": RepositoryMilestoneArgs{...} }
type RepositoryMilestoneMapOutput ¶
type RepositoryMilestoneMapOutput struct{ *pulumi.OutputState }
func (RepositoryMilestoneMapOutput) ElementType ¶
func (RepositoryMilestoneMapOutput) ElementType() reflect.Type
func (RepositoryMilestoneMapOutput) MapIndex ¶
func (o RepositoryMilestoneMapOutput) MapIndex(k pulumi.StringInput) RepositoryMilestoneOutput
func (RepositoryMilestoneMapOutput) ToRepositoryMilestoneMapOutput ¶
func (o RepositoryMilestoneMapOutput) ToRepositoryMilestoneMapOutput() RepositoryMilestoneMapOutput
func (RepositoryMilestoneMapOutput) ToRepositoryMilestoneMapOutputWithContext ¶
func (o RepositoryMilestoneMapOutput) ToRepositoryMilestoneMapOutputWithContext(ctx context.Context) RepositoryMilestoneMapOutput
type RepositoryMilestoneOutput ¶
type RepositoryMilestoneOutput struct{ *pulumi.OutputState }
func (RepositoryMilestoneOutput) Description ¶ added in v4.15.0
func (o RepositoryMilestoneOutput) Description() pulumi.StringPtrOutput
A description of the milestone.
func (RepositoryMilestoneOutput) DueDate ¶ added in v4.15.0
func (o RepositoryMilestoneOutput) DueDate() pulumi.StringPtrOutput
The milestone due date. In `yyyy-mm-dd` format.
func (RepositoryMilestoneOutput) ElementType ¶
func (RepositoryMilestoneOutput) ElementType() reflect.Type
func (RepositoryMilestoneOutput) Number ¶ added in v4.15.0
func (o RepositoryMilestoneOutput) Number() pulumi.IntOutput
The number of the milestone.
func (RepositoryMilestoneOutput) Owner ¶ added in v4.15.0
func (o RepositoryMilestoneOutput) Owner() pulumi.StringOutput
The owner of the GitHub Repository.
func (RepositoryMilestoneOutput) Repository ¶ added in v4.15.0
func (o RepositoryMilestoneOutput) Repository() pulumi.StringOutput
The name of the GitHub Repository.
func (RepositoryMilestoneOutput) State ¶ added in v4.15.0
func (o RepositoryMilestoneOutput) State() pulumi.StringPtrOutput
The state of the milestone. Either `open` or `closed`. Default: `open`
func (RepositoryMilestoneOutput) Title ¶ added in v4.15.0
func (o RepositoryMilestoneOutput) Title() pulumi.StringOutput
The title of the milestone.
func (RepositoryMilestoneOutput) ToRepositoryMilestoneOutput ¶
func (o RepositoryMilestoneOutput) ToRepositoryMilestoneOutput() RepositoryMilestoneOutput
func (RepositoryMilestoneOutput) ToRepositoryMilestoneOutputWithContext ¶
func (o RepositoryMilestoneOutput) ToRepositoryMilestoneOutputWithContext(ctx context.Context) RepositoryMilestoneOutput
type RepositoryMilestoneState ¶
type RepositoryMilestoneState struct { // A description of the milestone. Description pulumi.StringPtrInput // The milestone due date. In `yyyy-mm-dd` format. DueDate pulumi.StringPtrInput // The number of the milestone. Number pulumi.IntPtrInput // The owner of the GitHub Repository. Owner pulumi.StringPtrInput // The name of the GitHub Repository. Repository pulumi.StringPtrInput // The state of the milestone. Either `open` or `closed`. Default: `open` State pulumi.StringPtrInput // The title of the milestone. Title pulumi.StringPtrInput }
func (RepositoryMilestoneState) ElementType ¶
func (RepositoryMilestoneState) ElementType() reflect.Type
type RepositoryOutput ¶
type RepositoryOutput struct{ *pulumi.OutputState }
func (RepositoryOutput) AllowAutoMerge ¶ added in v4.15.0
func (o RepositoryOutput) AllowAutoMerge() pulumi.BoolPtrOutput
Set to `true` to allow auto-merging pull requests on the repository.
func (RepositoryOutput) AllowMergeCommit ¶ added in v4.15.0
func (o RepositoryOutput) AllowMergeCommit() pulumi.BoolPtrOutput
Set to `false` to disable merge commits on the repository.
func (RepositoryOutput) AllowRebaseMerge ¶ added in v4.15.0
func (o RepositoryOutput) AllowRebaseMerge() pulumi.BoolPtrOutput
Set to `false` to disable rebase merges on the repository.
func (RepositoryOutput) AllowSquashMerge ¶ added in v4.15.0
func (o RepositoryOutput) AllowSquashMerge() pulumi.BoolPtrOutput
Set to `false` to disable squash merges on the repository.
func (RepositoryOutput) ArchiveOnDestroy ¶ added in v4.15.0
func (o RepositoryOutput) ArchiveOnDestroy() pulumi.BoolPtrOutput
Set to `true` to archive the repository instead of deleting on destroy.
func (RepositoryOutput) Archived ¶ added in v4.15.0
func (o RepositoryOutput) Archived() pulumi.BoolPtrOutput
Specifies if the repository should be archived. Defaults to `false`. **NOTE** Currently, the API does not support unarchiving.
func (RepositoryOutput) AutoInit ¶ added in v4.15.0
func (o RepositoryOutput) AutoInit() pulumi.BoolPtrOutput
Set to `true` to produce an initial commit in the repository.
func (RepositoryOutput) Branches ¶ added in v4.15.0
func (o RepositoryOutput) Branches() RepositoryBranchArrayOutput
The list of this repository's branches. Each element of `branches` has the following attributes:
func (RepositoryOutput) DefaultBranch
deprecated
added in
v4.15.0
func (o RepositoryOutput) DefaultBranch() pulumi.StringOutput
(Deprecated: Use `BranchDefault` resource instead) The name of the default branch of the repository. **NOTE:** This can only be set after a repository has already been created, and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the initial repository creation and create the target branch inside of the repository prior to setting this attribute.
Deprecated: Use the github_branch_default resource instead
func (RepositoryOutput) DeleteBranchOnMerge ¶ added in v4.15.0
func (o RepositoryOutput) DeleteBranchOnMerge() pulumi.BoolPtrOutput
Automatically delete head branch after a pull request is merged. Defaults to `false`.
func (RepositoryOutput) Description ¶ added in v4.15.0
func (o RepositoryOutput) Description() pulumi.StringPtrOutput
A description of the repository.
func (RepositoryOutput) ElementType ¶
func (RepositoryOutput) ElementType() reflect.Type
func (RepositoryOutput) Etag ¶ added in v4.15.0
func (o RepositoryOutput) Etag() pulumi.StringOutput
func (RepositoryOutput) FullName ¶ added in v4.15.0
func (o RepositoryOutput) FullName() pulumi.StringOutput
A string of the form "orgname/reponame".
func (RepositoryOutput) GitCloneUrl ¶ added in v4.15.0
func (o RepositoryOutput) GitCloneUrl() pulumi.StringOutput
URL that can be provided to `git clone` to clone the repository anonymously via the git protocol.
func (RepositoryOutput) GitignoreTemplate ¶ added in v4.15.0
func (o RepositoryOutput) GitignoreTemplate() pulumi.StringPtrOutput
Use the [name of the template](https://github.com/github/gitignore) without the extension. For example, "Haskell".
func (RepositoryOutput) HasDownloads ¶ added in v4.15.0
func (o RepositoryOutput) HasDownloads() pulumi.BoolPtrOutput
Set to `true` to enable the (deprecated) downloads features on the repository.
func (RepositoryOutput) HasIssues ¶ added in v4.15.0
func (o RepositoryOutput) HasIssues() pulumi.BoolPtrOutput
Set to `true` to enable the GitHub Issues features on the repository.
func (RepositoryOutput) HasProjects ¶ added in v4.15.0
func (o RepositoryOutput) HasProjects() pulumi.BoolPtrOutput
Set to `true` to enable the GitHub Projects features on the repository. Per the GitHub [documentation](https://developer.github.com/v3/repos/#create) when in an organization that has disabled repository projects it will default to `false` and will otherwise default to `true`. If you specify `true` when it has been disabled it will return an error.
func (RepositoryOutput) HasWiki ¶ added in v4.15.0
func (o RepositoryOutput) HasWiki() pulumi.BoolPtrOutput
Set to `true` to enable the GitHub Wiki features on the repository.
func (RepositoryOutput) HomepageUrl ¶ added in v4.15.0
func (o RepositoryOutput) HomepageUrl() pulumi.StringPtrOutput
URL of a page describing the project.
func (RepositoryOutput) HtmlUrl ¶ added in v4.15.0
func (o RepositoryOutput) HtmlUrl() pulumi.StringOutput
The absolute URL (including scheme) of the rendered GitHub Pages site e.g. `https://username.github.io`.
func (RepositoryOutput) HttpCloneUrl ¶ added in v4.15.0
func (o RepositoryOutput) HttpCloneUrl() pulumi.StringOutput
URL that can be provided to `git clone` to clone the repository via HTTPS.
func (RepositoryOutput) IgnoreVulnerabilityAlertsDuringRead ¶ added in v4.15.0
func (o RepositoryOutput) IgnoreVulnerabilityAlertsDuringRead() pulumi.BoolPtrOutput
Set to `true` to not call the vulnerability alerts endpoint so the resource can also be used without admin permissions during read.
func (RepositoryOutput) IsTemplate ¶ added in v4.15.0
func (o RepositoryOutput) IsTemplate() pulumi.BoolPtrOutput
Set to `true` to tell GitHub that this is a template repository.
func (RepositoryOutput) LicenseTemplate ¶ added in v4.15.0
func (o RepositoryOutput) LicenseTemplate() pulumi.StringPtrOutput
Use the [name of the template](https://github.com/github/choosealicense.com/tree/gh-pages/_licenses) without the extension. For example, "mit" or "mpl-2.0".
func (RepositoryOutput) MergeCommitMessage ¶ added in v4.17.0
func (o RepositoryOutput) MergeCommitMessage() pulumi.StringPtrOutput
Can be `PR_BODY`, `PR_TITLE`, or `BLANK` for a default merge commit message.
func (RepositoryOutput) MergeCommitTitle ¶ added in v4.17.0
func (o RepositoryOutput) MergeCommitTitle() pulumi.StringPtrOutput
Can be `PR_TITLE` or `MERGE_MESSAGE` for a default merge commit title.
func (RepositoryOutput) Name ¶ added in v4.15.0
func (o RepositoryOutput) Name() pulumi.StringOutput
The name of the repository.
func (RepositoryOutput) NodeId ¶ added in v4.15.0
func (o RepositoryOutput) NodeId() pulumi.StringOutput
GraphQL global node id for use with v4 API
func (RepositoryOutput) Pages ¶ added in v4.15.0
func (o RepositoryOutput) Pages() RepositoryPagesPtrOutput
The repository's GitHub Pages configuration. See GitHub Pages Configuration below for details.
func (RepositoryOutput) Private
deprecated
added in
v4.15.0
func (o RepositoryOutput) Private() pulumi.BoolOutput
Set to `true` to create a private repository. Repositories are created as public (e.g. open source) by default.
Deprecated: use visibility instead
func (RepositoryOutput) RepoId ¶ added in v4.15.0
func (o RepositoryOutput) RepoId() pulumi.IntOutput
GitHub ID for the repository
func (RepositoryOutput) SquashMergeCommitMessage ¶ added in v4.17.0
func (o RepositoryOutput) SquashMergeCommitMessage() pulumi.StringPtrOutput
Can be `PR_BODY`, `COMMIT_MESSAGES`, or `BLANK` for a default squash merge commit message.
func (RepositoryOutput) SquashMergeCommitTitle ¶ added in v4.17.0
func (o RepositoryOutput) SquashMergeCommitTitle() pulumi.StringPtrOutput
Can be `PR_TITLE` or `COMMIT_OR_PR_TITLE` for a default squash merge commit title.
func (RepositoryOutput) SshCloneUrl ¶ added in v4.15.0
func (o RepositoryOutput) SshCloneUrl() pulumi.StringOutput
URL that can be provided to `git clone` to clone the repository via SSH.
func (RepositoryOutput) SvnUrl ¶ added in v4.15.0
func (o RepositoryOutput) SvnUrl() pulumi.StringOutput
URL that can be provided to `svn checkout` to check out the repository via GitHub's Subversion protocol emulation.
func (RepositoryOutput) Template ¶ added in v4.15.0
func (o RepositoryOutput) Template() RepositoryTemplatePtrOutput
Use a template repository to create this resource. See Template Repositories below for details.
func (RepositoryOutput) ToRepositoryOutput ¶
func (o RepositoryOutput) ToRepositoryOutput() RepositoryOutput
func (RepositoryOutput) ToRepositoryOutputWithContext ¶
func (o RepositoryOutput) ToRepositoryOutputWithContext(ctx context.Context) RepositoryOutput
func (RepositoryOutput) Topics ¶ added in v4.15.0
func (o RepositoryOutput) Topics() pulumi.StringArrayOutput
The list of topics of the repository.
func (RepositoryOutput) Visibility ¶ added in v4.15.0
func (o RepositoryOutput) Visibility() pulumi.StringOutput
Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be `internal`. The `visibility` parameter overrides the `private` parameter.
func (RepositoryOutput) VulnerabilityAlerts ¶ added in v4.15.0
func (o RepositoryOutput) VulnerabilityAlerts() pulumi.BoolPtrOutput
Set to `true` to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on public repos but disables them on private repos by default.) See [GitHub Documentation](https://help.github.com/en/github/managing-security-vulnerabilities/about-security-alerts-for-vulnerable-dependencies) for details. Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings.
type RepositoryPages ¶
type RepositoryPages struct { // The custom domain for the repository. This can only be set after the repository has been created. Cname *string `pulumi:"cname"` // Whether the rendered GitHub Pages site has a custom 404 page. Custom404 *bool `pulumi:"custom404"` // The absolute URL (including scheme) of the rendered GitHub Pages site e.g. `https://username.github.io`. HtmlUrl *string `pulumi:"htmlUrl"` // The source branch and directory for the rendered Pages site. See GitHub Pages Source below for details. Source RepositoryPagesSource `pulumi:"source"` // The GitHub Pages site's build status e.g. `building` or `built`. Status *string `pulumi:"status"` Url *string `pulumi:"url"` }
type RepositoryPagesArgs ¶
type RepositoryPagesArgs struct { // The custom domain for the repository. This can only be set after the repository has been created. Cname pulumi.StringPtrInput `pulumi:"cname"` // Whether the rendered GitHub Pages site has a custom 404 page. Custom404 pulumi.BoolPtrInput `pulumi:"custom404"` // The absolute URL (including scheme) of the rendered GitHub Pages site e.g. `https://username.github.io`. HtmlUrl pulumi.StringPtrInput `pulumi:"htmlUrl"` // The source branch and directory for the rendered Pages site. See GitHub Pages Source below for details. Source RepositoryPagesSourceInput `pulumi:"source"` // The GitHub Pages site's build status e.g. `building` or `built`. Status pulumi.StringPtrInput `pulumi:"status"` Url pulumi.StringPtrInput `pulumi:"url"` }
func (RepositoryPagesArgs) ElementType ¶
func (RepositoryPagesArgs) ElementType() reflect.Type
func (RepositoryPagesArgs) ToRepositoryPagesOutput ¶
func (i RepositoryPagesArgs) ToRepositoryPagesOutput() RepositoryPagesOutput
func (RepositoryPagesArgs) ToRepositoryPagesOutputWithContext ¶
func (i RepositoryPagesArgs) ToRepositoryPagesOutputWithContext(ctx context.Context) RepositoryPagesOutput
func (RepositoryPagesArgs) ToRepositoryPagesPtrOutput ¶
func (i RepositoryPagesArgs) ToRepositoryPagesPtrOutput() RepositoryPagesPtrOutput
func (RepositoryPagesArgs) ToRepositoryPagesPtrOutputWithContext ¶
func (i RepositoryPagesArgs) ToRepositoryPagesPtrOutputWithContext(ctx context.Context) RepositoryPagesPtrOutput
type RepositoryPagesInput ¶
type RepositoryPagesInput interface { pulumi.Input ToRepositoryPagesOutput() RepositoryPagesOutput ToRepositoryPagesOutputWithContext(context.Context) RepositoryPagesOutput }
RepositoryPagesInput is an input type that accepts RepositoryPagesArgs and RepositoryPagesOutput values. You can construct a concrete instance of `RepositoryPagesInput` via:
RepositoryPagesArgs{...}
type RepositoryPagesOutput ¶
type RepositoryPagesOutput struct{ *pulumi.OutputState }
func (RepositoryPagesOutput) Cname ¶
func (o RepositoryPagesOutput) Cname() pulumi.StringPtrOutput
The custom domain for the repository. This can only be set after the repository has been created.
func (RepositoryPagesOutput) Custom404 ¶
func (o RepositoryPagesOutput) Custom404() pulumi.BoolPtrOutput
Whether the rendered GitHub Pages site has a custom 404 page.
func (RepositoryPagesOutput) ElementType ¶
func (RepositoryPagesOutput) ElementType() reflect.Type
func (RepositoryPagesOutput) HtmlUrl ¶
func (o RepositoryPagesOutput) HtmlUrl() pulumi.StringPtrOutput
The absolute URL (including scheme) of the rendered GitHub Pages site e.g. `https://username.github.io`.
func (RepositoryPagesOutput) Source ¶
func (o RepositoryPagesOutput) Source() RepositoryPagesSourceOutput
The source branch and directory for the rendered Pages site. See GitHub Pages Source below for details.
func (RepositoryPagesOutput) Status ¶
func (o RepositoryPagesOutput) Status() pulumi.StringPtrOutput
The GitHub Pages site's build status e.g. `building` or `built`.
func (RepositoryPagesOutput) ToRepositoryPagesOutput ¶
func (o RepositoryPagesOutput) ToRepositoryPagesOutput() RepositoryPagesOutput
func (RepositoryPagesOutput) ToRepositoryPagesOutputWithContext ¶
func (o RepositoryPagesOutput) ToRepositoryPagesOutputWithContext(ctx context.Context) RepositoryPagesOutput
func (RepositoryPagesOutput) ToRepositoryPagesPtrOutput ¶
func (o RepositoryPagesOutput) ToRepositoryPagesPtrOutput() RepositoryPagesPtrOutput
func (RepositoryPagesOutput) ToRepositoryPagesPtrOutputWithContext ¶
func (o RepositoryPagesOutput) ToRepositoryPagesPtrOutputWithContext(ctx context.Context) RepositoryPagesPtrOutput
func (RepositoryPagesOutput) Url ¶
func (o RepositoryPagesOutput) Url() pulumi.StringPtrOutput
type RepositoryPagesPtrInput ¶
type RepositoryPagesPtrInput interface { pulumi.Input ToRepositoryPagesPtrOutput() RepositoryPagesPtrOutput ToRepositoryPagesPtrOutputWithContext(context.Context) RepositoryPagesPtrOutput }
RepositoryPagesPtrInput is an input type that accepts RepositoryPagesArgs, RepositoryPagesPtr and RepositoryPagesPtrOutput values. You can construct a concrete instance of `RepositoryPagesPtrInput` via:
RepositoryPagesArgs{...} or: nil
func RepositoryPagesPtr ¶
func RepositoryPagesPtr(v *RepositoryPagesArgs) RepositoryPagesPtrInput
type RepositoryPagesPtrOutput ¶
type RepositoryPagesPtrOutput struct{ *pulumi.OutputState }
func (RepositoryPagesPtrOutput) Cname ¶
func (o RepositoryPagesPtrOutput) Cname() pulumi.StringPtrOutput
The custom domain for the repository. This can only be set after the repository has been created.
func (RepositoryPagesPtrOutput) Custom404 ¶
func (o RepositoryPagesPtrOutput) Custom404() pulumi.BoolPtrOutput
Whether the rendered GitHub Pages site has a custom 404 page.
func (RepositoryPagesPtrOutput) Elem ¶
func (o RepositoryPagesPtrOutput) Elem() RepositoryPagesOutput
func (RepositoryPagesPtrOutput) ElementType ¶
func (RepositoryPagesPtrOutput) ElementType() reflect.Type
func (RepositoryPagesPtrOutput) HtmlUrl ¶
func (o RepositoryPagesPtrOutput) HtmlUrl() pulumi.StringPtrOutput
The absolute URL (including scheme) of the rendered GitHub Pages site e.g. `https://username.github.io`.
func (RepositoryPagesPtrOutput) Source ¶
func (o RepositoryPagesPtrOutput) Source() RepositoryPagesSourcePtrOutput
The source branch and directory for the rendered Pages site. See GitHub Pages Source below for details.
func (RepositoryPagesPtrOutput) Status ¶
func (o RepositoryPagesPtrOutput) Status() pulumi.StringPtrOutput
The GitHub Pages site's build status e.g. `building` or `built`.
func (RepositoryPagesPtrOutput) ToRepositoryPagesPtrOutput ¶
func (o RepositoryPagesPtrOutput) ToRepositoryPagesPtrOutput() RepositoryPagesPtrOutput
func (RepositoryPagesPtrOutput) ToRepositoryPagesPtrOutputWithContext ¶
func (o RepositoryPagesPtrOutput) ToRepositoryPagesPtrOutputWithContext(ctx context.Context) RepositoryPagesPtrOutput
func (RepositoryPagesPtrOutput) Url ¶
func (o RepositoryPagesPtrOutput) Url() pulumi.StringPtrOutput
type RepositoryPagesSource ¶
type RepositoryPagesSourceArgs ¶
type RepositoryPagesSourceArgs struct { // The repository branch used to publish the site's source files. (i.e. `main` or `gh-pages`. Branch pulumi.StringInput `pulumi:"branch"` // The repository directory from which the site publishes (Default: `/`). Path pulumi.StringPtrInput `pulumi:"path"` }
func (RepositoryPagesSourceArgs) ElementType ¶
func (RepositoryPagesSourceArgs) ElementType() reflect.Type
func (RepositoryPagesSourceArgs) ToRepositoryPagesSourceOutput ¶
func (i RepositoryPagesSourceArgs) ToRepositoryPagesSourceOutput() RepositoryPagesSourceOutput
func (RepositoryPagesSourceArgs) ToRepositoryPagesSourceOutputWithContext ¶
func (i RepositoryPagesSourceArgs) ToRepositoryPagesSourceOutputWithContext(ctx context.Context) RepositoryPagesSourceOutput
func (RepositoryPagesSourceArgs) ToRepositoryPagesSourcePtrOutput ¶
func (i RepositoryPagesSourceArgs) ToRepositoryPagesSourcePtrOutput() RepositoryPagesSourcePtrOutput
func (RepositoryPagesSourceArgs) ToRepositoryPagesSourcePtrOutputWithContext ¶
func (i RepositoryPagesSourceArgs) ToRepositoryPagesSourcePtrOutputWithContext(ctx context.Context) RepositoryPagesSourcePtrOutput
type RepositoryPagesSourceInput ¶
type RepositoryPagesSourceInput interface { pulumi.Input ToRepositoryPagesSourceOutput() RepositoryPagesSourceOutput ToRepositoryPagesSourceOutputWithContext(context.Context) RepositoryPagesSourceOutput }
RepositoryPagesSourceInput is an input type that accepts RepositoryPagesSourceArgs and RepositoryPagesSourceOutput values. You can construct a concrete instance of `RepositoryPagesSourceInput` via:
RepositoryPagesSourceArgs{...}
type RepositoryPagesSourceOutput ¶
type RepositoryPagesSourceOutput struct{ *pulumi.OutputState }
func (RepositoryPagesSourceOutput) Branch ¶
func (o RepositoryPagesSourceOutput) Branch() pulumi.StringOutput
The repository branch used to publish the site's source files. (i.e. `main` or `gh-pages`.
func (RepositoryPagesSourceOutput) ElementType ¶
func (RepositoryPagesSourceOutput) ElementType() reflect.Type
func (RepositoryPagesSourceOutput) Path ¶
func (o RepositoryPagesSourceOutput) Path() pulumi.StringPtrOutput
The repository directory from which the site publishes (Default: `/`).
func (RepositoryPagesSourceOutput) ToRepositoryPagesSourceOutput ¶
func (o RepositoryPagesSourceOutput) ToRepositoryPagesSourceOutput() RepositoryPagesSourceOutput
func (RepositoryPagesSourceOutput) ToRepositoryPagesSourceOutputWithContext ¶
func (o RepositoryPagesSourceOutput) ToRepositoryPagesSourceOutputWithContext(ctx context.Context) RepositoryPagesSourceOutput
func (RepositoryPagesSourceOutput) ToRepositoryPagesSourcePtrOutput ¶
func (o RepositoryPagesSourceOutput) ToRepositoryPagesSourcePtrOutput() RepositoryPagesSourcePtrOutput
func (RepositoryPagesSourceOutput) ToRepositoryPagesSourcePtrOutputWithContext ¶
func (o RepositoryPagesSourceOutput) ToRepositoryPagesSourcePtrOutputWithContext(ctx context.Context) RepositoryPagesSourcePtrOutput
type RepositoryPagesSourcePtrInput ¶
type RepositoryPagesSourcePtrInput interface { pulumi.Input ToRepositoryPagesSourcePtrOutput() RepositoryPagesSourcePtrOutput ToRepositoryPagesSourcePtrOutputWithContext(context.Context) RepositoryPagesSourcePtrOutput }
RepositoryPagesSourcePtrInput is an input type that accepts RepositoryPagesSourceArgs, RepositoryPagesSourcePtr and RepositoryPagesSourcePtrOutput values. You can construct a concrete instance of `RepositoryPagesSourcePtrInput` via:
RepositoryPagesSourceArgs{...} or: nil
func RepositoryPagesSourcePtr ¶
func RepositoryPagesSourcePtr(v *RepositoryPagesSourceArgs) RepositoryPagesSourcePtrInput
type RepositoryPagesSourcePtrOutput ¶
type RepositoryPagesSourcePtrOutput struct{ *pulumi.OutputState }
func (RepositoryPagesSourcePtrOutput) Branch ¶
func (o RepositoryPagesSourcePtrOutput) Branch() pulumi.StringPtrOutput
The repository branch used to publish the site's source files. (i.e. `main` or `gh-pages`.
func (RepositoryPagesSourcePtrOutput) Elem ¶
func (o RepositoryPagesSourcePtrOutput) Elem() RepositoryPagesSourceOutput
func (RepositoryPagesSourcePtrOutput) ElementType ¶
func (RepositoryPagesSourcePtrOutput) ElementType() reflect.Type
func (RepositoryPagesSourcePtrOutput) Path ¶
func (o RepositoryPagesSourcePtrOutput) Path() pulumi.StringPtrOutput
The repository directory from which the site publishes (Default: `/`).
func (RepositoryPagesSourcePtrOutput) ToRepositoryPagesSourcePtrOutput ¶
func (o RepositoryPagesSourcePtrOutput) ToRepositoryPagesSourcePtrOutput() RepositoryPagesSourcePtrOutput
func (RepositoryPagesSourcePtrOutput) ToRepositoryPagesSourcePtrOutputWithContext ¶
func (o RepositoryPagesSourcePtrOutput) ToRepositoryPagesSourcePtrOutputWithContext(ctx context.Context) RepositoryPagesSourcePtrOutput
type RepositoryProject ¶
type RepositoryProject struct { pulumi.CustomResourceState // The body of the project. Body pulumi.StringPtrOutput `pulumi:"body"` Etag pulumi.StringOutput `pulumi:"etag"` // The name of the project. Name pulumi.StringOutput `pulumi:"name"` // The repository of the project. Repository pulumi.StringOutput `pulumi:"repository"` // URL of the project Url pulumi.StringOutput `pulumi:"url"` }
This resource allows you to create and manage projects for GitHub repository.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := github.NewRepository(ctx, "example", &github.RepositoryArgs{ Description: pulumi.String("My awesome codebase"), HasProjects: pulumi.Bool(true), }) if err != nil { return err } _, err = github.NewRepositoryProject(ctx, "project", &github.RepositoryProjectArgs{ Body: pulumi.String("This is a repository project."), Repository: example.Name, }) if err != nil { return err } return nil }) }
```
func GetRepositoryProject ¶
func GetRepositoryProject(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryProjectState, opts ...pulumi.ResourceOption) (*RepositoryProject, error)
GetRepositoryProject gets an existing RepositoryProject resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryProject ¶
func NewRepositoryProject(ctx *pulumi.Context, name string, args *RepositoryProjectArgs, opts ...pulumi.ResourceOption) (*RepositoryProject, error)
NewRepositoryProject registers a new resource with the given unique name, arguments, and options.
func (*RepositoryProject) ElementType ¶
func (*RepositoryProject) ElementType() reflect.Type
func (*RepositoryProject) ToRepositoryProjectOutput ¶
func (i *RepositoryProject) ToRepositoryProjectOutput() RepositoryProjectOutput
func (*RepositoryProject) ToRepositoryProjectOutputWithContext ¶
func (i *RepositoryProject) ToRepositoryProjectOutputWithContext(ctx context.Context) RepositoryProjectOutput
type RepositoryProjectArgs ¶
type RepositoryProjectArgs struct { // The body of the project. Body pulumi.StringPtrInput // The name of the project. Name pulumi.StringPtrInput // The repository of the project. Repository pulumi.StringInput }
The set of arguments for constructing a RepositoryProject resource.
func (RepositoryProjectArgs) ElementType ¶
func (RepositoryProjectArgs) ElementType() reflect.Type
type RepositoryProjectArray ¶
type RepositoryProjectArray []RepositoryProjectInput
func (RepositoryProjectArray) ElementType ¶
func (RepositoryProjectArray) ElementType() reflect.Type
func (RepositoryProjectArray) ToRepositoryProjectArrayOutput ¶
func (i RepositoryProjectArray) ToRepositoryProjectArrayOutput() RepositoryProjectArrayOutput
func (RepositoryProjectArray) ToRepositoryProjectArrayOutputWithContext ¶
func (i RepositoryProjectArray) ToRepositoryProjectArrayOutputWithContext(ctx context.Context) RepositoryProjectArrayOutput
type RepositoryProjectArrayInput ¶
type RepositoryProjectArrayInput interface { pulumi.Input ToRepositoryProjectArrayOutput() RepositoryProjectArrayOutput ToRepositoryProjectArrayOutputWithContext(context.Context) RepositoryProjectArrayOutput }
RepositoryProjectArrayInput is an input type that accepts RepositoryProjectArray and RepositoryProjectArrayOutput values. You can construct a concrete instance of `RepositoryProjectArrayInput` via:
RepositoryProjectArray{ RepositoryProjectArgs{...} }
type RepositoryProjectArrayOutput ¶
type RepositoryProjectArrayOutput struct{ *pulumi.OutputState }
func (RepositoryProjectArrayOutput) ElementType ¶
func (RepositoryProjectArrayOutput) ElementType() reflect.Type
func (RepositoryProjectArrayOutput) Index ¶
func (o RepositoryProjectArrayOutput) Index(i pulumi.IntInput) RepositoryProjectOutput
func (RepositoryProjectArrayOutput) ToRepositoryProjectArrayOutput ¶
func (o RepositoryProjectArrayOutput) ToRepositoryProjectArrayOutput() RepositoryProjectArrayOutput
func (RepositoryProjectArrayOutput) ToRepositoryProjectArrayOutputWithContext ¶
func (o RepositoryProjectArrayOutput) ToRepositoryProjectArrayOutputWithContext(ctx context.Context) RepositoryProjectArrayOutput
type RepositoryProjectInput ¶
type RepositoryProjectInput interface { pulumi.Input ToRepositoryProjectOutput() RepositoryProjectOutput ToRepositoryProjectOutputWithContext(ctx context.Context) RepositoryProjectOutput }
type RepositoryProjectMap ¶
type RepositoryProjectMap map[string]RepositoryProjectInput
func (RepositoryProjectMap) ElementType ¶
func (RepositoryProjectMap) ElementType() reflect.Type
func (RepositoryProjectMap) ToRepositoryProjectMapOutput ¶
func (i RepositoryProjectMap) ToRepositoryProjectMapOutput() RepositoryProjectMapOutput
func (RepositoryProjectMap) ToRepositoryProjectMapOutputWithContext ¶
func (i RepositoryProjectMap) ToRepositoryProjectMapOutputWithContext(ctx context.Context) RepositoryProjectMapOutput
type RepositoryProjectMapInput ¶
type RepositoryProjectMapInput interface { pulumi.Input ToRepositoryProjectMapOutput() RepositoryProjectMapOutput ToRepositoryProjectMapOutputWithContext(context.Context) RepositoryProjectMapOutput }
RepositoryProjectMapInput is an input type that accepts RepositoryProjectMap and RepositoryProjectMapOutput values. You can construct a concrete instance of `RepositoryProjectMapInput` via:
RepositoryProjectMap{ "key": RepositoryProjectArgs{...} }
type RepositoryProjectMapOutput ¶
type RepositoryProjectMapOutput struct{ *pulumi.OutputState }
func (RepositoryProjectMapOutput) ElementType ¶
func (RepositoryProjectMapOutput) ElementType() reflect.Type
func (RepositoryProjectMapOutput) MapIndex ¶
func (o RepositoryProjectMapOutput) MapIndex(k pulumi.StringInput) RepositoryProjectOutput
func (RepositoryProjectMapOutput) ToRepositoryProjectMapOutput ¶
func (o RepositoryProjectMapOutput) ToRepositoryProjectMapOutput() RepositoryProjectMapOutput
func (RepositoryProjectMapOutput) ToRepositoryProjectMapOutputWithContext ¶
func (o RepositoryProjectMapOutput) ToRepositoryProjectMapOutputWithContext(ctx context.Context) RepositoryProjectMapOutput
type RepositoryProjectOutput ¶
type RepositoryProjectOutput struct{ *pulumi.OutputState }
func (RepositoryProjectOutput) Body ¶ added in v4.15.0
func (o RepositoryProjectOutput) Body() pulumi.StringPtrOutput
The body of the project.
func (RepositoryProjectOutput) ElementType ¶
func (RepositoryProjectOutput) ElementType() reflect.Type
func (RepositoryProjectOutput) Etag ¶ added in v4.15.0
func (o RepositoryProjectOutput) Etag() pulumi.StringOutput
func (RepositoryProjectOutput) Name ¶ added in v4.15.0
func (o RepositoryProjectOutput) Name() pulumi.StringOutput
The name of the project.
func (RepositoryProjectOutput) Repository ¶ added in v4.15.0
func (o RepositoryProjectOutput) Repository() pulumi.StringOutput
The repository of the project.
func (RepositoryProjectOutput) ToRepositoryProjectOutput ¶
func (o RepositoryProjectOutput) ToRepositoryProjectOutput() RepositoryProjectOutput
func (RepositoryProjectOutput) ToRepositoryProjectOutputWithContext ¶
func (o RepositoryProjectOutput) ToRepositoryProjectOutputWithContext(ctx context.Context) RepositoryProjectOutput
func (RepositoryProjectOutput) Url ¶ added in v4.15.0
func (o RepositoryProjectOutput) Url() pulumi.StringOutput
URL of the project
type RepositoryProjectState ¶
type RepositoryProjectState struct { // The body of the project. Body pulumi.StringPtrInput Etag pulumi.StringPtrInput // The name of the project. Name pulumi.StringPtrInput // The repository of the project. Repository pulumi.StringPtrInput // URL of the project Url pulumi.StringPtrInput }
func (RepositoryProjectState) ElementType ¶
func (RepositoryProjectState) ElementType() reflect.Type
type RepositoryPullRequest ¶
type RepositoryPullRequest struct { pulumi.CustomResourceState // Name of the branch serving as the base of the Pull Request. BaseRef pulumi.StringOutput `pulumi:"baseRef"` // Name of the base repository to retrieve the Pull Requests from. BaseRepository pulumi.StringOutput `pulumi:"baseRepository"` // Head commit SHA of the Pull Request base. BaseSha pulumi.StringOutput `pulumi:"baseSha"` // Body of the Pull Request. Body pulumi.StringPtrOutput `pulumi:"body"` // Indicates Whether this Pull Request is a draft. Draft pulumi.BoolOutput `pulumi:"draft"` // Name of the branch serving as the head of the Pull Request. HeadRef pulumi.StringOutput `pulumi:"headRef"` // Head commit SHA of the Pull Request head. HeadSha pulumi.StringOutput `pulumi:"headSha"` // List of label names set on the Pull Request. Labels pulumi.StringArrayOutput `pulumi:"labels"` // Controls whether the base repository maintainers can modify the Pull Request. Default: false. MaintainerCanModify pulumi.BoolPtrOutput `pulumi:"maintainerCanModify"` // The number of the Pull Request within the repository. Number pulumi.IntOutput `pulumi:"number"` // Unix timestamp indicating the Pull Request creation time. OpenedAt pulumi.IntOutput `pulumi:"openedAt"` // GitHub login of the user who opened the Pull Request. OpenedBy pulumi.StringOutput `pulumi:"openedBy"` // Owner of the repository. If not provided, the provider's default owner is used. Owner pulumi.StringPtrOutput `pulumi:"owner"` // the current Pull Request state - can be "open", "closed" or "merged". State pulumi.StringOutput `pulumi:"state"` // The title of the Pull Request. Title pulumi.StringOutput `pulumi:"title"` // The timestamp of the last Pull Request update. UpdatedAt pulumi.IntOutput `pulumi:"updatedAt"` }
This resource allows you to create and manage PullRequests for repositories within your GitHub organization or personal account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewRepositoryPullRequest(ctx, "example", &github.RepositoryPullRequestArgs{ BaseRef: pulumi.String("main"), BaseRepository: pulumi.String("example-repository"), Body: pulumi.String("This will change everything"), HeadRef: pulumi.String("feature-branch"), Title: pulumi.String("My newest feature"), }) if err != nil { return err } return nil }) }
```
func GetRepositoryPullRequest ¶
func GetRepositoryPullRequest(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryPullRequestState, opts ...pulumi.ResourceOption) (*RepositoryPullRequest, error)
GetRepositoryPullRequest gets an existing RepositoryPullRequest resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryPullRequest ¶
func NewRepositoryPullRequest(ctx *pulumi.Context, name string, args *RepositoryPullRequestArgs, opts ...pulumi.ResourceOption) (*RepositoryPullRequest, error)
NewRepositoryPullRequest registers a new resource with the given unique name, arguments, and options.
func (*RepositoryPullRequest) ElementType ¶
func (*RepositoryPullRequest) ElementType() reflect.Type
func (*RepositoryPullRequest) ToRepositoryPullRequestOutput ¶
func (i *RepositoryPullRequest) ToRepositoryPullRequestOutput() RepositoryPullRequestOutput
func (*RepositoryPullRequest) ToRepositoryPullRequestOutputWithContext ¶
func (i *RepositoryPullRequest) ToRepositoryPullRequestOutputWithContext(ctx context.Context) RepositoryPullRequestOutput
type RepositoryPullRequestArgs ¶
type RepositoryPullRequestArgs struct { // Name of the branch serving as the base of the Pull Request. BaseRef pulumi.StringInput // Name of the base repository to retrieve the Pull Requests from. BaseRepository pulumi.StringInput // Body of the Pull Request. Body pulumi.StringPtrInput // Name of the branch serving as the head of the Pull Request. HeadRef pulumi.StringInput // Controls whether the base repository maintainers can modify the Pull Request. Default: false. MaintainerCanModify pulumi.BoolPtrInput // Owner of the repository. If not provided, the provider's default owner is used. Owner pulumi.StringPtrInput // The title of the Pull Request. Title pulumi.StringInput }
The set of arguments for constructing a RepositoryPullRequest resource.
func (RepositoryPullRequestArgs) ElementType ¶
func (RepositoryPullRequestArgs) ElementType() reflect.Type
type RepositoryPullRequestArray ¶
type RepositoryPullRequestArray []RepositoryPullRequestInput
func (RepositoryPullRequestArray) ElementType ¶
func (RepositoryPullRequestArray) ElementType() reflect.Type
func (RepositoryPullRequestArray) ToRepositoryPullRequestArrayOutput ¶
func (i RepositoryPullRequestArray) ToRepositoryPullRequestArrayOutput() RepositoryPullRequestArrayOutput
func (RepositoryPullRequestArray) ToRepositoryPullRequestArrayOutputWithContext ¶
func (i RepositoryPullRequestArray) ToRepositoryPullRequestArrayOutputWithContext(ctx context.Context) RepositoryPullRequestArrayOutput
type RepositoryPullRequestArrayInput ¶
type RepositoryPullRequestArrayInput interface { pulumi.Input ToRepositoryPullRequestArrayOutput() RepositoryPullRequestArrayOutput ToRepositoryPullRequestArrayOutputWithContext(context.Context) RepositoryPullRequestArrayOutput }
RepositoryPullRequestArrayInput is an input type that accepts RepositoryPullRequestArray and RepositoryPullRequestArrayOutput values. You can construct a concrete instance of `RepositoryPullRequestArrayInput` via:
RepositoryPullRequestArray{ RepositoryPullRequestArgs{...} }
type RepositoryPullRequestArrayOutput ¶
type RepositoryPullRequestArrayOutput struct{ *pulumi.OutputState }
func (RepositoryPullRequestArrayOutput) ElementType ¶
func (RepositoryPullRequestArrayOutput) ElementType() reflect.Type
func (RepositoryPullRequestArrayOutput) Index ¶
func (o RepositoryPullRequestArrayOutput) Index(i pulumi.IntInput) RepositoryPullRequestOutput
func (RepositoryPullRequestArrayOutput) ToRepositoryPullRequestArrayOutput ¶
func (o RepositoryPullRequestArrayOutput) ToRepositoryPullRequestArrayOutput() RepositoryPullRequestArrayOutput
func (RepositoryPullRequestArrayOutput) ToRepositoryPullRequestArrayOutputWithContext ¶
func (o RepositoryPullRequestArrayOutput) ToRepositoryPullRequestArrayOutputWithContext(ctx context.Context) RepositoryPullRequestArrayOutput
type RepositoryPullRequestInput ¶
type RepositoryPullRequestInput interface { pulumi.Input ToRepositoryPullRequestOutput() RepositoryPullRequestOutput ToRepositoryPullRequestOutputWithContext(ctx context.Context) RepositoryPullRequestOutput }
type RepositoryPullRequestMap ¶
type RepositoryPullRequestMap map[string]RepositoryPullRequestInput
func (RepositoryPullRequestMap) ElementType ¶
func (RepositoryPullRequestMap) ElementType() reflect.Type
func (RepositoryPullRequestMap) ToRepositoryPullRequestMapOutput ¶
func (i RepositoryPullRequestMap) ToRepositoryPullRequestMapOutput() RepositoryPullRequestMapOutput
func (RepositoryPullRequestMap) ToRepositoryPullRequestMapOutputWithContext ¶
func (i RepositoryPullRequestMap) ToRepositoryPullRequestMapOutputWithContext(ctx context.Context) RepositoryPullRequestMapOutput
type RepositoryPullRequestMapInput ¶
type RepositoryPullRequestMapInput interface { pulumi.Input ToRepositoryPullRequestMapOutput() RepositoryPullRequestMapOutput ToRepositoryPullRequestMapOutputWithContext(context.Context) RepositoryPullRequestMapOutput }
RepositoryPullRequestMapInput is an input type that accepts RepositoryPullRequestMap and RepositoryPullRequestMapOutput values. You can construct a concrete instance of `RepositoryPullRequestMapInput` via:
RepositoryPullRequestMap{ "key": RepositoryPullRequestArgs{...} }
type RepositoryPullRequestMapOutput ¶
type RepositoryPullRequestMapOutput struct{ *pulumi.OutputState }
func (RepositoryPullRequestMapOutput) ElementType ¶
func (RepositoryPullRequestMapOutput) ElementType() reflect.Type
func (RepositoryPullRequestMapOutput) MapIndex ¶
func (o RepositoryPullRequestMapOutput) MapIndex(k pulumi.StringInput) RepositoryPullRequestOutput
func (RepositoryPullRequestMapOutput) ToRepositoryPullRequestMapOutput ¶
func (o RepositoryPullRequestMapOutput) ToRepositoryPullRequestMapOutput() RepositoryPullRequestMapOutput
func (RepositoryPullRequestMapOutput) ToRepositoryPullRequestMapOutputWithContext ¶
func (o RepositoryPullRequestMapOutput) ToRepositoryPullRequestMapOutputWithContext(ctx context.Context) RepositoryPullRequestMapOutput
type RepositoryPullRequestOutput ¶
type RepositoryPullRequestOutput struct{ *pulumi.OutputState }
func (RepositoryPullRequestOutput) BaseRef ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) BaseRef() pulumi.StringOutput
Name of the branch serving as the base of the Pull Request.
func (RepositoryPullRequestOutput) BaseRepository ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) BaseRepository() pulumi.StringOutput
Name of the base repository to retrieve the Pull Requests from.
func (RepositoryPullRequestOutput) BaseSha ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) BaseSha() pulumi.StringOutput
Head commit SHA of the Pull Request base.
func (RepositoryPullRequestOutput) Body ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) Body() pulumi.StringPtrOutput
Body of the Pull Request.
func (RepositoryPullRequestOutput) Draft ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) Draft() pulumi.BoolOutput
Indicates Whether this Pull Request is a draft.
func (RepositoryPullRequestOutput) ElementType ¶
func (RepositoryPullRequestOutput) ElementType() reflect.Type
func (RepositoryPullRequestOutput) HeadRef ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) HeadRef() pulumi.StringOutput
Name of the branch serving as the head of the Pull Request.
func (RepositoryPullRequestOutput) HeadSha ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) HeadSha() pulumi.StringOutput
Head commit SHA of the Pull Request head.
func (RepositoryPullRequestOutput) Labels ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) Labels() pulumi.StringArrayOutput
List of label names set on the Pull Request.
func (RepositoryPullRequestOutput) MaintainerCanModify ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) MaintainerCanModify() pulumi.BoolPtrOutput
Controls whether the base repository maintainers can modify the Pull Request. Default: false.
func (RepositoryPullRequestOutput) Number ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) Number() pulumi.IntOutput
The number of the Pull Request within the repository.
func (RepositoryPullRequestOutput) OpenedAt ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) OpenedAt() pulumi.IntOutput
Unix timestamp indicating the Pull Request creation time.
func (RepositoryPullRequestOutput) OpenedBy ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) OpenedBy() pulumi.StringOutput
GitHub login of the user who opened the Pull Request.
func (RepositoryPullRequestOutput) Owner ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) Owner() pulumi.StringPtrOutput
Owner of the repository. If not provided, the provider's default owner is used.
func (RepositoryPullRequestOutput) State ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) State() pulumi.StringOutput
the current Pull Request state - can be "open", "closed" or "merged".
func (RepositoryPullRequestOutput) Title ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) Title() pulumi.StringOutput
The title of the Pull Request.
func (RepositoryPullRequestOutput) ToRepositoryPullRequestOutput ¶
func (o RepositoryPullRequestOutput) ToRepositoryPullRequestOutput() RepositoryPullRequestOutput
func (RepositoryPullRequestOutput) ToRepositoryPullRequestOutputWithContext ¶
func (o RepositoryPullRequestOutput) ToRepositoryPullRequestOutputWithContext(ctx context.Context) RepositoryPullRequestOutput
func (RepositoryPullRequestOutput) UpdatedAt ¶ added in v4.15.0
func (o RepositoryPullRequestOutput) UpdatedAt() pulumi.IntOutput
The timestamp of the last Pull Request update.
type RepositoryPullRequestState ¶
type RepositoryPullRequestState struct { // Name of the branch serving as the base of the Pull Request. BaseRef pulumi.StringPtrInput // Name of the base repository to retrieve the Pull Requests from. BaseRepository pulumi.StringPtrInput // Head commit SHA of the Pull Request base. BaseSha pulumi.StringPtrInput // Body of the Pull Request. Body pulumi.StringPtrInput // Indicates Whether this Pull Request is a draft. Draft pulumi.BoolPtrInput // Name of the branch serving as the head of the Pull Request. HeadRef pulumi.StringPtrInput // Head commit SHA of the Pull Request head. HeadSha pulumi.StringPtrInput // List of label names set on the Pull Request. Labels pulumi.StringArrayInput // Controls whether the base repository maintainers can modify the Pull Request. Default: false. MaintainerCanModify pulumi.BoolPtrInput // The number of the Pull Request within the repository. Number pulumi.IntPtrInput // Unix timestamp indicating the Pull Request creation time. OpenedAt pulumi.IntPtrInput // GitHub login of the user who opened the Pull Request. OpenedBy pulumi.StringPtrInput // Owner of the repository. If not provided, the provider's default owner is used. Owner pulumi.StringPtrInput // the current Pull Request state - can be "open", "closed" or "merged". State pulumi.StringPtrInput // The title of the Pull Request. Title pulumi.StringPtrInput // The timestamp of the last Pull Request update. UpdatedAt pulumi.IntPtrInput }
func (RepositoryPullRequestState) ElementType ¶
func (RepositoryPullRequestState) ElementType() reflect.Type
type RepositoryState ¶
type RepositoryState struct { // Set to `true` to allow auto-merging pull requests on the repository. AllowAutoMerge pulumi.BoolPtrInput // Set to `false` to disable merge commits on the repository. AllowMergeCommit pulumi.BoolPtrInput // Set to `false` to disable rebase merges on the repository. AllowRebaseMerge pulumi.BoolPtrInput // Set to `false` to disable squash merges on the repository. AllowSquashMerge pulumi.BoolPtrInput // Set to `true` to archive the repository instead of deleting on destroy. ArchiveOnDestroy pulumi.BoolPtrInput // Specifies if the repository should be archived. Defaults to `false`. **NOTE** Currently, the API does not support unarchiving. Archived pulumi.BoolPtrInput // Set to `true` to produce an initial commit in the repository. AutoInit pulumi.BoolPtrInput // The list of this repository's branches. Each element of `branches` has the following attributes: Branches RepositoryBranchArrayInput // (Deprecated: Use `BranchDefault` resource instead) The name of the default branch of the repository. **NOTE:** This can only be set after a repository has already been created, // and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the // initial repository creation and create the target branch inside of the repository prior to setting this attribute. // // Deprecated: Use the github_branch_default resource instead DefaultBranch pulumi.StringPtrInput // Automatically delete head branch after a pull request is merged. Defaults to `false`. DeleteBranchOnMerge pulumi.BoolPtrInput // A description of the repository. Description pulumi.StringPtrInput Etag pulumi.StringPtrInput // A string of the form "orgname/reponame". FullName pulumi.StringPtrInput // URL that can be provided to `git clone` to clone the repository anonymously via the git protocol. GitCloneUrl pulumi.StringPtrInput // Use the [name of the template](https://github.com/github/gitignore) without the extension. For example, "Haskell". GitignoreTemplate pulumi.StringPtrInput // Set to `true` to enable the (deprecated) downloads features on the repository. HasDownloads pulumi.BoolPtrInput // Set to `true` to enable the GitHub Issues features // on the repository. HasIssues pulumi.BoolPtrInput // Set to `true` to enable the GitHub Projects features on the repository. Per the GitHub [documentation](https://developer.github.com/v3/repos/#create) when in an organization that has disabled repository projects it will default to `false` and will otherwise default to `true`. If you specify `true` when it has been disabled it will return an error. HasProjects pulumi.BoolPtrInput // Set to `true` to enable the GitHub Wiki features on // the repository. HasWiki pulumi.BoolPtrInput // URL of a page describing the project. HomepageUrl pulumi.StringPtrInput // The absolute URL (including scheme) of the rendered GitHub Pages site e.g. `https://username.github.io`. HtmlUrl pulumi.StringPtrInput // URL that can be provided to `git clone` to clone the repository via HTTPS. HttpCloneUrl pulumi.StringPtrInput // Set to `true` to not call the vulnerability alerts endpoint so the resource can also be used without admin permissions during read. IgnoreVulnerabilityAlertsDuringRead pulumi.BoolPtrInput // Set to `true` to tell GitHub that this is a template repository. IsTemplate pulumi.BoolPtrInput // Use the [name of the template](https://github.com/github/choosealicense.com/tree/gh-pages/_licenses) without the extension. For example, "mit" or "mpl-2.0". LicenseTemplate pulumi.StringPtrInput // Can be `PR_BODY`, `PR_TITLE`, or `BLANK` for a default merge commit message. MergeCommitMessage pulumi.StringPtrInput // Can be `PR_TITLE` or `MERGE_MESSAGE` for a default merge commit title. MergeCommitTitle pulumi.StringPtrInput // The name of the repository. Name pulumi.StringPtrInput // GraphQL global node id for use with v4 API NodeId pulumi.StringPtrInput // The repository's GitHub Pages configuration. See GitHub Pages Configuration below for details. Pages RepositoryPagesPtrInput // Set to `true` to create a private repository. // Repositories are created as public (e.g. open source) by default. // // Deprecated: use visibility instead Private pulumi.BoolPtrInput // GitHub ID for the repository RepoId pulumi.IntPtrInput // Can be `PR_BODY`, `COMMIT_MESSAGES`, or `BLANK` for a default squash merge commit message. SquashMergeCommitMessage pulumi.StringPtrInput // Can be `PR_TITLE` or `COMMIT_OR_PR_TITLE` for a default squash merge commit title. SquashMergeCommitTitle pulumi.StringPtrInput // URL that can be provided to `git clone` to clone the repository via SSH. SshCloneUrl pulumi.StringPtrInput // URL that can be provided to `svn checkout` to check out the repository via GitHub's Subversion protocol emulation. SvnUrl pulumi.StringPtrInput // Use a template repository to create this resource. See Template Repositories below for details. Template RepositoryTemplatePtrInput // The list of topics of the repository. Topics pulumi.StringArrayInput // Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be `internal`. The `visibility` parameter overrides the `private` parameter. Visibility pulumi.StringPtrInput // Set to `true` to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on public repos but disables them on private repos by default.) See [GitHub Documentation](https://help.github.com/en/github/managing-security-vulnerabilities/about-security-alerts-for-vulnerable-dependencies) for details. Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings. VulnerabilityAlerts pulumi.BoolPtrInput }
func (RepositoryState) ElementType ¶
func (RepositoryState) ElementType() reflect.Type
type RepositoryTemplate ¶
type RepositoryTemplateArgs ¶
type RepositoryTemplateArgs struct { Owner pulumi.StringInput `pulumi:"owner"` Repository pulumi.StringInput `pulumi:"repository"` }
func (RepositoryTemplateArgs) ElementType ¶
func (RepositoryTemplateArgs) ElementType() reflect.Type
func (RepositoryTemplateArgs) ToRepositoryTemplateOutput ¶
func (i RepositoryTemplateArgs) ToRepositoryTemplateOutput() RepositoryTemplateOutput
func (RepositoryTemplateArgs) ToRepositoryTemplateOutputWithContext ¶
func (i RepositoryTemplateArgs) ToRepositoryTemplateOutputWithContext(ctx context.Context) RepositoryTemplateOutput
func (RepositoryTemplateArgs) ToRepositoryTemplatePtrOutput ¶
func (i RepositoryTemplateArgs) ToRepositoryTemplatePtrOutput() RepositoryTemplatePtrOutput
func (RepositoryTemplateArgs) ToRepositoryTemplatePtrOutputWithContext ¶
func (i RepositoryTemplateArgs) ToRepositoryTemplatePtrOutputWithContext(ctx context.Context) RepositoryTemplatePtrOutput
type RepositoryTemplateInput ¶
type RepositoryTemplateInput interface { pulumi.Input ToRepositoryTemplateOutput() RepositoryTemplateOutput ToRepositoryTemplateOutputWithContext(context.Context) RepositoryTemplateOutput }
RepositoryTemplateInput is an input type that accepts RepositoryTemplateArgs and RepositoryTemplateOutput values. You can construct a concrete instance of `RepositoryTemplateInput` via:
RepositoryTemplateArgs{...}
type RepositoryTemplateOutput ¶
type RepositoryTemplateOutput struct{ *pulumi.OutputState }
func (RepositoryTemplateOutput) ElementType ¶
func (RepositoryTemplateOutput) ElementType() reflect.Type
func (RepositoryTemplateOutput) Owner ¶
func (o RepositoryTemplateOutput) Owner() pulumi.StringOutput
func (RepositoryTemplateOutput) Repository ¶
func (o RepositoryTemplateOutput) Repository() pulumi.StringOutput
func (RepositoryTemplateOutput) ToRepositoryTemplateOutput ¶
func (o RepositoryTemplateOutput) ToRepositoryTemplateOutput() RepositoryTemplateOutput
func (RepositoryTemplateOutput) ToRepositoryTemplateOutputWithContext ¶
func (o RepositoryTemplateOutput) ToRepositoryTemplateOutputWithContext(ctx context.Context) RepositoryTemplateOutput
func (RepositoryTemplateOutput) ToRepositoryTemplatePtrOutput ¶
func (o RepositoryTemplateOutput) ToRepositoryTemplatePtrOutput() RepositoryTemplatePtrOutput
func (RepositoryTemplateOutput) ToRepositoryTemplatePtrOutputWithContext ¶
func (o RepositoryTemplateOutput) ToRepositoryTemplatePtrOutputWithContext(ctx context.Context) RepositoryTemplatePtrOutput
type RepositoryTemplatePtrInput ¶
type RepositoryTemplatePtrInput interface { pulumi.Input ToRepositoryTemplatePtrOutput() RepositoryTemplatePtrOutput ToRepositoryTemplatePtrOutputWithContext(context.Context) RepositoryTemplatePtrOutput }
RepositoryTemplatePtrInput is an input type that accepts RepositoryTemplateArgs, RepositoryTemplatePtr and RepositoryTemplatePtrOutput values. You can construct a concrete instance of `RepositoryTemplatePtrInput` via:
RepositoryTemplateArgs{...} or: nil
func RepositoryTemplatePtr ¶
func RepositoryTemplatePtr(v *RepositoryTemplateArgs) RepositoryTemplatePtrInput
type RepositoryTemplatePtrOutput ¶
type RepositoryTemplatePtrOutput struct{ *pulumi.OutputState }
func (RepositoryTemplatePtrOutput) Elem ¶
func (o RepositoryTemplatePtrOutput) Elem() RepositoryTemplateOutput
func (RepositoryTemplatePtrOutput) ElementType ¶
func (RepositoryTemplatePtrOutput) ElementType() reflect.Type
func (RepositoryTemplatePtrOutput) Owner ¶
func (o RepositoryTemplatePtrOutput) Owner() pulumi.StringPtrOutput
func (RepositoryTemplatePtrOutput) Repository ¶
func (o RepositoryTemplatePtrOutput) Repository() pulumi.StringPtrOutput
func (RepositoryTemplatePtrOutput) ToRepositoryTemplatePtrOutput ¶
func (o RepositoryTemplatePtrOutput) ToRepositoryTemplatePtrOutput() RepositoryTemplatePtrOutput
func (RepositoryTemplatePtrOutput) ToRepositoryTemplatePtrOutputWithContext ¶
func (o RepositoryTemplatePtrOutput) ToRepositoryTemplatePtrOutputWithContext(ctx context.Context) RepositoryTemplatePtrOutput
type RepositoryWebhook ¶
type RepositoryWebhook struct { pulumi.CustomResourceState // Indicate if the webhook should receive events. Defaults to `true`. Active pulumi.BoolPtrOutput `pulumi:"active"` // Configuration block for the webhook. Detailed below. Configuration RepositoryWebhookConfigurationPtrOutput `pulumi:"configuration"` Etag pulumi.StringOutput `pulumi:"etag"` // A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/). Events pulumi.StringArrayOutput `pulumi:"events"` // The repository of the webhook. Repository pulumi.StringOutput `pulumi:"repository"` // The URL of the webhook. Url pulumi.StringOutput `pulumi:"url"` }
This resource allows you to create and manage webhooks for repositories within your GitHub organization or personal account.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { repo, err := github.NewRepository(ctx, "repo", &github.RepositoryArgs{ Description: pulumi.String("Terraform acceptance tests"), HomepageUrl: pulumi.String("http://example.com/"), Private: pulumi.Bool(false), }) if err != nil { return err } _, err = github.NewRepositoryWebhook(ctx, "foo", &github.RepositoryWebhookArgs{ Repository: repo.Name, Configuration: &RepositoryWebhookConfigurationArgs{ Url: pulumi.String("https://google.de/"), ContentType: pulumi.String("form"), InsecureSsl: pulumi.Bool(false), }, Active: pulumi.Bool(false), Events: pulumi.StringArray{ pulumi.String("issues"), }, }) if err != nil { return err } return nil }) }
```
## Import
Repository webhooks can be imported using the `name` of the repository, combined with the `id` of the webhook, separated by a `/` character. The `id` of the webhook can be found in the URL of the webhook. For example`"https://github.com/foo-org/foo-repo/settings/hooks/14711452"`. Importing uses the name of the repository, as well as the ID of the webhook, e.g.
```sh
$ pulumi import github:index/repositoryWebhook:RepositoryWebhook terraform terraform/11235813
```
If secret is populated in the webhook's configuration, the value will be imported as "********".
func GetRepositoryWebhook ¶
func GetRepositoryWebhook(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryWebhookState, opts ...pulumi.ResourceOption) (*RepositoryWebhook, error)
GetRepositoryWebhook gets an existing RepositoryWebhook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryWebhook ¶
func NewRepositoryWebhook(ctx *pulumi.Context, name string, args *RepositoryWebhookArgs, opts ...pulumi.ResourceOption) (*RepositoryWebhook, error)
NewRepositoryWebhook registers a new resource with the given unique name, arguments, and options.
func (*RepositoryWebhook) ElementType ¶
func (*RepositoryWebhook) ElementType() reflect.Type
func (*RepositoryWebhook) ToRepositoryWebhookOutput ¶
func (i *RepositoryWebhook) ToRepositoryWebhookOutput() RepositoryWebhookOutput
func (*RepositoryWebhook) ToRepositoryWebhookOutputWithContext ¶
func (i *RepositoryWebhook) ToRepositoryWebhookOutputWithContext(ctx context.Context) RepositoryWebhookOutput
type RepositoryWebhookArgs ¶
type RepositoryWebhookArgs struct { // Indicate if the webhook should receive events. Defaults to `true`. Active pulumi.BoolPtrInput // Configuration block for the webhook. Detailed below. Configuration RepositoryWebhookConfigurationPtrInput // A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/). Events pulumi.StringArrayInput // The repository of the webhook. Repository pulumi.StringInput }
The set of arguments for constructing a RepositoryWebhook resource.
func (RepositoryWebhookArgs) ElementType ¶
func (RepositoryWebhookArgs) ElementType() reflect.Type
type RepositoryWebhookArray ¶
type RepositoryWebhookArray []RepositoryWebhookInput
func (RepositoryWebhookArray) ElementType ¶
func (RepositoryWebhookArray) ElementType() reflect.Type
func (RepositoryWebhookArray) ToRepositoryWebhookArrayOutput ¶
func (i RepositoryWebhookArray) ToRepositoryWebhookArrayOutput() RepositoryWebhookArrayOutput
func (RepositoryWebhookArray) ToRepositoryWebhookArrayOutputWithContext ¶
func (i RepositoryWebhookArray) ToRepositoryWebhookArrayOutputWithContext(ctx context.Context) RepositoryWebhookArrayOutput
type RepositoryWebhookArrayInput ¶
type RepositoryWebhookArrayInput interface { pulumi.Input ToRepositoryWebhookArrayOutput() RepositoryWebhookArrayOutput ToRepositoryWebhookArrayOutputWithContext(context.Context) RepositoryWebhookArrayOutput }
RepositoryWebhookArrayInput is an input type that accepts RepositoryWebhookArray and RepositoryWebhookArrayOutput values. You can construct a concrete instance of `RepositoryWebhookArrayInput` via:
RepositoryWebhookArray{ RepositoryWebhookArgs{...} }
type RepositoryWebhookArrayOutput ¶
type RepositoryWebhookArrayOutput struct{ *pulumi.OutputState }
func (RepositoryWebhookArrayOutput) ElementType ¶
func (RepositoryWebhookArrayOutput) ElementType() reflect.Type
func (RepositoryWebhookArrayOutput) Index ¶
func (o RepositoryWebhookArrayOutput) Index(i pulumi.IntInput) RepositoryWebhookOutput
func (RepositoryWebhookArrayOutput) ToRepositoryWebhookArrayOutput ¶
func (o RepositoryWebhookArrayOutput) ToRepositoryWebhookArrayOutput() RepositoryWebhookArrayOutput
func (RepositoryWebhookArrayOutput) ToRepositoryWebhookArrayOutputWithContext ¶
func (o RepositoryWebhookArrayOutput) ToRepositoryWebhookArrayOutputWithContext(ctx context.Context) RepositoryWebhookArrayOutput
type RepositoryWebhookConfiguration ¶
type RepositoryWebhookConfiguration struct { // The content type for the payload. Valid values are either `form` or `json`. ContentType *string `pulumi:"contentType"` // Insecure SSL boolean toggle. Defaults to `false`. InsecureSsl *bool `pulumi:"insecureSsl"` // The shared secret for the webhook. [See API documentation](https://developer.github.com/v3/repos/hooks/#create-a-hook). Secret *string `pulumi:"secret"` // The URL of the webhook. Url string `pulumi:"url"` }
type RepositoryWebhookConfigurationArgs ¶
type RepositoryWebhookConfigurationArgs struct { // The content type for the payload. Valid values are either `form` or `json`. ContentType pulumi.StringPtrInput `pulumi:"contentType"` // Insecure SSL boolean toggle. Defaults to `false`. InsecureSsl pulumi.BoolPtrInput `pulumi:"insecureSsl"` // The shared secret for the webhook. [See API documentation](https://developer.github.com/v3/repos/hooks/#create-a-hook). Secret pulumi.StringPtrInput `pulumi:"secret"` // The URL of the webhook. Url pulumi.StringInput `pulumi:"url"` }
func (RepositoryWebhookConfigurationArgs) ElementType ¶
func (RepositoryWebhookConfigurationArgs) ElementType() reflect.Type
func (RepositoryWebhookConfigurationArgs) ToRepositoryWebhookConfigurationOutput ¶
func (i RepositoryWebhookConfigurationArgs) ToRepositoryWebhookConfigurationOutput() RepositoryWebhookConfigurationOutput
func (RepositoryWebhookConfigurationArgs) ToRepositoryWebhookConfigurationOutputWithContext ¶
func (i RepositoryWebhookConfigurationArgs) ToRepositoryWebhookConfigurationOutputWithContext(ctx context.Context) RepositoryWebhookConfigurationOutput
func (RepositoryWebhookConfigurationArgs) ToRepositoryWebhookConfigurationPtrOutput ¶
func (i RepositoryWebhookConfigurationArgs) ToRepositoryWebhookConfigurationPtrOutput() RepositoryWebhookConfigurationPtrOutput
func (RepositoryWebhookConfigurationArgs) ToRepositoryWebhookConfigurationPtrOutputWithContext ¶
func (i RepositoryWebhookConfigurationArgs) ToRepositoryWebhookConfigurationPtrOutputWithContext(ctx context.Context) RepositoryWebhookConfigurationPtrOutput
type RepositoryWebhookConfigurationInput ¶
type RepositoryWebhookConfigurationInput interface { pulumi.Input ToRepositoryWebhookConfigurationOutput() RepositoryWebhookConfigurationOutput ToRepositoryWebhookConfigurationOutputWithContext(context.Context) RepositoryWebhookConfigurationOutput }
RepositoryWebhookConfigurationInput is an input type that accepts RepositoryWebhookConfigurationArgs and RepositoryWebhookConfigurationOutput values. You can construct a concrete instance of `RepositoryWebhookConfigurationInput` via:
RepositoryWebhookConfigurationArgs{...}
type RepositoryWebhookConfigurationOutput ¶
type RepositoryWebhookConfigurationOutput struct{ *pulumi.OutputState }
func (RepositoryWebhookConfigurationOutput) ContentType ¶
func (o RepositoryWebhookConfigurationOutput) ContentType() pulumi.StringPtrOutput
The content type for the payload. Valid values are either `form` or `json`.
func (RepositoryWebhookConfigurationOutput) ElementType ¶
func (RepositoryWebhookConfigurationOutput) ElementType() reflect.Type
func (RepositoryWebhookConfigurationOutput) InsecureSsl ¶
func (o RepositoryWebhookConfigurationOutput) InsecureSsl() pulumi.BoolPtrOutput
Insecure SSL boolean toggle. Defaults to `false`.
func (RepositoryWebhookConfigurationOutput) Secret ¶
func (o RepositoryWebhookConfigurationOutput) Secret() pulumi.StringPtrOutput
The shared secret for the webhook. [See API documentation](https://developer.github.com/v3/repos/hooks/#create-a-hook).
func (RepositoryWebhookConfigurationOutput) ToRepositoryWebhookConfigurationOutput ¶
func (o RepositoryWebhookConfigurationOutput) ToRepositoryWebhookConfigurationOutput() RepositoryWebhookConfigurationOutput
func (RepositoryWebhookConfigurationOutput) ToRepositoryWebhookConfigurationOutputWithContext ¶
func (o RepositoryWebhookConfigurationOutput) ToRepositoryWebhookConfigurationOutputWithContext(ctx context.Context) RepositoryWebhookConfigurationOutput
func (RepositoryWebhookConfigurationOutput) ToRepositoryWebhookConfigurationPtrOutput ¶
func (o RepositoryWebhookConfigurationOutput) ToRepositoryWebhookConfigurationPtrOutput() RepositoryWebhookConfigurationPtrOutput
func (RepositoryWebhookConfigurationOutput) ToRepositoryWebhookConfigurationPtrOutputWithContext ¶
func (o RepositoryWebhookConfigurationOutput) ToRepositoryWebhookConfigurationPtrOutputWithContext(ctx context.Context) RepositoryWebhookConfigurationPtrOutput
func (RepositoryWebhookConfigurationOutput) Url ¶
func (o RepositoryWebhookConfigurationOutput) Url() pulumi.StringOutput
The URL of the webhook.
type RepositoryWebhookConfigurationPtrInput ¶
type RepositoryWebhookConfigurationPtrInput interface { pulumi.Input ToRepositoryWebhookConfigurationPtrOutput() RepositoryWebhookConfigurationPtrOutput ToRepositoryWebhookConfigurationPtrOutputWithContext(context.Context) RepositoryWebhookConfigurationPtrOutput }
RepositoryWebhookConfigurationPtrInput is an input type that accepts RepositoryWebhookConfigurationArgs, RepositoryWebhookConfigurationPtr and RepositoryWebhookConfigurationPtrOutput values. You can construct a concrete instance of `RepositoryWebhookConfigurationPtrInput` via:
RepositoryWebhookConfigurationArgs{...} or: nil
func RepositoryWebhookConfigurationPtr ¶
func RepositoryWebhookConfigurationPtr(v *RepositoryWebhookConfigurationArgs) RepositoryWebhookConfigurationPtrInput
type RepositoryWebhookConfigurationPtrOutput ¶
type RepositoryWebhookConfigurationPtrOutput struct{ *pulumi.OutputState }
func (RepositoryWebhookConfigurationPtrOutput) ContentType ¶
func (o RepositoryWebhookConfigurationPtrOutput) ContentType() pulumi.StringPtrOutput
The content type for the payload. Valid values are either `form` or `json`.
func (RepositoryWebhookConfigurationPtrOutput) ElementType ¶
func (RepositoryWebhookConfigurationPtrOutput) ElementType() reflect.Type
func (RepositoryWebhookConfigurationPtrOutput) InsecureSsl ¶
func (o RepositoryWebhookConfigurationPtrOutput) InsecureSsl() pulumi.BoolPtrOutput
Insecure SSL boolean toggle. Defaults to `false`.
func (RepositoryWebhookConfigurationPtrOutput) Secret ¶
func (o RepositoryWebhookConfigurationPtrOutput) Secret() pulumi.StringPtrOutput
The shared secret for the webhook. [See API documentation](https://developer.github.com/v3/repos/hooks/#create-a-hook).
func (RepositoryWebhookConfigurationPtrOutput) ToRepositoryWebhookConfigurationPtrOutput ¶
func (o RepositoryWebhookConfigurationPtrOutput) ToRepositoryWebhookConfigurationPtrOutput() RepositoryWebhookConfigurationPtrOutput
func (RepositoryWebhookConfigurationPtrOutput) ToRepositoryWebhookConfigurationPtrOutputWithContext ¶
func (o RepositoryWebhookConfigurationPtrOutput) ToRepositoryWebhookConfigurationPtrOutputWithContext(ctx context.Context) RepositoryWebhookConfigurationPtrOutput
func (RepositoryWebhookConfigurationPtrOutput) Url ¶
func (o RepositoryWebhookConfigurationPtrOutput) Url() pulumi.StringPtrOutput
The URL of the webhook.
type RepositoryWebhookInput ¶
type RepositoryWebhookInput interface { pulumi.Input ToRepositoryWebhookOutput() RepositoryWebhookOutput ToRepositoryWebhookOutputWithContext(ctx context.Context) RepositoryWebhookOutput }
type RepositoryWebhookMap ¶
type RepositoryWebhookMap map[string]RepositoryWebhookInput
func (RepositoryWebhookMap) ElementType ¶
func (RepositoryWebhookMap) ElementType() reflect.Type
func (RepositoryWebhookMap) ToRepositoryWebhookMapOutput ¶
func (i RepositoryWebhookMap) ToRepositoryWebhookMapOutput() RepositoryWebhookMapOutput
func (RepositoryWebhookMap) ToRepositoryWebhookMapOutputWithContext ¶
func (i RepositoryWebhookMap) ToRepositoryWebhookMapOutputWithContext(ctx context.Context) RepositoryWebhookMapOutput
type RepositoryWebhookMapInput ¶
type RepositoryWebhookMapInput interface { pulumi.Input ToRepositoryWebhookMapOutput() RepositoryWebhookMapOutput ToRepositoryWebhookMapOutputWithContext(context.Context) RepositoryWebhookMapOutput }
RepositoryWebhookMapInput is an input type that accepts RepositoryWebhookMap and RepositoryWebhookMapOutput values. You can construct a concrete instance of `RepositoryWebhookMapInput` via:
RepositoryWebhookMap{ "key": RepositoryWebhookArgs{...} }
type RepositoryWebhookMapOutput ¶
type RepositoryWebhookMapOutput struct{ *pulumi.OutputState }
func (RepositoryWebhookMapOutput) ElementType ¶
func (RepositoryWebhookMapOutput) ElementType() reflect.Type
func (RepositoryWebhookMapOutput) MapIndex ¶
func (o RepositoryWebhookMapOutput) MapIndex(k pulumi.StringInput) RepositoryWebhookOutput
func (RepositoryWebhookMapOutput) ToRepositoryWebhookMapOutput ¶
func (o RepositoryWebhookMapOutput) ToRepositoryWebhookMapOutput() RepositoryWebhookMapOutput
func (RepositoryWebhookMapOutput) ToRepositoryWebhookMapOutputWithContext ¶
func (o RepositoryWebhookMapOutput) ToRepositoryWebhookMapOutputWithContext(ctx context.Context) RepositoryWebhookMapOutput
type RepositoryWebhookOutput ¶
type RepositoryWebhookOutput struct{ *pulumi.OutputState }
func (RepositoryWebhookOutput) Active ¶ added in v4.15.0
func (o RepositoryWebhookOutput) Active() pulumi.BoolPtrOutput
Indicate if the webhook should receive events. Defaults to `true`.
func (RepositoryWebhookOutput) Configuration ¶ added in v4.15.0
func (o RepositoryWebhookOutput) Configuration() RepositoryWebhookConfigurationPtrOutput
Configuration block for the webhook. Detailed below.
func (RepositoryWebhookOutput) ElementType ¶
func (RepositoryWebhookOutput) ElementType() reflect.Type
func (RepositoryWebhookOutput) Etag ¶ added in v4.15.0
func (o RepositoryWebhookOutput) Etag() pulumi.StringOutput
func (RepositoryWebhookOutput) Events ¶ added in v4.15.0
func (o RepositoryWebhookOutput) Events() pulumi.StringArrayOutput
A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/).
func (RepositoryWebhookOutput) Repository ¶ added in v4.15.0
func (o RepositoryWebhookOutput) Repository() pulumi.StringOutput
The repository of the webhook.
func (RepositoryWebhookOutput) ToRepositoryWebhookOutput ¶
func (o RepositoryWebhookOutput) ToRepositoryWebhookOutput() RepositoryWebhookOutput
func (RepositoryWebhookOutput) ToRepositoryWebhookOutputWithContext ¶
func (o RepositoryWebhookOutput) ToRepositoryWebhookOutputWithContext(ctx context.Context) RepositoryWebhookOutput
func (RepositoryWebhookOutput) Url ¶ added in v4.15.0
func (o RepositoryWebhookOutput) Url() pulumi.StringOutput
The URL of the webhook.
type RepositoryWebhookState ¶
type RepositoryWebhookState struct { // Indicate if the webhook should receive events. Defaults to `true`. Active pulumi.BoolPtrInput // Configuration block for the webhook. Detailed below. Configuration RepositoryWebhookConfigurationPtrInput Etag pulumi.StringPtrInput // A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/). Events pulumi.StringArrayInput // The repository of the webhook. Repository pulumi.StringPtrInput // The URL of the webhook. Url pulumi.StringPtrInput }
func (RepositoryWebhookState) ElementType ¶
func (RepositoryWebhookState) ElementType() reflect.Type
type Team ¶
type Team struct { pulumi.CustomResourceState // Adds a default maintainer to the team. Defaults to `false` and adds the creating user to the team when `true`. CreateDefaultMaintainer pulumi.BoolPtrOutput `pulumi:"createDefaultMaintainer"` // A description of the team. Description pulumi.StringPtrOutput `pulumi:"description"` Etag pulumi.StringOutput `pulumi:"etag"` // The LDAP Distinguished Name of the group where membership will be synchronized. Only available in GitHub Enterprise Server. LdapDn pulumi.StringPtrOutput `pulumi:"ldapDn"` MembersCount pulumi.IntOutput `pulumi:"membersCount"` // The name of the team. Name pulumi.StringOutput `pulumi:"name"` // The Node ID of the created team. NodeId pulumi.StringOutput `pulumi:"nodeId"` // The ID of the parent team, if this is a nested team. ParentTeamId pulumi.IntPtrOutput `pulumi:"parentTeamId"` // The level of privacy for the team. Must be one of `secret` or `closed`. // Defaults to `secret`. Privacy pulumi.StringPtrOutput `pulumi:"privacy"` // The slug of the created team, which may or may not differ from `name`, // depending on whether `name` contains "URL-unsafe" characters. // Useful when referencing the team in [`BranchProtection`](https://www.terraform.io/docs/providers/github/r/branch_protection.html). Slug pulumi.StringOutput `pulumi:"slug"` }
Provides a GitHub team resource.
This resource allows you to add/remove teams from your organization. When applied, a new team will be created. When destroyed, that team will be removed.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewTeam(ctx, "someTeam", &github.TeamArgs{ Description: pulumi.String("Some cool team"), Privacy: pulumi.String("closed"), }) if err != nil { return err } return nil }) }
```
## Import
GitHub Teams can be imported using the GitHub team ID e.g.
```sh
$ pulumi import github:index/team:Team core 1234567
```
func GetTeam ¶
func GetTeam(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TeamState, opts ...pulumi.ResourceOption) (*Team, error)
GetTeam gets an existing Team resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTeam ¶
func NewTeam(ctx *pulumi.Context, name string, args *TeamArgs, opts ...pulumi.ResourceOption) (*Team, error)
NewTeam registers a new resource with the given unique name, arguments, and options.
func (*Team) ElementType ¶
func (*Team) ToTeamOutput ¶
func (i *Team) ToTeamOutput() TeamOutput
func (*Team) ToTeamOutputWithContext ¶
func (i *Team) ToTeamOutputWithContext(ctx context.Context) TeamOutput
type TeamArgs ¶
type TeamArgs struct { // Adds a default maintainer to the team. Defaults to `false` and adds the creating user to the team when `true`. CreateDefaultMaintainer pulumi.BoolPtrInput // A description of the team. Description pulumi.StringPtrInput // The LDAP Distinguished Name of the group where membership will be synchronized. Only available in GitHub Enterprise Server. LdapDn pulumi.StringPtrInput // The name of the team. Name pulumi.StringPtrInput // The ID of the parent team, if this is a nested team. ParentTeamId pulumi.IntPtrInput // The level of privacy for the team. Must be one of `secret` or `closed`. // Defaults to `secret`. Privacy pulumi.StringPtrInput }
The set of arguments for constructing a Team resource.
func (TeamArgs) ElementType ¶
type TeamArray ¶
type TeamArray []TeamInput
func (TeamArray) ElementType ¶
func (TeamArray) ToTeamArrayOutput ¶
func (i TeamArray) ToTeamArrayOutput() TeamArrayOutput
func (TeamArray) ToTeamArrayOutputWithContext ¶
func (i TeamArray) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput
type TeamArrayInput ¶
type TeamArrayInput interface { pulumi.Input ToTeamArrayOutput() TeamArrayOutput ToTeamArrayOutputWithContext(context.Context) TeamArrayOutput }
TeamArrayInput is an input type that accepts TeamArray and TeamArrayOutput values. You can construct a concrete instance of `TeamArrayInput` via:
TeamArray{ TeamArgs{...} }
type TeamArrayOutput ¶
type TeamArrayOutput struct{ *pulumi.OutputState }
func (TeamArrayOutput) ElementType ¶
func (TeamArrayOutput) ElementType() reflect.Type
func (TeamArrayOutput) Index ¶
func (o TeamArrayOutput) Index(i pulumi.IntInput) TeamOutput
func (TeamArrayOutput) ToTeamArrayOutput ¶
func (o TeamArrayOutput) ToTeamArrayOutput() TeamArrayOutput
func (TeamArrayOutput) ToTeamArrayOutputWithContext ¶
func (o TeamArrayOutput) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOutput
type TeamInput ¶
type TeamInput interface { pulumi.Input ToTeamOutput() TeamOutput ToTeamOutputWithContext(ctx context.Context) TeamOutput }
type TeamMap ¶
func (TeamMap) ElementType ¶
func (TeamMap) ToTeamMapOutput ¶
func (i TeamMap) ToTeamMapOutput() TeamMapOutput
func (TeamMap) ToTeamMapOutputWithContext ¶
func (i TeamMap) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput
type TeamMapInput ¶
type TeamMapInput interface { pulumi.Input ToTeamMapOutput() TeamMapOutput ToTeamMapOutputWithContext(context.Context) TeamMapOutput }
TeamMapInput is an input type that accepts TeamMap and TeamMapOutput values. You can construct a concrete instance of `TeamMapInput` via:
TeamMap{ "key": TeamArgs{...} }
type TeamMapOutput ¶
type TeamMapOutput struct{ *pulumi.OutputState }
func (TeamMapOutput) ElementType ¶
func (TeamMapOutput) ElementType() reflect.Type
func (TeamMapOutput) MapIndex ¶
func (o TeamMapOutput) MapIndex(k pulumi.StringInput) TeamOutput
func (TeamMapOutput) ToTeamMapOutput ¶
func (o TeamMapOutput) ToTeamMapOutput() TeamMapOutput
func (TeamMapOutput) ToTeamMapOutputWithContext ¶
func (o TeamMapOutput) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput
type TeamMembers ¶ added in v4.10.0
type TeamMembers struct { pulumi.CustomResourceState Etag pulumi.StringOutput `pulumi:"etag"` // List of team members. See Members below for details. Members TeamMembersMemberArrayOutput `pulumi:"members"` // The GitHub team id TeamId pulumi.StringOutput `pulumi:"teamId"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewMembership(ctx, "membershipForSomeUser", &github.MembershipArgs{ Username: pulumi.String("SomeUser"), Role: pulumi.String("member"), }) if err != nil { return err } _, err = github.NewMembership(ctx, "membershipForAnotherUser", &github.MembershipArgs{ Username: pulumi.String("AnotherUser"), Role: pulumi.String("member"), }) if err != nil { return err } someTeam, err := github.NewTeam(ctx, "someTeam", &github.TeamArgs{ Description: pulumi.String("Some cool team"), }) if err != nil { return err } _, err = github.NewTeamMembers(ctx, "someTeamMembers", &github.TeamMembersArgs{ TeamId: someTeam.ID(), Members: TeamMembersMemberArray{ &TeamMembersMemberArgs{ Username: pulumi.String("SomeUser"), Role: pulumi.String("maintainer"), }, &TeamMembersMemberArgs{ Username: pulumi.String("AnotherUser"), Role: pulumi.String("member"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
GitHub Team Membership can be imported using the team ID `teamid`, e.g.
```sh
$ pulumi import github:index/teamMembers:TeamMembers some_team 1234567
```
func GetTeamMembers ¶ added in v4.10.0
func GetTeamMembers(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TeamMembersState, opts ...pulumi.ResourceOption) (*TeamMembers, error)
GetTeamMembers gets an existing TeamMembers resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTeamMembers ¶ added in v4.10.0
func NewTeamMembers(ctx *pulumi.Context, name string, args *TeamMembersArgs, opts ...pulumi.ResourceOption) (*TeamMembers, error)
NewTeamMembers registers a new resource with the given unique name, arguments, and options.
func (*TeamMembers) ElementType ¶ added in v4.10.0
func (*TeamMembers) ElementType() reflect.Type
func (*TeamMembers) ToTeamMembersOutput ¶ added in v4.10.0
func (i *TeamMembers) ToTeamMembersOutput() TeamMembersOutput
func (*TeamMembers) ToTeamMembersOutputWithContext ¶ added in v4.10.0
func (i *TeamMembers) ToTeamMembersOutputWithContext(ctx context.Context) TeamMembersOutput
type TeamMembersArgs ¶ added in v4.10.0
type TeamMembersArgs struct { // List of team members. See Members below for details. Members TeamMembersMemberArrayInput // The GitHub team id TeamId pulumi.StringInput }
The set of arguments for constructing a TeamMembers resource.
func (TeamMembersArgs) ElementType ¶ added in v4.10.0
func (TeamMembersArgs) ElementType() reflect.Type
type TeamMembersArray ¶ added in v4.10.0
type TeamMembersArray []TeamMembersInput
func (TeamMembersArray) ElementType ¶ added in v4.10.0
func (TeamMembersArray) ElementType() reflect.Type
func (TeamMembersArray) ToTeamMembersArrayOutput ¶ added in v4.10.0
func (i TeamMembersArray) ToTeamMembersArrayOutput() TeamMembersArrayOutput
func (TeamMembersArray) ToTeamMembersArrayOutputWithContext ¶ added in v4.10.0
func (i TeamMembersArray) ToTeamMembersArrayOutputWithContext(ctx context.Context) TeamMembersArrayOutput
type TeamMembersArrayInput ¶ added in v4.10.0
type TeamMembersArrayInput interface { pulumi.Input ToTeamMembersArrayOutput() TeamMembersArrayOutput ToTeamMembersArrayOutputWithContext(context.Context) TeamMembersArrayOutput }
TeamMembersArrayInput is an input type that accepts TeamMembersArray and TeamMembersArrayOutput values. You can construct a concrete instance of `TeamMembersArrayInput` via:
TeamMembersArray{ TeamMembersArgs{...} }
type TeamMembersArrayOutput ¶ added in v4.10.0
type TeamMembersArrayOutput struct{ *pulumi.OutputState }
func (TeamMembersArrayOutput) ElementType ¶ added in v4.10.0
func (TeamMembersArrayOutput) ElementType() reflect.Type
func (TeamMembersArrayOutput) Index ¶ added in v4.10.0
func (o TeamMembersArrayOutput) Index(i pulumi.IntInput) TeamMembersOutput
func (TeamMembersArrayOutput) ToTeamMembersArrayOutput ¶ added in v4.10.0
func (o TeamMembersArrayOutput) ToTeamMembersArrayOutput() TeamMembersArrayOutput
func (TeamMembersArrayOutput) ToTeamMembersArrayOutputWithContext ¶ added in v4.10.0
func (o TeamMembersArrayOutput) ToTeamMembersArrayOutputWithContext(ctx context.Context) TeamMembersArrayOutput
type TeamMembersInput ¶ added in v4.10.0
type TeamMembersInput interface { pulumi.Input ToTeamMembersOutput() TeamMembersOutput ToTeamMembersOutputWithContext(ctx context.Context) TeamMembersOutput }
type TeamMembersMap ¶ added in v4.10.0
type TeamMembersMap map[string]TeamMembersInput
func (TeamMembersMap) ElementType ¶ added in v4.10.0
func (TeamMembersMap) ElementType() reflect.Type
func (TeamMembersMap) ToTeamMembersMapOutput ¶ added in v4.10.0
func (i TeamMembersMap) ToTeamMembersMapOutput() TeamMembersMapOutput
func (TeamMembersMap) ToTeamMembersMapOutputWithContext ¶ added in v4.10.0
func (i TeamMembersMap) ToTeamMembersMapOutputWithContext(ctx context.Context) TeamMembersMapOutput
type TeamMembersMapInput ¶ added in v4.10.0
type TeamMembersMapInput interface { pulumi.Input ToTeamMembersMapOutput() TeamMembersMapOutput ToTeamMembersMapOutputWithContext(context.Context) TeamMembersMapOutput }
TeamMembersMapInput is an input type that accepts TeamMembersMap and TeamMembersMapOutput values. You can construct a concrete instance of `TeamMembersMapInput` via:
TeamMembersMap{ "key": TeamMembersArgs{...} }
type TeamMembersMapOutput ¶ added in v4.10.0
type TeamMembersMapOutput struct{ *pulumi.OutputState }
func (TeamMembersMapOutput) ElementType ¶ added in v4.10.0
func (TeamMembersMapOutput) ElementType() reflect.Type
func (TeamMembersMapOutput) MapIndex ¶ added in v4.10.0
func (o TeamMembersMapOutput) MapIndex(k pulumi.StringInput) TeamMembersOutput
func (TeamMembersMapOutput) ToTeamMembersMapOutput ¶ added in v4.10.0
func (o TeamMembersMapOutput) ToTeamMembersMapOutput() TeamMembersMapOutput
func (TeamMembersMapOutput) ToTeamMembersMapOutputWithContext ¶ added in v4.10.0
func (o TeamMembersMapOutput) ToTeamMembersMapOutputWithContext(ctx context.Context) TeamMembersMapOutput
type TeamMembersMember ¶ added in v4.10.0
type TeamMembersMemberArgs ¶ added in v4.10.0
type TeamMembersMemberArgs struct { // The role of the user within the team. // Must be one of `member` or `maintainer`. Defaults to `member`. Role pulumi.StringPtrInput `pulumi:"role"` // The user to add to the team. Username pulumi.StringInput `pulumi:"username"` }
func (TeamMembersMemberArgs) ElementType ¶ added in v4.10.0
func (TeamMembersMemberArgs) ElementType() reflect.Type
func (TeamMembersMemberArgs) ToTeamMembersMemberOutput ¶ added in v4.10.0
func (i TeamMembersMemberArgs) ToTeamMembersMemberOutput() TeamMembersMemberOutput
func (TeamMembersMemberArgs) ToTeamMembersMemberOutputWithContext ¶ added in v4.10.0
func (i TeamMembersMemberArgs) ToTeamMembersMemberOutputWithContext(ctx context.Context) TeamMembersMemberOutput
type TeamMembersMemberArray ¶ added in v4.10.0
type TeamMembersMemberArray []TeamMembersMemberInput
func (TeamMembersMemberArray) ElementType ¶ added in v4.10.0
func (TeamMembersMemberArray) ElementType() reflect.Type
func (TeamMembersMemberArray) ToTeamMembersMemberArrayOutput ¶ added in v4.10.0
func (i TeamMembersMemberArray) ToTeamMembersMemberArrayOutput() TeamMembersMemberArrayOutput
func (TeamMembersMemberArray) ToTeamMembersMemberArrayOutputWithContext ¶ added in v4.10.0
func (i TeamMembersMemberArray) ToTeamMembersMemberArrayOutputWithContext(ctx context.Context) TeamMembersMemberArrayOutput
type TeamMembersMemberArrayInput ¶ added in v4.10.0
type TeamMembersMemberArrayInput interface { pulumi.Input ToTeamMembersMemberArrayOutput() TeamMembersMemberArrayOutput ToTeamMembersMemberArrayOutputWithContext(context.Context) TeamMembersMemberArrayOutput }
TeamMembersMemberArrayInput is an input type that accepts TeamMembersMemberArray and TeamMembersMemberArrayOutput values. You can construct a concrete instance of `TeamMembersMemberArrayInput` via:
TeamMembersMemberArray{ TeamMembersMemberArgs{...} }
type TeamMembersMemberArrayOutput ¶ added in v4.10.0
type TeamMembersMemberArrayOutput struct{ *pulumi.OutputState }
func (TeamMembersMemberArrayOutput) ElementType ¶ added in v4.10.0
func (TeamMembersMemberArrayOutput) ElementType() reflect.Type
func (TeamMembersMemberArrayOutput) Index ¶ added in v4.10.0
func (o TeamMembersMemberArrayOutput) Index(i pulumi.IntInput) TeamMembersMemberOutput
func (TeamMembersMemberArrayOutput) ToTeamMembersMemberArrayOutput ¶ added in v4.10.0
func (o TeamMembersMemberArrayOutput) ToTeamMembersMemberArrayOutput() TeamMembersMemberArrayOutput
func (TeamMembersMemberArrayOutput) ToTeamMembersMemberArrayOutputWithContext ¶ added in v4.10.0
func (o TeamMembersMemberArrayOutput) ToTeamMembersMemberArrayOutputWithContext(ctx context.Context) TeamMembersMemberArrayOutput
type TeamMembersMemberInput ¶ added in v4.10.0
type TeamMembersMemberInput interface { pulumi.Input ToTeamMembersMemberOutput() TeamMembersMemberOutput ToTeamMembersMemberOutputWithContext(context.Context) TeamMembersMemberOutput }
TeamMembersMemberInput is an input type that accepts TeamMembersMemberArgs and TeamMembersMemberOutput values. You can construct a concrete instance of `TeamMembersMemberInput` via:
TeamMembersMemberArgs{...}
type TeamMembersMemberOutput ¶ added in v4.10.0
type TeamMembersMemberOutput struct{ *pulumi.OutputState }
func (TeamMembersMemberOutput) ElementType ¶ added in v4.10.0
func (TeamMembersMemberOutput) ElementType() reflect.Type
func (TeamMembersMemberOutput) Role ¶ added in v4.10.0
func (o TeamMembersMemberOutput) Role() pulumi.StringPtrOutput
The role of the user within the team. Must be one of `member` or `maintainer`. Defaults to `member`.
func (TeamMembersMemberOutput) ToTeamMembersMemberOutput ¶ added in v4.10.0
func (o TeamMembersMemberOutput) ToTeamMembersMemberOutput() TeamMembersMemberOutput
func (TeamMembersMemberOutput) ToTeamMembersMemberOutputWithContext ¶ added in v4.10.0
func (o TeamMembersMemberOutput) ToTeamMembersMemberOutputWithContext(ctx context.Context) TeamMembersMemberOutput
func (TeamMembersMemberOutput) Username ¶ added in v4.10.0
func (o TeamMembersMemberOutput) Username() pulumi.StringOutput
The user to add to the team.
type TeamMembersOutput ¶ added in v4.10.0
type TeamMembersOutput struct{ *pulumi.OutputState }
func (TeamMembersOutput) ElementType ¶ added in v4.10.0
func (TeamMembersOutput) ElementType() reflect.Type
func (TeamMembersOutput) Etag ¶ added in v4.15.0
func (o TeamMembersOutput) Etag() pulumi.StringOutput
func (TeamMembersOutput) Members ¶ added in v4.15.0
func (o TeamMembersOutput) Members() TeamMembersMemberArrayOutput
List of team members. See Members below for details.
func (TeamMembersOutput) TeamId ¶ added in v4.15.0
func (o TeamMembersOutput) TeamId() pulumi.StringOutput
The GitHub team id
func (TeamMembersOutput) ToTeamMembersOutput ¶ added in v4.10.0
func (o TeamMembersOutput) ToTeamMembersOutput() TeamMembersOutput
func (TeamMembersOutput) ToTeamMembersOutputWithContext ¶ added in v4.10.0
func (o TeamMembersOutput) ToTeamMembersOutputWithContext(ctx context.Context) TeamMembersOutput
type TeamMembersState ¶ added in v4.10.0
type TeamMembersState struct { Etag pulumi.StringPtrInput // List of team members. See Members below for details. Members TeamMembersMemberArrayInput // The GitHub team id TeamId pulumi.StringPtrInput }
func (TeamMembersState) ElementType ¶ added in v4.10.0
func (TeamMembersState) ElementType() reflect.Type
type TeamMembership ¶
type TeamMembership struct { pulumi.CustomResourceState Etag pulumi.StringOutput `pulumi:"etag"` // The role of the user within the team. // Must be one of `member` or `maintainer`. Defaults to `member`. Role pulumi.StringPtrOutput `pulumi:"role"` // The GitHub team id TeamId pulumi.StringOutput `pulumi:"teamId"` // The user to add to the team. Username pulumi.StringOutput `pulumi:"username"` }
Provides a GitHub team membership resource.
This resource allows you to add/remove users from teams in your organization. When applied, the user will be added to the team. If the user hasn't accepted their invitation to the organization, they won't be part of the team until they do. When destroyed, the user will be removed from the team.
> **Note**: This resource is not compatible with `TeamMembers`. Use either `TeamMembers` or `TeamMembership`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewMembership(ctx, "membershipForSomeUser", &github.MembershipArgs{ Username: pulumi.String("SomeUser"), Role: pulumi.String("member"), }) if err != nil { return err } someTeam, err := github.NewTeam(ctx, "someTeam", &github.TeamArgs{ Description: pulumi.String("Some cool team"), }) if err != nil { return err } _, err = github.NewTeamMembership(ctx, "someTeamMembership", &github.TeamMembershipArgs{ TeamId: someTeam.ID(), Username: pulumi.String("SomeUser"), Role: pulumi.String("member"), }) if err != nil { return err } return nil }) }
```
## Import
GitHub Team Membership can be imported using an ID made up of `teamid:username`, e.g.
```sh
$ pulumi import github:index/teamMembership:TeamMembership member 1234567:someuser
```
func GetTeamMembership ¶
func GetTeamMembership(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TeamMembershipState, opts ...pulumi.ResourceOption) (*TeamMembership, error)
GetTeamMembership gets an existing TeamMembership resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTeamMembership ¶
func NewTeamMembership(ctx *pulumi.Context, name string, args *TeamMembershipArgs, opts ...pulumi.ResourceOption) (*TeamMembership, error)
NewTeamMembership registers a new resource with the given unique name, arguments, and options.
func (*TeamMembership) ElementType ¶
func (*TeamMembership) ElementType() reflect.Type
func (*TeamMembership) ToTeamMembershipOutput ¶
func (i *TeamMembership) ToTeamMembershipOutput() TeamMembershipOutput
func (*TeamMembership) ToTeamMembershipOutputWithContext ¶
func (i *TeamMembership) ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput
type TeamMembershipArgs ¶
type TeamMembershipArgs struct { // The role of the user within the team. // Must be one of `member` or `maintainer`. Defaults to `member`. Role pulumi.StringPtrInput // The GitHub team id TeamId pulumi.StringInput // The user to add to the team. Username pulumi.StringInput }
The set of arguments for constructing a TeamMembership resource.
func (TeamMembershipArgs) ElementType ¶
func (TeamMembershipArgs) ElementType() reflect.Type
type TeamMembershipArray ¶
type TeamMembershipArray []TeamMembershipInput
func (TeamMembershipArray) ElementType ¶
func (TeamMembershipArray) ElementType() reflect.Type
func (TeamMembershipArray) ToTeamMembershipArrayOutput ¶
func (i TeamMembershipArray) ToTeamMembershipArrayOutput() TeamMembershipArrayOutput
func (TeamMembershipArray) ToTeamMembershipArrayOutputWithContext ¶
func (i TeamMembershipArray) ToTeamMembershipArrayOutputWithContext(ctx context.Context) TeamMembershipArrayOutput
type TeamMembershipArrayInput ¶
type TeamMembershipArrayInput interface { pulumi.Input ToTeamMembershipArrayOutput() TeamMembershipArrayOutput ToTeamMembershipArrayOutputWithContext(context.Context) TeamMembershipArrayOutput }
TeamMembershipArrayInput is an input type that accepts TeamMembershipArray and TeamMembershipArrayOutput values. You can construct a concrete instance of `TeamMembershipArrayInput` via:
TeamMembershipArray{ TeamMembershipArgs{...} }
type TeamMembershipArrayOutput ¶
type TeamMembershipArrayOutput struct{ *pulumi.OutputState }
func (TeamMembershipArrayOutput) ElementType ¶
func (TeamMembershipArrayOutput) ElementType() reflect.Type
func (TeamMembershipArrayOutput) Index ¶
func (o TeamMembershipArrayOutput) Index(i pulumi.IntInput) TeamMembershipOutput
func (TeamMembershipArrayOutput) ToTeamMembershipArrayOutput ¶
func (o TeamMembershipArrayOutput) ToTeamMembershipArrayOutput() TeamMembershipArrayOutput
func (TeamMembershipArrayOutput) ToTeamMembershipArrayOutputWithContext ¶
func (o TeamMembershipArrayOutput) ToTeamMembershipArrayOutputWithContext(ctx context.Context) TeamMembershipArrayOutput
type TeamMembershipInput ¶
type TeamMembershipInput interface { pulumi.Input ToTeamMembershipOutput() TeamMembershipOutput ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput }
type TeamMembershipMap ¶
type TeamMembershipMap map[string]TeamMembershipInput
func (TeamMembershipMap) ElementType ¶
func (TeamMembershipMap) ElementType() reflect.Type
func (TeamMembershipMap) ToTeamMembershipMapOutput ¶
func (i TeamMembershipMap) ToTeamMembershipMapOutput() TeamMembershipMapOutput
func (TeamMembershipMap) ToTeamMembershipMapOutputWithContext ¶
func (i TeamMembershipMap) ToTeamMembershipMapOutputWithContext(ctx context.Context) TeamMembershipMapOutput
type TeamMembershipMapInput ¶
type TeamMembershipMapInput interface { pulumi.Input ToTeamMembershipMapOutput() TeamMembershipMapOutput ToTeamMembershipMapOutputWithContext(context.Context) TeamMembershipMapOutput }
TeamMembershipMapInput is an input type that accepts TeamMembershipMap and TeamMembershipMapOutput values. You can construct a concrete instance of `TeamMembershipMapInput` via:
TeamMembershipMap{ "key": TeamMembershipArgs{...} }
type TeamMembershipMapOutput ¶
type TeamMembershipMapOutput struct{ *pulumi.OutputState }
func (TeamMembershipMapOutput) ElementType ¶
func (TeamMembershipMapOutput) ElementType() reflect.Type
func (TeamMembershipMapOutput) MapIndex ¶
func (o TeamMembershipMapOutput) MapIndex(k pulumi.StringInput) TeamMembershipOutput
func (TeamMembershipMapOutput) ToTeamMembershipMapOutput ¶
func (o TeamMembershipMapOutput) ToTeamMembershipMapOutput() TeamMembershipMapOutput
func (TeamMembershipMapOutput) ToTeamMembershipMapOutputWithContext ¶
func (o TeamMembershipMapOutput) ToTeamMembershipMapOutputWithContext(ctx context.Context) TeamMembershipMapOutput
type TeamMembershipOutput ¶
type TeamMembershipOutput struct{ *pulumi.OutputState }
func (TeamMembershipOutput) ElementType ¶
func (TeamMembershipOutput) ElementType() reflect.Type
func (TeamMembershipOutput) Etag ¶ added in v4.15.0
func (o TeamMembershipOutput) Etag() pulumi.StringOutput
func (TeamMembershipOutput) Role ¶ added in v4.15.0
func (o TeamMembershipOutput) Role() pulumi.StringPtrOutput
The role of the user within the team. Must be one of `member` or `maintainer`. Defaults to `member`.
func (TeamMembershipOutput) TeamId ¶ added in v4.15.0
func (o TeamMembershipOutput) TeamId() pulumi.StringOutput
The GitHub team id
func (TeamMembershipOutput) ToTeamMembershipOutput ¶
func (o TeamMembershipOutput) ToTeamMembershipOutput() TeamMembershipOutput
func (TeamMembershipOutput) ToTeamMembershipOutputWithContext ¶
func (o TeamMembershipOutput) ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput
func (TeamMembershipOutput) Username ¶ added in v4.15.0
func (o TeamMembershipOutput) Username() pulumi.StringOutput
The user to add to the team.
type TeamMembershipState ¶
type TeamMembershipState struct { Etag pulumi.StringPtrInput // The role of the user within the team. // Must be one of `member` or `maintainer`. Defaults to `member`. Role pulumi.StringPtrInput // The GitHub team id TeamId pulumi.StringPtrInput // The user to add to the team. Username pulumi.StringPtrInput }
func (TeamMembershipState) ElementType ¶
func (TeamMembershipState) ElementType() reflect.Type
type TeamOutput ¶
type TeamOutput struct{ *pulumi.OutputState }
func (TeamOutput) CreateDefaultMaintainer ¶ added in v4.15.0
func (o TeamOutput) CreateDefaultMaintainer() pulumi.BoolPtrOutput
Adds a default maintainer to the team. Defaults to `false` and adds the creating user to the team when `true`.
func (TeamOutput) Description ¶ added in v4.15.0
func (o TeamOutput) Description() pulumi.StringPtrOutput
A description of the team.
func (TeamOutput) ElementType ¶
func (TeamOutput) ElementType() reflect.Type
func (TeamOutput) Etag ¶ added in v4.15.0
func (o TeamOutput) Etag() pulumi.StringOutput
func (TeamOutput) LdapDn ¶ added in v4.15.0
func (o TeamOutput) LdapDn() pulumi.StringPtrOutput
The LDAP Distinguished Name of the group where membership will be synchronized. Only available in GitHub Enterprise Server.
func (TeamOutput) MembersCount ¶ added in v4.15.0
func (o TeamOutput) MembersCount() pulumi.IntOutput
func (TeamOutput) Name ¶ added in v4.15.0
func (o TeamOutput) Name() pulumi.StringOutput
The name of the team.
func (TeamOutput) NodeId ¶ added in v4.15.0
func (o TeamOutput) NodeId() pulumi.StringOutput
The Node ID of the created team.
func (TeamOutput) ParentTeamId ¶ added in v4.15.0
func (o TeamOutput) ParentTeamId() pulumi.IntPtrOutput
The ID of the parent team, if this is a nested team.
func (TeamOutput) Privacy ¶ added in v4.15.0
func (o TeamOutput) Privacy() pulumi.StringPtrOutput
The level of privacy for the team. Must be one of `secret` or `closed`. Defaults to `secret`.
func (TeamOutput) Slug ¶ added in v4.15.0
func (o TeamOutput) Slug() pulumi.StringOutput
The slug of the created team, which may or may not differ from `name`, depending on whether `name` contains "URL-unsafe" characters. Useful when referencing the team in [`BranchProtection`](https://www.terraform.io/docs/providers/github/r/branch_protection.html).
func (TeamOutput) ToTeamOutput ¶
func (o TeamOutput) ToTeamOutput() TeamOutput
func (TeamOutput) ToTeamOutputWithContext ¶
func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput
type TeamRepository ¶
type TeamRepository struct { pulumi.CustomResourceState Etag pulumi.StringOutput `pulumi:"etag"` // The permissions of team members regarding the repository. // Must be one of `pull`, `triage`, `push`, `maintain`, `admin` or the name of an existing [custom repository role](https://docs.github.com/en/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization) within the organisation. Defaults to `pull`. Permission pulumi.StringPtrOutput `pulumi:"permission"` // The repository to add to the team. Repository pulumi.StringOutput `pulumi:"repository"` // The GitHub team id or the GitHub team slug TeamId pulumi.StringOutput `pulumi:"teamId"` }
This resource manages relationships between teams and repositories in your GitHub organization.
Creating this resource grants a particular team permissions on a particular repository.
The repository and the team must both belong to the same organization on GitHub. This resource does not actually *create* any repositories; to do that, see `Repository`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { someTeam, err := github.NewTeam(ctx, "someTeam", &github.TeamArgs{ Description: pulumi.String("Some cool team"), }) if err != nil { return err } someRepo, err := github.NewRepository(ctx, "someRepo", nil) if err != nil { return err } _, err = github.NewTeamRepository(ctx, "someTeamRepo", &github.TeamRepositoryArgs{ TeamId: someTeam.ID(), Repository: someRepo.Name, Permission: pulumi.String("pull"), }) if err != nil { return err } return nil }) }
```
## Import
GitHub Team Repository can be imported using an ID made up of `teamid:repository`, e.g.
```sh
$ pulumi import github:index/teamRepository:TeamRepository terraform_repo 1234567:terraform
```
func GetTeamRepository ¶
func GetTeamRepository(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TeamRepositoryState, opts ...pulumi.ResourceOption) (*TeamRepository, error)
GetTeamRepository gets an existing TeamRepository resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTeamRepository ¶
func NewTeamRepository(ctx *pulumi.Context, name string, args *TeamRepositoryArgs, opts ...pulumi.ResourceOption) (*TeamRepository, error)
NewTeamRepository registers a new resource with the given unique name, arguments, and options.
func (*TeamRepository) ElementType ¶
func (*TeamRepository) ElementType() reflect.Type
func (*TeamRepository) ToTeamRepositoryOutput ¶
func (i *TeamRepository) ToTeamRepositoryOutput() TeamRepositoryOutput
func (*TeamRepository) ToTeamRepositoryOutputWithContext ¶
func (i *TeamRepository) ToTeamRepositoryOutputWithContext(ctx context.Context) TeamRepositoryOutput
type TeamRepositoryArgs ¶
type TeamRepositoryArgs struct { // The permissions of team members regarding the repository. // Must be one of `pull`, `triage`, `push`, `maintain`, `admin` or the name of an existing [custom repository role](https://docs.github.com/en/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization) within the organisation. Defaults to `pull`. Permission pulumi.StringPtrInput // The repository to add to the team. Repository pulumi.StringInput // The GitHub team id or the GitHub team slug TeamId pulumi.StringInput }
The set of arguments for constructing a TeamRepository resource.
func (TeamRepositoryArgs) ElementType ¶
func (TeamRepositoryArgs) ElementType() reflect.Type
type TeamRepositoryArray ¶
type TeamRepositoryArray []TeamRepositoryInput
func (TeamRepositoryArray) ElementType ¶
func (TeamRepositoryArray) ElementType() reflect.Type
func (TeamRepositoryArray) ToTeamRepositoryArrayOutput ¶
func (i TeamRepositoryArray) ToTeamRepositoryArrayOutput() TeamRepositoryArrayOutput
func (TeamRepositoryArray) ToTeamRepositoryArrayOutputWithContext ¶
func (i TeamRepositoryArray) ToTeamRepositoryArrayOutputWithContext(ctx context.Context) TeamRepositoryArrayOutput
type TeamRepositoryArrayInput ¶
type TeamRepositoryArrayInput interface { pulumi.Input ToTeamRepositoryArrayOutput() TeamRepositoryArrayOutput ToTeamRepositoryArrayOutputWithContext(context.Context) TeamRepositoryArrayOutput }
TeamRepositoryArrayInput is an input type that accepts TeamRepositoryArray and TeamRepositoryArrayOutput values. You can construct a concrete instance of `TeamRepositoryArrayInput` via:
TeamRepositoryArray{ TeamRepositoryArgs{...} }
type TeamRepositoryArrayOutput ¶
type TeamRepositoryArrayOutput struct{ *pulumi.OutputState }
func (TeamRepositoryArrayOutput) ElementType ¶
func (TeamRepositoryArrayOutput) ElementType() reflect.Type
func (TeamRepositoryArrayOutput) Index ¶
func (o TeamRepositoryArrayOutput) Index(i pulumi.IntInput) TeamRepositoryOutput
func (TeamRepositoryArrayOutput) ToTeamRepositoryArrayOutput ¶
func (o TeamRepositoryArrayOutput) ToTeamRepositoryArrayOutput() TeamRepositoryArrayOutput
func (TeamRepositoryArrayOutput) ToTeamRepositoryArrayOutputWithContext ¶
func (o TeamRepositoryArrayOutput) ToTeamRepositoryArrayOutputWithContext(ctx context.Context) TeamRepositoryArrayOutput
type TeamRepositoryInput ¶
type TeamRepositoryInput interface { pulumi.Input ToTeamRepositoryOutput() TeamRepositoryOutput ToTeamRepositoryOutputWithContext(ctx context.Context) TeamRepositoryOutput }
type TeamRepositoryMap ¶
type TeamRepositoryMap map[string]TeamRepositoryInput
func (TeamRepositoryMap) ElementType ¶
func (TeamRepositoryMap) ElementType() reflect.Type
func (TeamRepositoryMap) ToTeamRepositoryMapOutput ¶
func (i TeamRepositoryMap) ToTeamRepositoryMapOutput() TeamRepositoryMapOutput
func (TeamRepositoryMap) ToTeamRepositoryMapOutputWithContext ¶
func (i TeamRepositoryMap) ToTeamRepositoryMapOutputWithContext(ctx context.Context) TeamRepositoryMapOutput
type TeamRepositoryMapInput ¶
type TeamRepositoryMapInput interface { pulumi.Input ToTeamRepositoryMapOutput() TeamRepositoryMapOutput ToTeamRepositoryMapOutputWithContext(context.Context) TeamRepositoryMapOutput }
TeamRepositoryMapInput is an input type that accepts TeamRepositoryMap and TeamRepositoryMapOutput values. You can construct a concrete instance of `TeamRepositoryMapInput` via:
TeamRepositoryMap{ "key": TeamRepositoryArgs{...} }
type TeamRepositoryMapOutput ¶
type TeamRepositoryMapOutput struct{ *pulumi.OutputState }
func (TeamRepositoryMapOutput) ElementType ¶
func (TeamRepositoryMapOutput) ElementType() reflect.Type
func (TeamRepositoryMapOutput) MapIndex ¶
func (o TeamRepositoryMapOutput) MapIndex(k pulumi.StringInput) TeamRepositoryOutput
func (TeamRepositoryMapOutput) ToTeamRepositoryMapOutput ¶
func (o TeamRepositoryMapOutput) ToTeamRepositoryMapOutput() TeamRepositoryMapOutput
func (TeamRepositoryMapOutput) ToTeamRepositoryMapOutputWithContext ¶
func (o TeamRepositoryMapOutput) ToTeamRepositoryMapOutputWithContext(ctx context.Context) TeamRepositoryMapOutput
type TeamRepositoryOutput ¶
type TeamRepositoryOutput struct{ *pulumi.OutputState }
func (TeamRepositoryOutput) ElementType ¶
func (TeamRepositoryOutput) ElementType() reflect.Type
func (TeamRepositoryOutput) Etag ¶ added in v4.15.0
func (o TeamRepositoryOutput) Etag() pulumi.StringOutput
func (TeamRepositoryOutput) Permission ¶ added in v4.15.0
func (o TeamRepositoryOutput) Permission() pulumi.StringPtrOutput
The permissions of team members regarding the repository. Must be one of `pull`, `triage`, `push`, `maintain`, `admin` or the name of an existing [custom repository role](https://docs.github.com/en/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization) within the organisation. Defaults to `pull`.
func (TeamRepositoryOutput) Repository ¶ added in v4.15.0
func (o TeamRepositoryOutput) Repository() pulumi.StringOutput
The repository to add to the team.
func (TeamRepositoryOutput) TeamId ¶ added in v4.15.0
func (o TeamRepositoryOutput) TeamId() pulumi.StringOutput
The GitHub team id or the GitHub team slug
func (TeamRepositoryOutput) ToTeamRepositoryOutput ¶
func (o TeamRepositoryOutput) ToTeamRepositoryOutput() TeamRepositoryOutput
func (TeamRepositoryOutput) ToTeamRepositoryOutputWithContext ¶
func (o TeamRepositoryOutput) ToTeamRepositoryOutputWithContext(ctx context.Context) TeamRepositoryOutput
type TeamRepositoryState ¶
type TeamRepositoryState struct { Etag pulumi.StringPtrInput // The permissions of team members regarding the repository. // Must be one of `pull`, `triage`, `push`, `maintain`, `admin` or the name of an existing [custom repository role](https://docs.github.com/en/enterprise-cloud@latest/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization) within the organisation. Defaults to `pull`. Permission pulumi.StringPtrInput // The repository to add to the team. Repository pulumi.StringPtrInput // The GitHub team id or the GitHub team slug TeamId pulumi.StringPtrInput }
func (TeamRepositoryState) ElementType ¶
func (TeamRepositoryState) ElementType() reflect.Type
type TeamState ¶
type TeamState struct { // Adds a default maintainer to the team. Defaults to `false` and adds the creating user to the team when `true`. CreateDefaultMaintainer pulumi.BoolPtrInput // A description of the team. Description pulumi.StringPtrInput Etag pulumi.StringPtrInput // The LDAP Distinguished Name of the group where membership will be synchronized. Only available in GitHub Enterprise Server. LdapDn pulumi.StringPtrInput MembersCount pulumi.IntPtrInput // The name of the team. Name pulumi.StringPtrInput // The Node ID of the created team. NodeId pulumi.StringPtrInput // The ID of the parent team, if this is a nested team. ParentTeamId pulumi.IntPtrInput // The level of privacy for the team. Must be one of `secret` or `closed`. // Defaults to `secret`. Privacy pulumi.StringPtrInput // The slug of the created team, which may or may not differ from `name`, // depending on whether `name` contains "URL-unsafe" characters. // Useful when referencing the team in [`BranchProtection`](https://www.terraform.io/docs/providers/github/r/branch_protection.html). Slug pulumi.StringPtrInput }
func (TeamState) ElementType ¶
type TeamSyncGroupMapping ¶
type TeamSyncGroupMapping struct { pulumi.CustomResourceState Etag pulumi.StringOutput `pulumi:"etag"` // An Array of GitHub Identity Provider Groups (or empty []). Each `group` block consists of the fields documented below. // *** Groups TeamSyncGroupMappingGroupArrayOutput `pulumi:"groups"` // Slug of the team TeamSlug pulumi.StringOutput `pulumi:"teamSlug"` }
This resource allows you to create and manage Identity Provider (IdP) group connections within your GitHub teams. You must have team synchronization enabled for organizations owned by enterprise accounts.
To learn more about team synchronization between IdPs and GitHub, please refer to: https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/synchronizing-teams-between-your-identity-provider-and-github
## Import
GitHub Team Sync Group Mappings can be imported using the GitHub team `slug` e.g.
```sh
$ pulumi import github:index/teamSyncGroupMapping:TeamSyncGroupMapping example some_team
```
func GetTeamSyncGroupMapping ¶
func GetTeamSyncGroupMapping(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TeamSyncGroupMappingState, opts ...pulumi.ResourceOption) (*TeamSyncGroupMapping, error)
GetTeamSyncGroupMapping gets an existing TeamSyncGroupMapping resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTeamSyncGroupMapping ¶
func NewTeamSyncGroupMapping(ctx *pulumi.Context, name string, args *TeamSyncGroupMappingArgs, opts ...pulumi.ResourceOption) (*TeamSyncGroupMapping, error)
NewTeamSyncGroupMapping registers a new resource with the given unique name, arguments, and options.
func (*TeamSyncGroupMapping) ElementType ¶
func (*TeamSyncGroupMapping) ElementType() reflect.Type
func (*TeamSyncGroupMapping) ToTeamSyncGroupMappingOutput ¶
func (i *TeamSyncGroupMapping) ToTeamSyncGroupMappingOutput() TeamSyncGroupMappingOutput
func (*TeamSyncGroupMapping) ToTeamSyncGroupMappingOutputWithContext ¶
func (i *TeamSyncGroupMapping) ToTeamSyncGroupMappingOutputWithContext(ctx context.Context) TeamSyncGroupMappingOutput
type TeamSyncGroupMappingArgs ¶
type TeamSyncGroupMappingArgs struct { // An Array of GitHub Identity Provider Groups (or empty []). Each `group` block consists of the fields documented below. // *** Groups TeamSyncGroupMappingGroupArrayInput // Slug of the team TeamSlug pulumi.StringInput }
The set of arguments for constructing a TeamSyncGroupMapping resource.
func (TeamSyncGroupMappingArgs) ElementType ¶
func (TeamSyncGroupMappingArgs) ElementType() reflect.Type
type TeamSyncGroupMappingArray ¶
type TeamSyncGroupMappingArray []TeamSyncGroupMappingInput
func (TeamSyncGroupMappingArray) ElementType ¶
func (TeamSyncGroupMappingArray) ElementType() reflect.Type
func (TeamSyncGroupMappingArray) ToTeamSyncGroupMappingArrayOutput ¶
func (i TeamSyncGroupMappingArray) ToTeamSyncGroupMappingArrayOutput() TeamSyncGroupMappingArrayOutput
func (TeamSyncGroupMappingArray) ToTeamSyncGroupMappingArrayOutputWithContext ¶
func (i TeamSyncGroupMappingArray) ToTeamSyncGroupMappingArrayOutputWithContext(ctx context.Context) TeamSyncGroupMappingArrayOutput
type TeamSyncGroupMappingArrayInput ¶
type TeamSyncGroupMappingArrayInput interface { pulumi.Input ToTeamSyncGroupMappingArrayOutput() TeamSyncGroupMappingArrayOutput ToTeamSyncGroupMappingArrayOutputWithContext(context.Context) TeamSyncGroupMappingArrayOutput }
TeamSyncGroupMappingArrayInput is an input type that accepts TeamSyncGroupMappingArray and TeamSyncGroupMappingArrayOutput values. You can construct a concrete instance of `TeamSyncGroupMappingArrayInput` via:
TeamSyncGroupMappingArray{ TeamSyncGroupMappingArgs{...} }
type TeamSyncGroupMappingArrayOutput ¶
type TeamSyncGroupMappingArrayOutput struct{ *pulumi.OutputState }
func (TeamSyncGroupMappingArrayOutput) ElementType ¶
func (TeamSyncGroupMappingArrayOutput) ElementType() reflect.Type
func (TeamSyncGroupMappingArrayOutput) Index ¶
func (o TeamSyncGroupMappingArrayOutput) Index(i pulumi.IntInput) TeamSyncGroupMappingOutput
func (TeamSyncGroupMappingArrayOutput) ToTeamSyncGroupMappingArrayOutput ¶
func (o TeamSyncGroupMappingArrayOutput) ToTeamSyncGroupMappingArrayOutput() TeamSyncGroupMappingArrayOutput
func (TeamSyncGroupMappingArrayOutput) ToTeamSyncGroupMappingArrayOutputWithContext ¶
func (o TeamSyncGroupMappingArrayOutput) ToTeamSyncGroupMappingArrayOutputWithContext(ctx context.Context) TeamSyncGroupMappingArrayOutput
type TeamSyncGroupMappingGroupArgs ¶
type TeamSyncGroupMappingGroupArgs struct { // The description of the IdP group. GroupDescription pulumi.StringInput `pulumi:"groupDescription"` // The ID of the IdP group. GroupId pulumi.StringInput `pulumi:"groupId"` // The name of the IdP group. GroupName pulumi.StringInput `pulumi:"groupName"` }
func (TeamSyncGroupMappingGroupArgs) ElementType ¶
func (TeamSyncGroupMappingGroupArgs) ElementType() reflect.Type
func (TeamSyncGroupMappingGroupArgs) ToTeamSyncGroupMappingGroupOutput ¶
func (i TeamSyncGroupMappingGroupArgs) ToTeamSyncGroupMappingGroupOutput() TeamSyncGroupMappingGroupOutput
func (TeamSyncGroupMappingGroupArgs) ToTeamSyncGroupMappingGroupOutputWithContext ¶
func (i TeamSyncGroupMappingGroupArgs) ToTeamSyncGroupMappingGroupOutputWithContext(ctx context.Context) TeamSyncGroupMappingGroupOutput
type TeamSyncGroupMappingGroupArray ¶
type TeamSyncGroupMappingGroupArray []TeamSyncGroupMappingGroupInput
func (TeamSyncGroupMappingGroupArray) ElementType ¶
func (TeamSyncGroupMappingGroupArray) ElementType() reflect.Type
func (TeamSyncGroupMappingGroupArray) ToTeamSyncGroupMappingGroupArrayOutput ¶
func (i TeamSyncGroupMappingGroupArray) ToTeamSyncGroupMappingGroupArrayOutput() TeamSyncGroupMappingGroupArrayOutput
func (TeamSyncGroupMappingGroupArray) ToTeamSyncGroupMappingGroupArrayOutputWithContext ¶
func (i TeamSyncGroupMappingGroupArray) ToTeamSyncGroupMappingGroupArrayOutputWithContext(ctx context.Context) TeamSyncGroupMappingGroupArrayOutput
type TeamSyncGroupMappingGroupArrayInput ¶
type TeamSyncGroupMappingGroupArrayInput interface { pulumi.Input ToTeamSyncGroupMappingGroupArrayOutput() TeamSyncGroupMappingGroupArrayOutput ToTeamSyncGroupMappingGroupArrayOutputWithContext(context.Context) TeamSyncGroupMappingGroupArrayOutput }
TeamSyncGroupMappingGroupArrayInput is an input type that accepts TeamSyncGroupMappingGroupArray and TeamSyncGroupMappingGroupArrayOutput values. You can construct a concrete instance of `TeamSyncGroupMappingGroupArrayInput` via:
TeamSyncGroupMappingGroupArray{ TeamSyncGroupMappingGroupArgs{...} }
type TeamSyncGroupMappingGroupArrayOutput ¶
type TeamSyncGroupMappingGroupArrayOutput struct{ *pulumi.OutputState }
func (TeamSyncGroupMappingGroupArrayOutput) ElementType ¶
func (TeamSyncGroupMappingGroupArrayOutput) ElementType() reflect.Type
func (TeamSyncGroupMappingGroupArrayOutput) Index ¶
func (o TeamSyncGroupMappingGroupArrayOutput) Index(i pulumi.IntInput) TeamSyncGroupMappingGroupOutput
func (TeamSyncGroupMappingGroupArrayOutput) ToTeamSyncGroupMappingGroupArrayOutput ¶
func (o TeamSyncGroupMappingGroupArrayOutput) ToTeamSyncGroupMappingGroupArrayOutput() TeamSyncGroupMappingGroupArrayOutput
func (TeamSyncGroupMappingGroupArrayOutput) ToTeamSyncGroupMappingGroupArrayOutputWithContext ¶
func (o TeamSyncGroupMappingGroupArrayOutput) ToTeamSyncGroupMappingGroupArrayOutputWithContext(ctx context.Context) TeamSyncGroupMappingGroupArrayOutput
type TeamSyncGroupMappingGroupInput ¶
type TeamSyncGroupMappingGroupInput interface { pulumi.Input ToTeamSyncGroupMappingGroupOutput() TeamSyncGroupMappingGroupOutput ToTeamSyncGroupMappingGroupOutputWithContext(context.Context) TeamSyncGroupMappingGroupOutput }
TeamSyncGroupMappingGroupInput is an input type that accepts TeamSyncGroupMappingGroupArgs and TeamSyncGroupMappingGroupOutput values. You can construct a concrete instance of `TeamSyncGroupMappingGroupInput` via:
TeamSyncGroupMappingGroupArgs{...}
type TeamSyncGroupMappingGroupOutput ¶
type TeamSyncGroupMappingGroupOutput struct{ *pulumi.OutputState }
func (TeamSyncGroupMappingGroupOutput) ElementType ¶
func (TeamSyncGroupMappingGroupOutput) ElementType() reflect.Type
func (TeamSyncGroupMappingGroupOutput) GroupDescription ¶
func (o TeamSyncGroupMappingGroupOutput) GroupDescription() pulumi.StringOutput
The description of the IdP group.
func (TeamSyncGroupMappingGroupOutput) GroupId ¶
func (o TeamSyncGroupMappingGroupOutput) GroupId() pulumi.StringOutput
The ID of the IdP group.
func (TeamSyncGroupMappingGroupOutput) GroupName ¶
func (o TeamSyncGroupMappingGroupOutput) GroupName() pulumi.StringOutput
The name of the IdP group.
func (TeamSyncGroupMappingGroupOutput) ToTeamSyncGroupMappingGroupOutput ¶
func (o TeamSyncGroupMappingGroupOutput) ToTeamSyncGroupMappingGroupOutput() TeamSyncGroupMappingGroupOutput
func (TeamSyncGroupMappingGroupOutput) ToTeamSyncGroupMappingGroupOutputWithContext ¶
func (o TeamSyncGroupMappingGroupOutput) ToTeamSyncGroupMappingGroupOutputWithContext(ctx context.Context) TeamSyncGroupMappingGroupOutput
type TeamSyncGroupMappingInput ¶
type TeamSyncGroupMappingInput interface { pulumi.Input ToTeamSyncGroupMappingOutput() TeamSyncGroupMappingOutput ToTeamSyncGroupMappingOutputWithContext(ctx context.Context) TeamSyncGroupMappingOutput }
type TeamSyncGroupMappingMap ¶
type TeamSyncGroupMappingMap map[string]TeamSyncGroupMappingInput
func (TeamSyncGroupMappingMap) ElementType ¶
func (TeamSyncGroupMappingMap) ElementType() reflect.Type
func (TeamSyncGroupMappingMap) ToTeamSyncGroupMappingMapOutput ¶
func (i TeamSyncGroupMappingMap) ToTeamSyncGroupMappingMapOutput() TeamSyncGroupMappingMapOutput
func (TeamSyncGroupMappingMap) ToTeamSyncGroupMappingMapOutputWithContext ¶
func (i TeamSyncGroupMappingMap) ToTeamSyncGroupMappingMapOutputWithContext(ctx context.Context) TeamSyncGroupMappingMapOutput
type TeamSyncGroupMappingMapInput ¶
type TeamSyncGroupMappingMapInput interface { pulumi.Input ToTeamSyncGroupMappingMapOutput() TeamSyncGroupMappingMapOutput ToTeamSyncGroupMappingMapOutputWithContext(context.Context) TeamSyncGroupMappingMapOutput }
TeamSyncGroupMappingMapInput is an input type that accepts TeamSyncGroupMappingMap and TeamSyncGroupMappingMapOutput values. You can construct a concrete instance of `TeamSyncGroupMappingMapInput` via:
TeamSyncGroupMappingMap{ "key": TeamSyncGroupMappingArgs{...} }
type TeamSyncGroupMappingMapOutput ¶
type TeamSyncGroupMappingMapOutput struct{ *pulumi.OutputState }
func (TeamSyncGroupMappingMapOutput) ElementType ¶
func (TeamSyncGroupMappingMapOutput) ElementType() reflect.Type
func (TeamSyncGroupMappingMapOutput) MapIndex ¶
func (o TeamSyncGroupMappingMapOutput) MapIndex(k pulumi.StringInput) TeamSyncGroupMappingOutput
func (TeamSyncGroupMappingMapOutput) ToTeamSyncGroupMappingMapOutput ¶
func (o TeamSyncGroupMappingMapOutput) ToTeamSyncGroupMappingMapOutput() TeamSyncGroupMappingMapOutput
func (TeamSyncGroupMappingMapOutput) ToTeamSyncGroupMappingMapOutputWithContext ¶
func (o TeamSyncGroupMappingMapOutput) ToTeamSyncGroupMappingMapOutputWithContext(ctx context.Context) TeamSyncGroupMappingMapOutput
type TeamSyncGroupMappingOutput ¶
type TeamSyncGroupMappingOutput struct{ *pulumi.OutputState }
func (TeamSyncGroupMappingOutput) ElementType ¶
func (TeamSyncGroupMappingOutput) ElementType() reflect.Type
func (TeamSyncGroupMappingOutput) Etag ¶ added in v4.15.0
func (o TeamSyncGroupMappingOutput) Etag() pulumi.StringOutput
func (TeamSyncGroupMappingOutput) Groups ¶ added in v4.15.0
func (o TeamSyncGroupMappingOutput) Groups() TeamSyncGroupMappingGroupArrayOutput
An Array of GitHub Identity Provider Groups (or empty []). Each `group` block consists of the fields documented below. ***
func (TeamSyncGroupMappingOutput) TeamSlug ¶ added in v4.15.0
func (o TeamSyncGroupMappingOutput) TeamSlug() pulumi.StringOutput
Slug of the team
func (TeamSyncGroupMappingOutput) ToTeamSyncGroupMappingOutput ¶
func (o TeamSyncGroupMappingOutput) ToTeamSyncGroupMappingOutput() TeamSyncGroupMappingOutput
func (TeamSyncGroupMappingOutput) ToTeamSyncGroupMappingOutputWithContext ¶
func (o TeamSyncGroupMappingOutput) ToTeamSyncGroupMappingOutputWithContext(ctx context.Context) TeamSyncGroupMappingOutput
type TeamSyncGroupMappingState ¶
type TeamSyncGroupMappingState struct { Etag pulumi.StringPtrInput // An Array of GitHub Identity Provider Groups (or empty []). Each `group` block consists of the fields documented below. // *** Groups TeamSyncGroupMappingGroupArrayInput // Slug of the team TeamSlug pulumi.StringPtrInput }
func (TeamSyncGroupMappingState) ElementType ¶
func (TeamSyncGroupMappingState) ElementType() reflect.Type
type UserGpgKey ¶
type UserGpgKey struct { pulumi.CustomResourceState // Your public GPG key, generated in ASCII-armored format. // See [Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) for help on creating a GPG key. ArmoredPublicKey pulumi.StringOutput `pulumi:"armoredPublicKey"` Etag pulumi.StringOutput `pulumi:"etag"` // The key ID of the GPG key, e.g. `3262EFF25BA0D270` KeyId pulumi.StringOutput `pulumi:"keyId"` }
Provides a GitHub user's GPG key resource.
This resource allows you to add/remove GPG keys from your user account.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewUserGpgKey(ctx, "example", &github.UserGpgKeyArgs{ ArmoredPublicKey: pulumi.String(fmt.Sprintf("-----BEGIN PGP PUBLIC KEY BLOCK-----\n...\n-----END PGP PUBLIC KEY BLOCK-----\n")), }) if err != nil { return err } return nil }) }
```
## Import
GPG keys are not importable due to the fact that [API](https://developer.github.com/v3/users/gpg_keys/#gpg-keys) does not return previously uploaded GPG key.
func GetUserGpgKey ¶
func GetUserGpgKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserGpgKeyState, opts ...pulumi.ResourceOption) (*UserGpgKey, error)
GetUserGpgKey gets an existing UserGpgKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewUserGpgKey ¶
func NewUserGpgKey(ctx *pulumi.Context, name string, args *UserGpgKeyArgs, opts ...pulumi.ResourceOption) (*UserGpgKey, error)
NewUserGpgKey registers a new resource with the given unique name, arguments, and options.
func (*UserGpgKey) ElementType ¶
func (*UserGpgKey) ElementType() reflect.Type
func (*UserGpgKey) ToUserGpgKeyOutput ¶
func (i *UserGpgKey) ToUserGpgKeyOutput() UserGpgKeyOutput
func (*UserGpgKey) ToUserGpgKeyOutputWithContext ¶
func (i *UserGpgKey) ToUserGpgKeyOutputWithContext(ctx context.Context) UserGpgKeyOutput
type UserGpgKeyArgs ¶
type UserGpgKeyArgs struct { // Your public GPG key, generated in ASCII-armored format. // See [Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) for help on creating a GPG key. ArmoredPublicKey pulumi.StringInput }
The set of arguments for constructing a UserGpgKey resource.
func (UserGpgKeyArgs) ElementType ¶
func (UserGpgKeyArgs) ElementType() reflect.Type
type UserGpgKeyArray ¶
type UserGpgKeyArray []UserGpgKeyInput
func (UserGpgKeyArray) ElementType ¶
func (UserGpgKeyArray) ElementType() reflect.Type
func (UserGpgKeyArray) ToUserGpgKeyArrayOutput ¶
func (i UserGpgKeyArray) ToUserGpgKeyArrayOutput() UserGpgKeyArrayOutput
func (UserGpgKeyArray) ToUserGpgKeyArrayOutputWithContext ¶
func (i UserGpgKeyArray) ToUserGpgKeyArrayOutputWithContext(ctx context.Context) UserGpgKeyArrayOutput
type UserGpgKeyArrayInput ¶
type UserGpgKeyArrayInput interface { pulumi.Input ToUserGpgKeyArrayOutput() UserGpgKeyArrayOutput ToUserGpgKeyArrayOutputWithContext(context.Context) UserGpgKeyArrayOutput }
UserGpgKeyArrayInput is an input type that accepts UserGpgKeyArray and UserGpgKeyArrayOutput values. You can construct a concrete instance of `UserGpgKeyArrayInput` via:
UserGpgKeyArray{ UserGpgKeyArgs{...} }
type UserGpgKeyArrayOutput ¶
type UserGpgKeyArrayOutput struct{ *pulumi.OutputState }
func (UserGpgKeyArrayOutput) ElementType ¶
func (UserGpgKeyArrayOutput) ElementType() reflect.Type
func (UserGpgKeyArrayOutput) Index ¶
func (o UserGpgKeyArrayOutput) Index(i pulumi.IntInput) UserGpgKeyOutput
func (UserGpgKeyArrayOutput) ToUserGpgKeyArrayOutput ¶
func (o UserGpgKeyArrayOutput) ToUserGpgKeyArrayOutput() UserGpgKeyArrayOutput
func (UserGpgKeyArrayOutput) ToUserGpgKeyArrayOutputWithContext ¶
func (o UserGpgKeyArrayOutput) ToUserGpgKeyArrayOutputWithContext(ctx context.Context) UserGpgKeyArrayOutput
type UserGpgKeyInput ¶
type UserGpgKeyInput interface { pulumi.Input ToUserGpgKeyOutput() UserGpgKeyOutput ToUserGpgKeyOutputWithContext(ctx context.Context) UserGpgKeyOutput }
type UserGpgKeyMap ¶
type UserGpgKeyMap map[string]UserGpgKeyInput
func (UserGpgKeyMap) ElementType ¶
func (UserGpgKeyMap) ElementType() reflect.Type
func (UserGpgKeyMap) ToUserGpgKeyMapOutput ¶
func (i UserGpgKeyMap) ToUserGpgKeyMapOutput() UserGpgKeyMapOutput
func (UserGpgKeyMap) ToUserGpgKeyMapOutputWithContext ¶
func (i UserGpgKeyMap) ToUserGpgKeyMapOutputWithContext(ctx context.Context) UserGpgKeyMapOutput
type UserGpgKeyMapInput ¶
type UserGpgKeyMapInput interface { pulumi.Input ToUserGpgKeyMapOutput() UserGpgKeyMapOutput ToUserGpgKeyMapOutputWithContext(context.Context) UserGpgKeyMapOutput }
UserGpgKeyMapInput is an input type that accepts UserGpgKeyMap and UserGpgKeyMapOutput values. You can construct a concrete instance of `UserGpgKeyMapInput` via:
UserGpgKeyMap{ "key": UserGpgKeyArgs{...} }
type UserGpgKeyMapOutput ¶
type UserGpgKeyMapOutput struct{ *pulumi.OutputState }
func (UserGpgKeyMapOutput) ElementType ¶
func (UserGpgKeyMapOutput) ElementType() reflect.Type
func (UserGpgKeyMapOutput) MapIndex ¶
func (o UserGpgKeyMapOutput) MapIndex(k pulumi.StringInput) UserGpgKeyOutput
func (UserGpgKeyMapOutput) ToUserGpgKeyMapOutput ¶
func (o UserGpgKeyMapOutput) ToUserGpgKeyMapOutput() UserGpgKeyMapOutput
func (UserGpgKeyMapOutput) ToUserGpgKeyMapOutputWithContext ¶
func (o UserGpgKeyMapOutput) ToUserGpgKeyMapOutputWithContext(ctx context.Context) UserGpgKeyMapOutput
type UserGpgKeyOutput ¶
type UserGpgKeyOutput struct{ *pulumi.OutputState }
func (UserGpgKeyOutput) ArmoredPublicKey ¶ added in v4.15.0
func (o UserGpgKeyOutput) ArmoredPublicKey() pulumi.StringOutput
Your public GPG key, generated in ASCII-armored format. See [Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) for help on creating a GPG key.
func (UserGpgKeyOutput) ElementType ¶
func (UserGpgKeyOutput) ElementType() reflect.Type
func (UserGpgKeyOutput) Etag ¶ added in v4.15.0
func (o UserGpgKeyOutput) Etag() pulumi.StringOutput
func (UserGpgKeyOutput) KeyId ¶ added in v4.15.0
func (o UserGpgKeyOutput) KeyId() pulumi.StringOutput
The key ID of the GPG key, e.g. `3262EFF25BA0D270`
func (UserGpgKeyOutput) ToUserGpgKeyOutput ¶
func (o UserGpgKeyOutput) ToUserGpgKeyOutput() UserGpgKeyOutput
func (UserGpgKeyOutput) ToUserGpgKeyOutputWithContext ¶
func (o UserGpgKeyOutput) ToUserGpgKeyOutputWithContext(ctx context.Context) UserGpgKeyOutput
type UserGpgKeyState ¶
type UserGpgKeyState struct { // Your public GPG key, generated in ASCII-armored format. // See [Generating a new GPG key](https://help.github.com/articles/generating-a-new-gpg-key/) for help on creating a GPG key. ArmoredPublicKey pulumi.StringPtrInput Etag pulumi.StringPtrInput // The key ID of the GPG key, e.g. `3262EFF25BA0D270` KeyId pulumi.StringPtrInput }
func (UserGpgKeyState) ElementType ¶
func (UserGpgKeyState) ElementType() reflect.Type
type UserInvitationAccepter ¶
type UserInvitationAccepter struct { pulumi.CustomResourceState // ID of the invitation to accept InvitationId pulumi.StringOutput `pulumi:"invitationId"` }
Provides a resource to manage GitHub repository collaborator invitations.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleRepository, err := github.NewRepository(ctx, "exampleRepository", nil) if err != nil { return err } exampleRepositoryCollaborator, err := github.NewRepositoryCollaborator(ctx, "exampleRepositoryCollaborator", &github.RepositoryCollaboratorArgs{ Repository: exampleRepository.Name, Username: pulumi.String("example-username"), Permission: pulumi.String("push"), }) if err != nil { return err } _, err = github.NewProvider(ctx, "invitee", &github.ProviderArgs{ Token: pulumi.Any(_var.Invitee_token), }) if err != nil { return err } _, err = github.NewUserInvitationAccepter(ctx, "exampleUserInvitationAccepter", &github.UserInvitationAccepterArgs{ InvitationId: exampleRepositoryCollaborator.InvitationId, }, pulumi.Provider("github.invitee")) if err != nil { return err } return nil }) }
```
func GetUserInvitationAccepter ¶
func GetUserInvitationAccepter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserInvitationAccepterState, opts ...pulumi.ResourceOption) (*UserInvitationAccepter, error)
GetUserInvitationAccepter gets an existing UserInvitationAccepter resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewUserInvitationAccepter ¶
func NewUserInvitationAccepter(ctx *pulumi.Context, name string, args *UserInvitationAccepterArgs, opts ...pulumi.ResourceOption) (*UserInvitationAccepter, error)
NewUserInvitationAccepter registers a new resource with the given unique name, arguments, and options.
func (*UserInvitationAccepter) ElementType ¶
func (*UserInvitationAccepter) ElementType() reflect.Type
func (*UserInvitationAccepter) ToUserInvitationAccepterOutput ¶
func (i *UserInvitationAccepter) ToUserInvitationAccepterOutput() UserInvitationAccepterOutput
func (*UserInvitationAccepter) ToUserInvitationAccepterOutputWithContext ¶
func (i *UserInvitationAccepter) ToUserInvitationAccepterOutputWithContext(ctx context.Context) UserInvitationAccepterOutput
type UserInvitationAccepterArgs ¶
type UserInvitationAccepterArgs struct { // ID of the invitation to accept InvitationId pulumi.StringInput }
The set of arguments for constructing a UserInvitationAccepter resource.
func (UserInvitationAccepterArgs) ElementType ¶
func (UserInvitationAccepterArgs) ElementType() reflect.Type
type UserInvitationAccepterArray ¶
type UserInvitationAccepterArray []UserInvitationAccepterInput
func (UserInvitationAccepterArray) ElementType ¶
func (UserInvitationAccepterArray) ElementType() reflect.Type
func (UserInvitationAccepterArray) ToUserInvitationAccepterArrayOutput ¶
func (i UserInvitationAccepterArray) ToUserInvitationAccepterArrayOutput() UserInvitationAccepterArrayOutput
func (UserInvitationAccepterArray) ToUserInvitationAccepterArrayOutputWithContext ¶
func (i UserInvitationAccepterArray) ToUserInvitationAccepterArrayOutputWithContext(ctx context.Context) UserInvitationAccepterArrayOutput
type UserInvitationAccepterArrayInput ¶
type UserInvitationAccepterArrayInput interface { pulumi.Input ToUserInvitationAccepterArrayOutput() UserInvitationAccepterArrayOutput ToUserInvitationAccepterArrayOutputWithContext(context.Context) UserInvitationAccepterArrayOutput }
UserInvitationAccepterArrayInput is an input type that accepts UserInvitationAccepterArray and UserInvitationAccepterArrayOutput values. You can construct a concrete instance of `UserInvitationAccepterArrayInput` via:
UserInvitationAccepterArray{ UserInvitationAccepterArgs{...} }
type UserInvitationAccepterArrayOutput ¶
type UserInvitationAccepterArrayOutput struct{ *pulumi.OutputState }
func (UserInvitationAccepterArrayOutput) ElementType ¶
func (UserInvitationAccepterArrayOutput) ElementType() reflect.Type
func (UserInvitationAccepterArrayOutput) Index ¶
func (o UserInvitationAccepterArrayOutput) Index(i pulumi.IntInput) UserInvitationAccepterOutput
func (UserInvitationAccepterArrayOutput) ToUserInvitationAccepterArrayOutput ¶
func (o UserInvitationAccepterArrayOutput) ToUserInvitationAccepterArrayOutput() UserInvitationAccepterArrayOutput
func (UserInvitationAccepterArrayOutput) ToUserInvitationAccepterArrayOutputWithContext ¶
func (o UserInvitationAccepterArrayOutput) ToUserInvitationAccepterArrayOutputWithContext(ctx context.Context) UserInvitationAccepterArrayOutput
type UserInvitationAccepterInput ¶
type UserInvitationAccepterInput interface { pulumi.Input ToUserInvitationAccepterOutput() UserInvitationAccepterOutput ToUserInvitationAccepterOutputWithContext(ctx context.Context) UserInvitationAccepterOutput }
type UserInvitationAccepterMap ¶
type UserInvitationAccepterMap map[string]UserInvitationAccepterInput
func (UserInvitationAccepterMap) ElementType ¶
func (UserInvitationAccepterMap) ElementType() reflect.Type
func (UserInvitationAccepterMap) ToUserInvitationAccepterMapOutput ¶
func (i UserInvitationAccepterMap) ToUserInvitationAccepterMapOutput() UserInvitationAccepterMapOutput
func (UserInvitationAccepterMap) ToUserInvitationAccepterMapOutputWithContext ¶
func (i UserInvitationAccepterMap) ToUserInvitationAccepterMapOutputWithContext(ctx context.Context) UserInvitationAccepterMapOutput
type UserInvitationAccepterMapInput ¶
type UserInvitationAccepterMapInput interface { pulumi.Input ToUserInvitationAccepterMapOutput() UserInvitationAccepterMapOutput ToUserInvitationAccepterMapOutputWithContext(context.Context) UserInvitationAccepterMapOutput }
UserInvitationAccepterMapInput is an input type that accepts UserInvitationAccepterMap and UserInvitationAccepterMapOutput values. You can construct a concrete instance of `UserInvitationAccepterMapInput` via:
UserInvitationAccepterMap{ "key": UserInvitationAccepterArgs{...} }
type UserInvitationAccepterMapOutput ¶
type UserInvitationAccepterMapOutput struct{ *pulumi.OutputState }
func (UserInvitationAccepterMapOutput) ElementType ¶
func (UserInvitationAccepterMapOutput) ElementType() reflect.Type
func (UserInvitationAccepterMapOutput) MapIndex ¶
func (o UserInvitationAccepterMapOutput) MapIndex(k pulumi.StringInput) UserInvitationAccepterOutput
func (UserInvitationAccepterMapOutput) ToUserInvitationAccepterMapOutput ¶
func (o UserInvitationAccepterMapOutput) ToUserInvitationAccepterMapOutput() UserInvitationAccepterMapOutput
func (UserInvitationAccepterMapOutput) ToUserInvitationAccepterMapOutputWithContext ¶
func (o UserInvitationAccepterMapOutput) ToUserInvitationAccepterMapOutputWithContext(ctx context.Context) UserInvitationAccepterMapOutput
type UserInvitationAccepterOutput ¶
type UserInvitationAccepterOutput struct{ *pulumi.OutputState }
func (UserInvitationAccepterOutput) ElementType ¶
func (UserInvitationAccepterOutput) ElementType() reflect.Type
func (UserInvitationAccepterOutput) InvitationId ¶ added in v4.15.0
func (o UserInvitationAccepterOutput) InvitationId() pulumi.StringOutput
ID of the invitation to accept
func (UserInvitationAccepterOutput) ToUserInvitationAccepterOutput ¶
func (o UserInvitationAccepterOutput) ToUserInvitationAccepterOutput() UserInvitationAccepterOutput
func (UserInvitationAccepterOutput) ToUserInvitationAccepterOutputWithContext ¶
func (o UserInvitationAccepterOutput) ToUserInvitationAccepterOutputWithContext(ctx context.Context) UserInvitationAccepterOutput
type UserInvitationAccepterState ¶
type UserInvitationAccepterState struct { // ID of the invitation to accept InvitationId pulumi.StringPtrInput }
func (UserInvitationAccepterState) ElementType ¶
func (UserInvitationAccepterState) ElementType() reflect.Type
type UserSshKey ¶
type UserSshKey struct { pulumi.CustomResourceState Etag pulumi.StringOutput `pulumi:"etag"` // The public SSH key to add to your GitHub account. Key pulumi.StringOutput `pulumi:"key"` // A descriptive name for the new key. e.g. `Personal MacBook Air` Title pulumi.StringOutput `pulumi:"title"` // The URL of the SSH key Url pulumi.StringOutput `pulumi:"url"` }
Provides a GitHub user's SSH key resource.
This resource allows you to add/remove SSH keys from your user account.
## Example Usage
```go package main
import (
"io/ioutil" "github.com/pulumi/pulumi-github/sdk/v4/go/github" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := ioutil.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := github.NewUserSshKey(ctx, "example", &github.UserSshKeyArgs{ Title: pulumi.String("example title"), Key: readFileOrPanic("~/.ssh/id_rsa.pub"), }) if err != nil { return err } return nil }) }
```
## Import
SSH keys can be imported using their ID e.g.
```sh
$ pulumi import github:index/userSshKey:UserSshKey example 1234567
```
func GetUserSshKey ¶
func GetUserSshKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserSshKeyState, opts ...pulumi.ResourceOption) (*UserSshKey, error)
GetUserSshKey gets an existing UserSshKey resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewUserSshKey ¶
func NewUserSshKey(ctx *pulumi.Context, name string, args *UserSshKeyArgs, opts ...pulumi.ResourceOption) (*UserSshKey, error)
NewUserSshKey registers a new resource with the given unique name, arguments, and options.
func (*UserSshKey) ElementType ¶
func (*UserSshKey) ElementType() reflect.Type
func (*UserSshKey) ToUserSshKeyOutput ¶
func (i *UserSshKey) ToUserSshKeyOutput() UserSshKeyOutput
func (*UserSshKey) ToUserSshKeyOutputWithContext ¶
func (i *UserSshKey) ToUserSshKeyOutputWithContext(ctx context.Context) UserSshKeyOutput
type UserSshKeyArgs ¶
type UserSshKeyArgs struct { // The public SSH key to add to your GitHub account. Key pulumi.StringInput // A descriptive name for the new key. e.g. `Personal MacBook Air` Title pulumi.StringInput }
The set of arguments for constructing a UserSshKey resource.
func (UserSshKeyArgs) ElementType ¶
func (UserSshKeyArgs) ElementType() reflect.Type
type UserSshKeyArray ¶
type UserSshKeyArray []UserSshKeyInput
func (UserSshKeyArray) ElementType ¶
func (UserSshKeyArray) ElementType() reflect.Type
func (UserSshKeyArray) ToUserSshKeyArrayOutput ¶
func (i UserSshKeyArray) ToUserSshKeyArrayOutput() UserSshKeyArrayOutput
func (UserSshKeyArray) ToUserSshKeyArrayOutputWithContext ¶
func (i UserSshKeyArray) ToUserSshKeyArrayOutputWithContext(ctx context.Context) UserSshKeyArrayOutput
type UserSshKeyArrayInput ¶
type UserSshKeyArrayInput interface { pulumi.Input ToUserSshKeyArrayOutput() UserSshKeyArrayOutput ToUserSshKeyArrayOutputWithContext(context.Context) UserSshKeyArrayOutput }
UserSshKeyArrayInput is an input type that accepts UserSshKeyArray and UserSshKeyArrayOutput values. You can construct a concrete instance of `UserSshKeyArrayInput` via:
UserSshKeyArray{ UserSshKeyArgs{...} }
type UserSshKeyArrayOutput ¶
type UserSshKeyArrayOutput struct{ *pulumi.OutputState }
func (UserSshKeyArrayOutput) ElementType ¶
func (UserSshKeyArrayOutput) ElementType() reflect.Type
func (UserSshKeyArrayOutput) Index ¶
func (o UserSshKeyArrayOutput) Index(i pulumi.IntInput) UserSshKeyOutput
func (UserSshKeyArrayOutput) ToUserSshKeyArrayOutput ¶
func (o UserSshKeyArrayOutput) ToUserSshKeyArrayOutput() UserSshKeyArrayOutput
func (UserSshKeyArrayOutput) ToUserSshKeyArrayOutputWithContext ¶
func (o UserSshKeyArrayOutput) ToUserSshKeyArrayOutputWithContext(ctx context.Context) UserSshKeyArrayOutput
type UserSshKeyInput ¶
type UserSshKeyInput interface { pulumi.Input ToUserSshKeyOutput() UserSshKeyOutput ToUserSshKeyOutputWithContext(ctx context.Context) UserSshKeyOutput }
type UserSshKeyMap ¶
type UserSshKeyMap map[string]UserSshKeyInput
func (UserSshKeyMap) ElementType ¶
func (UserSshKeyMap) ElementType() reflect.Type
func (UserSshKeyMap) ToUserSshKeyMapOutput ¶
func (i UserSshKeyMap) ToUserSshKeyMapOutput() UserSshKeyMapOutput
func (UserSshKeyMap) ToUserSshKeyMapOutputWithContext ¶
func (i UserSshKeyMap) ToUserSshKeyMapOutputWithContext(ctx context.Context) UserSshKeyMapOutput
type UserSshKeyMapInput ¶
type UserSshKeyMapInput interface { pulumi.Input ToUserSshKeyMapOutput() UserSshKeyMapOutput ToUserSshKeyMapOutputWithContext(context.Context) UserSshKeyMapOutput }
UserSshKeyMapInput is an input type that accepts UserSshKeyMap and UserSshKeyMapOutput values. You can construct a concrete instance of `UserSshKeyMapInput` via:
UserSshKeyMap{ "key": UserSshKeyArgs{...} }
type UserSshKeyMapOutput ¶
type UserSshKeyMapOutput struct{ *pulumi.OutputState }
func (UserSshKeyMapOutput) ElementType ¶
func (UserSshKeyMapOutput) ElementType() reflect.Type
func (UserSshKeyMapOutput) MapIndex ¶
func (o UserSshKeyMapOutput) MapIndex(k pulumi.StringInput) UserSshKeyOutput
func (UserSshKeyMapOutput) ToUserSshKeyMapOutput ¶
func (o UserSshKeyMapOutput) ToUserSshKeyMapOutput() UserSshKeyMapOutput
func (UserSshKeyMapOutput) ToUserSshKeyMapOutputWithContext ¶
func (o UserSshKeyMapOutput) ToUserSshKeyMapOutputWithContext(ctx context.Context) UserSshKeyMapOutput
type UserSshKeyOutput ¶
type UserSshKeyOutput struct{ *pulumi.OutputState }
func (UserSshKeyOutput) ElementType ¶
func (UserSshKeyOutput) ElementType() reflect.Type
func (UserSshKeyOutput) Etag ¶ added in v4.15.0
func (o UserSshKeyOutput) Etag() pulumi.StringOutput
func (UserSshKeyOutput) Key ¶ added in v4.15.0
func (o UserSshKeyOutput) Key() pulumi.StringOutput
The public SSH key to add to your GitHub account.
func (UserSshKeyOutput) Title ¶ added in v4.15.0
func (o UserSshKeyOutput) Title() pulumi.StringOutput
A descriptive name for the new key. e.g. `Personal MacBook Air`
func (UserSshKeyOutput) ToUserSshKeyOutput ¶
func (o UserSshKeyOutput) ToUserSshKeyOutput() UserSshKeyOutput
func (UserSshKeyOutput) ToUserSshKeyOutputWithContext ¶
func (o UserSshKeyOutput) ToUserSshKeyOutputWithContext(ctx context.Context) UserSshKeyOutput
func (UserSshKeyOutput) Url ¶ added in v4.15.0
func (o UserSshKeyOutput) Url() pulumi.StringOutput
The URL of the SSH key
type UserSshKeyState ¶
type UserSshKeyState struct { Etag pulumi.StringPtrInput // The public SSH key to add to your GitHub account. Key pulumi.StringPtrInput // A descriptive name for the new key. e.g. `Personal MacBook Air` Title pulumi.StringPtrInput // The URL of the SSH key Url pulumi.StringPtrInput }
func (UserSshKeyState) ElementType ¶
func (UserSshKeyState) ElementType() reflect.Type
Source Files ¶
- actionsEnvironmentSecret.go
- actionsOrganizationPermissions.go
- actionsOrganizationSecret.go
- actionsOrganizationSecretRepositories.go
- actionsRunnerGroup.go
- actionsSecret.go
- appInstallationRepository.go
- branch.go
- branchDefault.go
- branchProtection.go
- branchProtectionV3.go
- dependabotOrganizationSecret.go
- dependabotOrganizationSecretRepositories.go
- dependabotSecret.go
- doc.go
- emuGroupMapping.go
- getActionsPublicKey.go
- getBranch.go
- getCollaborators.go
- getDependabotPublicKey.go
- getExternalGroups.go
- getIpRanges.go
- getMembership.go
- getOrganization.go
- getOrganizationTeamSyncGroups.go
- getOrganizationTeams.go
- getRef.go
- getRelease.go
- getRepositories.go
- getRepository.go
- getRepositoryFile.go
- getRepositoryMilestone.go
- getRepositoryPullRequest.go
- getRepositoryPullRequests.go
- getTeam.go
- getTree.go
- getUser.go
- getUsers.go
- init.go
- issue.go
- issueLabel.go
- membership.go
- organizationBlock.go
- organizationProject.go
- organizationWebhook.go
- projectCard.go
- projectColumn.go
- provider.go
- pulumiTypes.go
- pulumiUtilities.go
- repository.go
- repositoryAutolinkReference.go
- repositoryCollaborator.go
- repositoryDeployKey.go
- repositoryEnvironment.go
- repositoryFile.go
- repositoryMilestone.go
- repositoryProject.go
- repositoryPullRequest.go
- repositoryWebhook.go
- team.go
- teamMembers.go
- teamMembership.go
- teamRepository.go
- teamSyncGroupMapping.go
- userGpgKey.go
- userInvitationAccepter.go
- userSshKey.go