github

package
v6.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

A Pulumi package for creating and managing github cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionsEnvironmentSecret

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		repo, err := github.LookupRepository(ctx, &github.LookupRepositoryArgs{
			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("%s"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource does not support importing. If you'd like to help contribute it, please visit our GitHub page!

func GetActionsEnvironmentSecret

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

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

func (*ActionsEnvironmentSecret) ElementType() reflect.Type

func (*ActionsEnvironmentSecret) ToActionsEnvironmentSecretOutput

func (i *ActionsEnvironmentSecret) ToActionsEnvironmentSecretOutput() ActionsEnvironmentSecretOutput

func (*ActionsEnvironmentSecret) ToActionsEnvironmentSecretOutputWithContext

func (i *ActionsEnvironmentSecret) ToActionsEnvironmentSecretOutputWithContext(ctx context.Context) ActionsEnvironmentSecretOutput

type ActionsEnvironmentSecretArgs

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

type ActionsEnvironmentSecretArray

type ActionsEnvironmentSecretArray []ActionsEnvironmentSecretInput

func (ActionsEnvironmentSecretArray) ElementType

func (ActionsEnvironmentSecretArray) ToActionsEnvironmentSecretArrayOutput

func (i ActionsEnvironmentSecretArray) ToActionsEnvironmentSecretArrayOutput() ActionsEnvironmentSecretArrayOutput

func (ActionsEnvironmentSecretArray) ToActionsEnvironmentSecretArrayOutputWithContext

func (i ActionsEnvironmentSecretArray) ToActionsEnvironmentSecretArrayOutputWithContext(ctx context.Context) ActionsEnvironmentSecretArrayOutput

type ActionsEnvironmentSecretArrayInput

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

type ActionsEnvironmentSecretArrayOutput struct{ *pulumi.OutputState }

func (ActionsEnvironmentSecretArrayOutput) ElementType

func (ActionsEnvironmentSecretArrayOutput) Index

func (ActionsEnvironmentSecretArrayOutput) ToActionsEnvironmentSecretArrayOutput

func (o ActionsEnvironmentSecretArrayOutput) ToActionsEnvironmentSecretArrayOutput() ActionsEnvironmentSecretArrayOutput

func (ActionsEnvironmentSecretArrayOutput) ToActionsEnvironmentSecretArrayOutputWithContext

func (o ActionsEnvironmentSecretArrayOutput) ToActionsEnvironmentSecretArrayOutputWithContext(ctx context.Context) ActionsEnvironmentSecretArrayOutput

type ActionsEnvironmentSecretInput

type ActionsEnvironmentSecretInput interface {
	pulumi.Input

	ToActionsEnvironmentSecretOutput() ActionsEnvironmentSecretOutput
	ToActionsEnvironmentSecretOutputWithContext(ctx context.Context) ActionsEnvironmentSecretOutput
}

type ActionsEnvironmentSecretMap

type ActionsEnvironmentSecretMap map[string]ActionsEnvironmentSecretInput

func (ActionsEnvironmentSecretMap) ElementType

func (ActionsEnvironmentSecretMap) ToActionsEnvironmentSecretMapOutput

func (i ActionsEnvironmentSecretMap) ToActionsEnvironmentSecretMapOutput() ActionsEnvironmentSecretMapOutput

func (ActionsEnvironmentSecretMap) ToActionsEnvironmentSecretMapOutputWithContext

func (i ActionsEnvironmentSecretMap) ToActionsEnvironmentSecretMapOutputWithContext(ctx context.Context) ActionsEnvironmentSecretMapOutput

type ActionsEnvironmentSecretMapInput

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

type ActionsEnvironmentSecretMapOutput struct{ *pulumi.OutputState }

func (ActionsEnvironmentSecretMapOutput) ElementType

func (ActionsEnvironmentSecretMapOutput) MapIndex

func (ActionsEnvironmentSecretMapOutput) ToActionsEnvironmentSecretMapOutput

func (o ActionsEnvironmentSecretMapOutput) ToActionsEnvironmentSecretMapOutput() ActionsEnvironmentSecretMapOutput

func (ActionsEnvironmentSecretMapOutput) ToActionsEnvironmentSecretMapOutputWithContext

func (o ActionsEnvironmentSecretMapOutput) ToActionsEnvironmentSecretMapOutputWithContext(ctx context.Context) ActionsEnvironmentSecretMapOutput

type ActionsEnvironmentSecretOutput

type ActionsEnvironmentSecretOutput struct{ *pulumi.OutputState }

func (ActionsEnvironmentSecretOutput) CreatedAt

Date of actionsEnvironmentSecret creation.

func (ActionsEnvironmentSecretOutput) ElementType

func (ActionsEnvironmentSecretOutput) EncryptedValue

Encrypted value of the secret using the GitHub public key in Base64 format.

func (ActionsEnvironmentSecretOutput) Environment

Name of the environment.

func (ActionsEnvironmentSecretOutput) PlaintextValue

Plaintext value of the secret to be encrypted.

func (ActionsEnvironmentSecretOutput) Repository

Name of the repository.

func (ActionsEnvironmentSecretOutput) SecretName

Name of the secret.

func (ActionsEnvironmentSecretOutput) ToActionsEnvironmentSecretOutput

func (o ActionsEnvironmentSecretOutput) ToActionsEnvironmentSecretOutput() ActionsEnvironmentSecretOutput

func (ActionsEnvironmentSecretOutput) ToActionsEnvironmentSecretOutputWithContext

func (o ActionsEnvironmentSecretOutput) ToActionsEnvironmentSecretOutputWithContext(ctx context.Context) ActionsEnvironmentSecretOutput

func (ActionsEnvironmentSecretOutput) UpdatedAt

Date of actionsEnvironmentSecret update.

type ActionsEnvironmentSecretState

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

type ActionsEnvironmentVariable

type ActionsEnvironmentVariable struct {
	pulumi.CustomResourceState

	// Date of actionsEnvironmentSecret creation.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Name of the environment.
	Environment pulumi.StringOutput `pulumi:"environment"`
	// Name of the repository.
	Repository pulumi.StringOutput `pulumi:"repository"`
	// Date of actionsEnvironmentSecret update.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// Value of the variable
	Value pulumi.StringOutput `pulumi:"value"`
	// Name of the variable.
	VariableName pulumi.StringOutput `pulumi:"variableName"`
}

This resource allows you to create and manage GitHub Actions variables within your GitHub repository environments. You must have write access to a repository to use this resource.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.NewActionsEnvironmentVariable(ctx, "exampleVariable", &github.ActionsEnvironmentVariableArgs{
			Environment:  pulumi.String("example_environment"),
			Value:        pulumi.String("example_variable_value"),
			VariableName: pulumi.String("example_variable_name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		repo, err := github.LookupRepository(ctx, &github.LookupRepositoryArgs{
			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.NewActionsEnvironmentVariable(ctx, "exampleVariable", &github.ActionsEnvironmentVariableArgs{
			Repository:   pulumi.String(repo.Name),
			Environment:  repoEnvironment.Environment,
			VariableName: pulumi.String("example_variable_name"),
			Value:        pulumi.String("example_variable_value"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using an ID made up of the repository name, environment name, and variable name:

```sh $ pulumi import github:index/actionsEnvironmentVariable:ActionsEnvironmentVariable test_variable myrepo:myenv:myvariable ```

func GetActionsEnvironmentVariable

func GetActionsEnvironmentVariable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ActionsEnvironmentVariableState, opts ...pulumi.ResourceOption) (*ActionsEnvironmentVariable, error)

GetActionsEnvironmentVariable gets an existing ActionsEnvironmentVariable 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 NewActionsEnvironmentVariable

func NewActionsEnvironmentVariable(ctx *pulumi.Context,
	name string, args *ActionsEnvironmentVariableArgs, opts ...pulumi.ResourceOption) (*ActionsEnvironmentVariable, error)

NewActionsEnvironmentVariable registers a new resource with the given unique name, arguments, and options.

func (*ActionsEnvironmentVariable) ElementType

func (*ActionsEnvironmentVariable) ElementType() reflect.Type

func (*ActionsEnvironmentVariable) ToActionsEnvironmentVariableOutput

func (i *ActionsEnvironmentVariable) ToActionsEnvironmentVariableOutput() ActionsEnvironmentVariableOutput

func (*ActionsEnvironmentVariable) ToActionsEnvironmentVariableOutputWithContext

func (i *ActionsEnvironmentVariable) ToActionsEnvironmentVariableOutputWithContext(ctx context.Context) ActionsEnvironmentVariableOutput

type ActionsEnvironmentVariableArgs

type ActionsEnvironmentVariableArgs struct {
	// Name of the environment.
	Environment pulumi.StringInput
	// Name of the repository.
	Repository pulumi.StringInput
	// Value of the variable
	Value pulumi.StringInput
	// Name of the variable.
	VariableName pulumi.StringInput
}

The set of arguments for constructing a ActionsEnvironmentVariable resource.

func (ActionsEnvironmentVariableArgs) ElementType

type ActionsEnvironmentVariableArray

type ActionsEnvironmentVariableArray []ActionsEnvironmentVariableInput

func (ActionsEnvironmentVariableArray) ElementType

func (ActionsEnvironmentVariableArray) ToActionsEnvironmentVariableArrayOutput

func (i ActionsEnvironmentVariableArray) ToActionsEnvironmentVariableArrayOutput() ActionsEnvironmentVariableArrayOutput

func (ActionsEnvironmentVariableArray) ToActionsEnvironmentVariableArrayOutputWithContext

func (i ActionsEnvironmentVariableArray) ToActionsEnvironmentVariableArrayOutputWithContext(ctx context.Context) ActionsEnvironmentVariableArrayOutput

type ActionsEnvironmentVariableArrayInput

type ActionsEnvironmentVariableArrayInput interface {
	pulumi.Input

	ToActionsEnvironmentVariableArrayOutput() ActionsEnvironmentVariableArrayOutput
	ToActionsEnvironmentVariableArrayOutputWithContext(context.Context) ActionsEnvironmentVariableArrayOutput
}

ActionsEnvironmentVariableArrayInput is an input type that accepts ActionsEnvironmentVariableArray and ActionsEnvironmentVariableArrayOutput values. You can construct a concrete instance of `ActionsEnvironmentVariableArrayInput` via:

ActionsEnvironmentVariableArray{ ActionsEnvironmentVariableArgs{...} }

type ActionsEnvironmentVariableArrayOutput

type ActionsEnvironmentVariableArrayOutput struct{ *pulumi.OutputState }

func (ActionsEnvironmentVariableArrayOutput) ElementType

func (ActionsEnvironmentVariableArrayOutput) Index

func (ActionsEnvironmentVariableArrayOutput) ToActionsEnvironmentVariableArrayOutput

func (o ActionsEnvironmentVariableArrayOutput) ToActionsEnvironmentVariableArrayOutput() ActionsEnvironmentVariableArrayOutput

func (ActionsEnvironmentVariableArrayOutput) ToActionsEnvironmentVariableArrayOutputWithContext

func (o ActionsEnvironmentVariableArrayOutput) ToActionsEnvironmentVariableArrayOutputWithContext(ctx context.Context) ActionsEnvironmentVariableArrayOutput

type ActionsEnvironmentVariableInput

type ActionsEnvironmentVariableInput interface {
	pulumi.Input

	ToActionsEnvironmentVariableOutput() ActionsEnvironmentVariableOutput
	ToActionsEnvironmentVariableOutputWithContext(ctx context.Context) ActionsEnvironmentVariableOutput
}

type ActionsEnvironmentVariableMap

type ActionsEnvironmentVariableMap map[string]ActionsEnvironmentVariableInput

func (ActionsEnvironmentVariableMap) ElementType

func (ActionsEnvironmentVariableMap) ToActionsEnvironmentVariableMapOutput

func (i ActionsEnvironmentVariableMap) ToActionsEnvironmentVariableMapOutput() ActionsEnvironmentVariableMapOutput

func (ActionsEnvironmentVariableMap) ToActionsEnvironmentVariableMapOutputWithContext

func (i ActionsEnvironmentVariableMap) ToActionsEnvironmentVariableMapOutputWithContext(ctx context.Context) ActionsEnvironmentVariableMapOutput

type ActionsEnvironmentVariableMapInput

type ActionsEnvironmentVariableMapInput interface {
	pulumi.Input

	ToActionsEnvironmentVariableMapOutput() ActionsEnvironmentVariableMapOutput
	ToActionsEnvironmentVariableMapOutputWithContext(context.Context) ActionsEnvironmentVariableMapOutput
}

ActionsEnvironmentVariableMapInput is an input type that accepts ActionsEnvironmentVariableMap and ActionsEnvironmentVariableMapOutput values. You can construct a concrete instance of `ActionsEnvironmentVariableMapInput` via:

ActionsEnvironmentVariableMap{ "key": ActionsEnvironmentVariableArgs{...} }

type ActionsEnvironmentVariableMapOutput

type ActionsEnvironmentVariableMapOutput struct{ *pulumi.OutputState }

func (ActionsEnvironmentVariableMapOutput) ElementType

func (ActionsEnvironmentVariableMapOutput) MapIndex

func (ActionsEnvironmentVariableMapOutput) ToActionsEnvironmentVariableMapOutput

func (o ActionsEnvironmentVariableMapOutput) ToActionsEnvironmentVariableMapOutput() ActionsEnvironmentVariableMapOutput

func (ActionsEnvironmentVariableMapOutput) ToActionsEnvironmentVariableMapOutputWithContext

func (o ActionsEnvironmentVariableMapOutput) ToActionsEnvironmentVariableMapOutputWithContext(ctx context.Context) ActionsEnvironmentVariableMapOutput

type ActionsEnvironmentVariableOutput

type ActionsEnvironmentVariableOutput struct{ *pulumi.OutputState }

func (ActionsEnvironmentVariableOutput) CreatedAt

Date of actionsEnvironmentSecret creation.

func (ActionsEnvironmentVariableOutput) ElementType

func (ActionsEnvironmentVariableOutput) Environment

Name of the environment.

func (ActionsEnvironmentVariableOutput) Repository

Name of the repository.

func (ActionsEnvironmentVariableOutput) ToActionsEnvironmentVariableOutput

func (o ActionsEnvironmentVariableOutput) ToActionsEnvironmentVariableOutput() ActionsEnvironmentVariableOutput

func (ActionsEnvironmentVariableOutput) ToActionsEnvironmentVariableOutputWithContext

func (o ActionsEnvironmentVariableOutput) ToActionsEnvironmentVariableOutputWithContext(ctx context.Context) ActionsEnvironmentVariableOutput

func (ActionsEnvironmentVariableOutput) UpdatedAt

Date of actionsEnvironmentSecret update.

func (ActionsEnvironmentVariableOutput) Value

Value of the variable

func (ActionsEnvironmentVariableOutput) VariableName

Name of the variable.

type ActionsEnvironmentVariableState

type ActionsEnvironmentVariableState struct {
	// Date of actionsEnvironmentSecret creation.
	CreatedAt pulumi.StringPtrInput
	// Name of the environment.
	Environment pulumi.StringPtrInput
	// Name of the repository.
	Repository pulumi.StringPtrInput
	// Date of actionsEnvironmentSecret update.
	UpdatedAt pulumi.StringPtrInput
	// Value of the variable
	Value pulumi.StringPtrInput
	// Name of the variable.
	VariableName pulumi.StringPtrInput
}

func (ActionsEnvironmentVariableState) ElementType

type ActionsOrganizationOidcSubjectClaimCustomizationTemplate

type ActionsOrganizationOidcSubjectClaimCustomizationTemplate struct {
	pulumi.CustomResourceState

	// A list of OpenID Connect claims.
	IncludeClaimKeys pulumi.StringArrayOutput `pulumi:"includeClaimKeys"`
}

This resource allows you to create and manage an OpenID Connect subject claim customization template within a GitHub organization.

More information on integrating GitHub with cloud providers using OpenID Connect and a list of available claims is available in the [Actions documentation](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect).

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.NewActionsOrganizationOidcSubjectClaimCustomizationTemplate(ctx, "exampleTemplate", &github.ActionsOrganizationOidcSubjectClaimCustomizationTemplateArgs{
			IncludeClaimKeys: pulumi.StringArray{
				pulumi.String("actor"),
				pulumi.String("context"),
				pulumi.String("repository_owner"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using the organization's name.

```sh $ pulumi import github:index/actionsOrganizationOidcSubjectClaimCustomizationTemplate:ActionsOrganizationOidcSubjectClaimCustomizationTemplate test example_organization ```

func GetActionsOrganizationOidcSubjectClaimCustomizationTemplate

GetActionsOrganizationOidcSubjectClaimCustomizationTemplate gets an existing ActionsOrganizationOidcSubjectClaimCustomizationTemplate 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 NewActionsOrganizationOidcSubjectClaimCustomizationTemplate

NewActionsOrganizationOidcSubjectClaimCustomizationTemplate registers a new resource with the given unique name, arguments, and options.

func (*ActionsOrganizationOidcSubjectClaimCustomizationTemplate) ElementType

func (*ActionsOrganizationOidcSubjectClaimCustomizationTemplate) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput

func (i *ActionsOrganizationOidcSubjectClaimCustomizationTemplate) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput() ActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput

func (*ActionsOrganizationOidcSubjectClaimCustomizationTemplate) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateOutputWithContext

func (i *ActionsOrganizationOidcSubjectClaimCustomizationTemplate) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateOutputWithContext(ctx context.Context) ActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateArgs

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateArgs struct {
	// A list of OpenID Connect claims.
	IncludeClaimKeys pulumi.StringArrayInput
}

The set of arguments for constructing a ActionsOrganizationOidcSubjectClaimCustomizationTemplate resource.

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateArgs) ElementType

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateArray

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateArray []ActionsOrganizationOidcSubjectClaimCustomizationTemplateInput

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateArray) ElementType

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateArray) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateArray) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutputWithContext

func (i ActionsOrganizationOidcSubjectClaimCustomizationTemplateArray) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutputWithContext(ctx context.Context) ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayInput

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayInput interface {
	pulumi.Input

	ToActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput() ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput
	ToActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutputWithContext(context.Context) ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput
}

ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayInput is an input type that accepts ActionsOrganizationOidcSubjectClaimCustomizationTemplateArray and ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput values. You can construct a concrete instance of `ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayInput` via:

ActionsOrganizationOidcSubjectClaimCustomizationTemplateArray{ ActionsOrganizationOidcSubjectClaimCustomizationTemplateArgs{...} }

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput) ElementType

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput) Index

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutputWithContext

func (o ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutputWithContext(ctx context.Context) ActionsOrganizationOidcSubjectClaimCustomizationTemplateArrayOutput

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateInput

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateInput interface {
	pulumi.Input

	ToActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput() ActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput
	ToActionsOrganizationOidcSubjectClaimCustomizationTemplateOutputWithContext(ctx context.Context) ActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput
}

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateMap

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateMap map[string]ActionsOrganizationOidcSubjectClaimCustomizationTemplateInput

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateMap) ElementType

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateMap) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutput

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateMap) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutputWithContext

func (i ActionsOrganizationOidcSubjectClaimCustomizationTemplateMap) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutputWithContext(ctx context.Context) ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutput

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapInput

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapInput interface {
	pulumi.Input

	ToActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutput() ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutput
	ToActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutputWithContext(context.Context) ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutput
}

ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapInput is an input type that accepts ActionsOrganizationOidcSubjectClaimCustomizationTemplateMap and ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutput values. You can construct a concrete instance of `ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapInput` via:

ActionsOrganizationOidcSubjectClaimCustomizationTemplateMap{ "key": ActionsOrganizationOidcSubjectClaimCustomizationTemplateArgs{...} }

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutput

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutput) ElementType

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutput) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutput

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutput) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutputWithContext

func (o ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutput) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutputWithContext(ctx context.Context) ActionsOrganizationOidcSubjectClaimCustomizationTemplateMapOutput

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput) ElementType

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput) IncludeClaimKeys

A list of OpenID Connect claims.

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateOutputWithContext

func (o ActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput) ToActionsOrganizationOidcSubjectClaimCustomizationTemplateOutputWithContext(ctx context.Context) ActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateState

type ActionsOrganizationOidcSubjectClaimCustomizationTemplateState struct {
	// A list of OpenID Connect claims.
	IncludeClaimKeys pulumi.StringArrayInput
}

func (ActionsOrganizationOidcSubjectClaimCustomizationTemplateState) ElementType

type ActionsOrganizationPermissions

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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: &github.ActionsOrganizationPermissionsAllowedActionsConfigArgs{
				GithubOwnedAllowed: pulumi.Bool(true),
				PatternsAlloweds: pulumi.StringArray{
					pulumi.String("actions/cache@*"),
					pulumi.String("actions/checkout@*"),
				},
				VerifiedAllowed: pulumi.Bool(true),
			},
			EnabledRepositoriesConfig: &github.ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs{
				RepositoryIds: pulumi.IntArray{
					example.RepoId,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using the name of the GitHub organization:

```sh $ pulumi import github:index/actionsOrganizationPermissions:ActionsOrganizationPermissions test github_organization_name ```

func GetActionsOrganizationPermissions

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

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

func (*ActionsOrganizationPermissions) ToActionsOrganizationPermissionsOutput

func (i *ActionsOrganizationPermissions) ToActionsOrganizationPermissionsOutput() ActionsOrganizationPermissionsOutput

func (*ActionsOrganizationPermissions) ToActionsOrganizationPermissionsOutputWithContext

func (i *ActionsOrganizationPermissions) ToActionsOrganizationPermissionsOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsOutput

type ActionsOrganizationPermissionsAllowedActionsConfig

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

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

func (ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigOutput

func (ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigOutputWithContext

func (i ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigOutput

func (ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutput

func (i ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutput() ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput

func (ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext

func (i ActionsOrganizationPermissionsAllowedActionsConfigArgs) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput

type ActionsOrganizationPermissionsAllowedActionsConfigInput

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

type ActionsOrganizationPermissionsAllowedActionsConfigOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) ElementType

func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) GithubOwnedAllowed

Whether GitHub-owned actions are allowed in the organization.

func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) PatternsAlloweds

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

func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigOutputWithContext

func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigOutput

func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutput

func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext

func (o ActionsOrganizationPermissionsAllowedActionsConfigOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput

func (ActionsOrganizationPermissionsAllowedActionsConfigOutput) VerifiedAllowed

Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.

type ActionsOrganizationPermissionsAllowedActionsConfigPtrInput

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

type ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput

type ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) Elem

func (ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) ElementType

func (ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) GithubOwnedAllowed

Whether GitHub-owned actions are allowed in the organization.

func (ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) PatternsAlloweds

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

func (ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext

func (o ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) ToActionsOrganizationPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput

func (ActionsOrganizationPermissionsAllowedActionsConfigPtrOutput) VerifiedAllowed

Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.

type ActionsOrganizationPermissionsArgs

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

type ActionsOrganizationPermissionsArray

type ActionsOrganizationPermissionsArray []ActionsOrganizationPermissionsInput

func (ActionsOrganizationPermissionsArray) ElementType

func (ActionsOrganizationPermissionsArray) ToActionsOrganizationPermissionsArrayOutput

func (i ActionsOrganizationPermissionsArray) ToActionsOrganizationPermissionsArrayOutput() ActionsOrganizationPermissionsArrayOutput

func (ActionsOrganizationPermissionsArray) ToActionsOrganizationPermissionsArrayOutputWithContext

func (i ActionsOrganizationPermissionsArray) ToActionsOrganizationPermissionsArrayOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsArrayOutput

type ActionsOrganizationPermissionsArrayInput

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

type ActionsOrganizationPermissionsArrayOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationPermissionsArrayOutput) ElementType

func (ActionsOrganizationPermissionsArrayOutput) Index

func (ActionsOrganizationPermissionsArrayOutput) ToActionsOrganizationPermissionsArrayOutput

func (o ActionsOrganizationPermissionsArrayOutput) ToActionsOrganizationPermissionsArrayOutput() ActionsOrganizationPermissionsArrayOutput

func (ActionsOrganizationPermissionsArrayOutput) ToActionsOrganizationPermissionsArrayOutputWithContext

func (o ActionsOrganizationPermissionsArrayOutput) ToActionsOrganizationPermissionsArrayOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsArrayOutput

type ActionsOrganizationPermissionsEnabledRepositoriesConfig

type ActionsOrganizationPermissionsEnabledRepositoriesConfig struct {
	// List of repository IDs to enable for GitHub Actions.
	RepositoryIds []int `pulumi:"repositoryIds"`
}

type ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs

type ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs struct {
	// List of repository IDs to enable for GitHub Actions.
	RepositoryIds pulumi.IntArrayInput `pulumi:"repositoryIds"`
}

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ElementType

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutput

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutputWithContext

func (i ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext

func (i ActionsOrganizationPermissionsEnabledRepositoriesConfigArgs) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput

type ActionsOrganizationPermissionsEnabledRepositoriesConfigInput

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

type ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ElementType

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) RepositoryIds

List of repository IDs to enable for GitHub Actions.

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutput

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutputWithContext

func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext

func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput

type ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrInput

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

type ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput

type ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) Elem

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) ElementType

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) RepositoryIds

List of repository IDs to enable for GitHub Actions.

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput

func (ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext

func (o ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput) ToActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsEnabledRepositoriesConfigPtrOutput

type ActionsOrganizationPermissionsInput

type ActionsOrganizationPermissionsInput interface {
	pulumi.Input

	ToActionsOrganizationPermissionsOutput() ActionsOrganizationPermissionsOutput
	ToActionsOrganizationPermissionsOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsOutput
}

type ActionsOrganizationPermissionsMap

type ActionsOrganizationPermissionsMap map[string]ActionsOrganizationPermissionsInput

func (ActionsOrganizationPermissionsMap) ElementType

func (ActionsOrganizationPermissionsMap) ToActionsOrganizationPermissionsMapOutput

func (i ActionsOrganizationPermissionsMap) ToActionsOrganizationPermissionsMapOutput() ActionsOrganizationPermissionsMapOutput

func (ActionsOrganizationPermissionsMap) ToActionsOrganizationPermissionsMapOutputWithContext

func (i ActionsOrganizationPermissionsMap) ToActionsOrganizationPermissionsMapOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsMapOutput

type ActionsOrganizationPermissionsMapInput

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

type ActionsOrganizationPermissionsMapOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationPermissionsMapOutput) ElementType

func (ActionsOrganizationPermissionsMapOutput) MapIndex

func (ActionsOrganizationPermissionsMapOutput) ToActionsOrganizationPermissionsMapOutput

func (o ActionsOrganizationPermissionsMapOutput) ToActionsOrganizationPermissionsMapOutput() ActionsOrganizationPermissionsMapOutput

func (ActionsOrganizationPermissionsMapOutput) ToActionsOrganizationPermissionsMapOutputWithContext

func (o ActionsOrganizationPermissionsMapOutput) ToActionsOrganizationPermissionsMapOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsMapOutput

type ActionsOrganizationPermissionsOutput

type ActionsOrganizationPermissionsOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationPermissionsOutput) AllowedActions

The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `localOnly`, or `selected`.

func (ActionsOrganizationPermissionsOutput) AllowedActionsConfig

Sets the actions that are allowed in an organization. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.

func (ActionsOrganizationPermissionsOutput) ElementType

func (ActionsOrganizationPermissionsOutput) EnabledRepositories

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

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

func (o ActionsOrganizationPermissionsOutput) ToActionsOrganizationPermissionsOutput() ActionsOrganizationPermissionsOutput

func (ActionsOrganizationPermissionsOutput) ToActionsOrganizationPermissionsOutputWithContext

func (o ActionsOrganizationPermissionsOutput) ToActionsOrganizationPermissionsOutputWithContext(ctx context.Context) ActionsOrganizationPermissionsOutput

type ActionsOrganizationPermissionsState

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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		repo, err := github.LookupRepository(ctx, &github.LookupRepositoryArgs{
			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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 ``` NOTE: the 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

type ActionsOrganizationSecretArray

type ActionsOrganizationSecretArray []ActionsOrganizationSecretInput

func (ActionsOrganizationSecretArray) ElementType

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) Index

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) 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) MapIndex

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

Date of actionsSecret creation.

func (ActionsOrganizationSecretOutput) ElementType

func (ActionsOrganizationSecretOutput) EncryptedValue

Encrypted value of the secret using the GitHub public key in Base64 format.

func (ActionsOrganizationSecretOutput) PlaintextValue

Plaintext value of the secret to be encrypted

func (ActionsOrganizationSecretOutput) SecretName

Name of the secret

func (ActionsOrganizationSecretOutput) SelectedRepositoryIds

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

Date of actionsSecret update.

func (ActionsOrganizationSecretOutput) Visibility

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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		repo, err := github.LookupRepository(ctx, &github.LookupRepositoryArgs{
			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
	})
}

``` <!--End PulumiCodeChooser -->

## 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

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

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

func (*ActionsOrganizationSecretRepositories) ToActionsOrganizationSecretRepositoriesOutput

func (i *ActionsOrganizationSecretRepositories) ToActionsOrganizationSecretRepositoriesOutput() ActionsOrganizationSecretRepositoriesOutput

func (*ActionsOrganizationSecretRepositories) ToActionsOrganizationSecretRepositoriesOutputWithContext

func (i *ActionsOrganizationSecretRepositories) ToActionsOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesOutput

type ActionsOrganizationSecretRepositoriesArgs

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

type ActionsOrganizationSecretRepositoriesArray

type ActionsOrganizationSecretRepositoriesArray []ActionsOrganizationSecretRepositoriesInput

func (ActionsOrganizationSecretRepositoriesArray) ElementType

func (ActionsOrganizationSecretRepositoriesArray) ToActionsOrganizationSecretRepositoriesArrayOutput

func (i ActionsOrganizationSecretRepositoriesArray) ToActionsOrganizationSecretRepositoriesArrayOutput() ActionsOrganizationSecretRepositoriesArrayOutput

func (ActionsOrganizationSecretRepositoriesArray) ToActionsOrganizationSecretRepositoriesArrayOutputWithContext

func (i ActionsOrganizationSecretRepositoriesArray) ToActionsOrganizationSecretRepositoriesArrayOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesArrayOutput

type ActionsOrganizationSecretRepositoriesArrayInput

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

type ActionsOrganizationSecretRepositoriesArrayOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationSecretRepositoriesArrayOutput) ElementType

func (ActionsOrganizationSecretRepositoriesArrayOutput) Index

func (ActionsOrganizationSecretRepositoriesArrayOutput) ToActionsOrganizationSecretRepositoriesArrayOutput

func (o ActionsOrganizationSecretRepositoriesArrayOutput) ToActionsOrganizationSecretRepositoriesArrayOutput() ActionsOrganizationSecretRepositoriesArrayOutput

func (ActionsOrganizationSecretRepositoriesArrayOutput) ToActionsOrganizationSecretRepositoriesArrayOutputWithContext

func (o ActionsOrganizationSecretRepositoriesArrayOutput) ToActionsOrganizationSecretRepositoriesArrayOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesArrayOutput

type ActionsOrganizationSecretRepositoriesInput

type ActionsOrganizationSecretRepositoriesInput interface {
	pulumi.Input

	ToActionsOrganizationSecretRepositoriesOutput() ActionsOrganizationSecretRepositoriesOutput
	ToActionsOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesOutput
}

type ActionsOrganizationSecretRepositoriesMap

type ActionsOrganizationSecretRepositoriesMap map[string]ActionsOrganizationSecretRepositoriesInput

func (ActionsOrganizationSecretRepositoriesMap) ElementType

func (ActionsOrganizationSecretRepositoriesMap) ToActionsOrganizationSecretRepositoriesMapOutput

func (i ActionsOrganizationSecretRepositoriesMap) ToActionsOrganizationSecretRepositoriesMapOutput() ActionsOrganizationSecretRepositoriesMapOutput

func (ActionsOrganizationSecretRepositoriesMap) ToActionsOrganizationSecretRepositoriesMapOutputWithContext

func (i ActionsOrganizationSecretRepositoriesMap) ToActionsOrganizationSecretRepositoriesMapOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesMapOutput

type ActionsOrganizationSecretRepositoriesMapInput

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

type ActionsOrganizationSecretRepositoriesMapOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationSecretRepositoriesMapOutput) ElementType

func (ActionsOrganizationSecretRepositoriesMapOutput) MapIndex

func (ActionsOrganizationSecretRepositoriesMapOutput) ToActionsOrganizationSecretRepositoriesMapOutput

func (o ActionsOrganizationSecretRepositoriesMapOutput) ToActionsOrganizationSecretRepositoriesMapOutput() ActionsOrganizationSecretRepositoriesMapOutput

func (ActionsOrganizationSecretRepositoriesMapOutput) ToActionsOrganizationSecretRepositoriesMapOutputWithContext

func (o ActionsOrganizationSecretRepositoriesMapOutput) ToActionsOrganizationSecretRepositoriesMapOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesMapOutput

type ActionsOrganizationSecretRepositoriesOutput

type ActionsOrganizationSecretRepositoriesOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationSecretRepositoriesOutput) ElementType

func (ActionsOrganizationSecretRepositoriesOutput) SecretName

Name of the existing secret

func (ActionsOrganizationSecretRepositoriesOutput) SelectedRepositoryIds

An array of repository ids that can access the organization secret.

func (ActionsOrganizationSecretRepositoriesOutput) ToActionsOrganizationSecretRepositoriesOutput

func (o ActionsOrganizationSecretRepositoriesOutput) ToActionsOrganizationSecretRepositoriesOutput() ActionsOrganizationSecretRepositoriesOutput

func (ActionsOrganizationSecretRepositoriesOutput) ToActionsOrganizationSecretRepositoriesOutputWithContext

func (o ActionsOrganizationSecretRepositoriesOutput) ToActionsOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) ActionsOrganizationSecretRepositoriesOutput

type ActionsOrganizationSecretRepositoriesState

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

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

type ActionsOrganizationVariable

type ActionsOrganizationVariable struct {
	pulumi.CustomResourceState

	// Date of actionsVariable creation.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// An array of repository ids that can access the organization variable.
	SelectedRepositoryIds pulumi.IntArrayOutput `pulumi:"selectedRepositoryIds"`
	// Date of actionsVariable update.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// Value of the variable
	Value pulumi.StringOutput `pulumi:"value"`
	// Name of the variable
	VariableName pulumi.StringOutput `pulumi:"variableName"`
	// Configures the access that repositories have to the organization variable.
	// Must be one of `all`, `private`, `selected`. `selectedRepositoryIds` is required if set to `selected`.
	Visibility pulumi.StringOutput `pulumi:"visibility"`
}

This resource allows you to create and manage GitHub Actions variables within your GitHub organization. You must have write access to a repository to use this resource.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.NewActionsOrganizationVariable(ctx, "exampleVariable", &github.ActionsOrganizationVariableArgs{
			Value:        pulumi.String("example_variable_value"),
			VariableName: pulumi.String("example_variable_name"),
			Visibility:   pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		repo, err := github.LookupRepository(ctx, &github.LookupRepositoryArgs{
			FullName: pulumi.StringRef("my-org/repo"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = github.NewActionsOrganizationVariable(ctx, "exampleVariable", &github.ActionsOrganizationVariableArgs{
			VariableName: pulumi.String("example_variable_name"),
			Visibility:   pulumi.String("selected"),
			Value:        pulumi.String("example_variable_value"),
			SelectedRepositoryIds: pulumi.IntArray{
				pulumi.Int(repo.RepoId),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using an ID made up of the variable name:

```sh $ pulumi import github:index/actionsOrganizationVariable:ActionsOrganizationVariable test_variable test_variable_name ```

func GetActionsOrganizationVariable

func GetActionsOrganizationVariable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ActionsOrganizationVariableState, opts ...pulumi.ResourceOption) (*ActionsOrganizationVariable, error)

GetActionsOrganizationVariable gets an existing ActionsOrganizationVariable 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 NewActionsOrganizationVariable

func NewActionsOrganizationVariable(ctx *pulumi.Context,
	name string, args *ActionsOrganizationVariableArgs, opts ...pulumi.ResourceOption) (*ActionsOrganizationVariable, error)

NewActionsOrganizationVariable registers a new resource with the given unique name, arguments, and options.

func (*ActionsOrganizationVariable) ElementType

func (*ActionsOrganizationVariable) ElementType() reflect.Type

func (*ActionsOrganizationVariable) ToActionsOrganizationVariableOutput

func (i *ActionsOrganizationVariable) ToActionsOrganizationVariableOutput() ActionsOrganizationVariableOutput

func (*ActionsOrganizationVariable) ToActionsOrganizationVariableOutputWithContext

func (i *ActionsOrganizationVariable) ToActionsOrganizationVariableOutputWithContext(ctx context.Context) ActionsOrganizationVariableOutput

type ActionsOrganizationVariableArgs

type ActionsOrganizationVariableArgs struct {
	// An array of repository ids that can access the organization variable.
	SelectedRepositoryIds pulumi.IntArrayInput
	// Value of the variable
	Value pulumi.StringInput
	// Name of the variable
	VariableName pulumi.StringInput
	// Configures the access that repositories have to the organization variable.
	// Must be one of `all`, `private`, `selected`. `selectedRepositoryIds` is required if set to `selected`.
	Visibility pulumi.StringInput
}

The set of arguments for constructing a ActionsOrganizationVariable resource.

func (ActionsOrganizationVariableArgs) ElementType

type ActionsOrganizationVariableArray

type ActionsOrganizationVariableArray []ActionsOrganizationVariableInput

func (ActionsOrganizationVariableArray) ElementType

func (ActionsOrganizationVariableArray) ToActionsOrganizationVariableArrayOutput

func (i ActionsOrganizationVariableArray) ToActionsOrganizationVariableArrayOutput() ActionsOrganizationVariableArrayOutput

func (ActionsOrganizationVariableArray) ToActionsOrganizationVariableArrayOutputWithContext

func (i ActionsOrganizationVariableArray) ToActionsOrganizationVariableArrayOutputWithContext(ctx context.Context) ActionsOrganizationVariableArrayOutput

type ActionsOrganizationVariableArrayInput

type ActionsOrganizationVariableArrayInput interface {
	pulumi.Input

	ToActionsOrganizationVariableArrayOutput() ActionsOrganizationVariableArrayOutput
	ToActionsOrganizationVariableArrayOutputWithContext(context.Context) ActionsOrganizationVariableArrayOutput
}

ActionsOrganizationVariableArrayInput is an input type that accepts ActionsOrganizationVariableArray and ActionsOrganizationVariableArrayOutput values. You can construct a concrete instance of `ActionsOrganizationVariableArrayInput` via:

ActionsOrganizationVariableArray{ ActionsOrganizationVariableArgs{...} }

type ActionsOrganizationVariableArrayOutput

type ActionsOrganizationVariableArrayOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationVariableArrayOutput) ElementType

func (ActionsOrganizationVariableArrayOutput) Index

func (ActionsOrganizationVariableArrayOutput) ToActionsOrganizationVariableArrayOutput

func (o ActionsOrganizationVariableArrayOutput) ToActionsOrganizationVariableArrayOutput() ActionsOrganizationVariableArrayOutput

func (ActionsOrganizationVariableArrayOutput) ToActionsOrganizationVariableArrayOutputWithContext

func (o ActionsOrganizationVariableArrayOutput) ToActionsOrganizationVariableArrayOutputWithContext(ctx context.Context) ActionsOrganizationVariableArrayOutput

type ActionsOrganizationVariableInput

type ActionsOrganizationVariableInput interface {
	pulumi.Input

	ToActionsOrganizationVariableOutput() ActionsOrganizationVariableOutput
	ToActionsOrganizationVariableOutputWithContext(ctx context.Context) ActionsOrganizationVariableOutput
}

type ActionsOrganizationVariableMap

type ActionsOrganizationVariableMap map[string]ActionsOrganizationVariableInput

func (ActionsOrganizationVariableMap) ElementType

func (ActionsOrganizationVariableMap) ToActionsOrganizationVariableMapOutput

func (i ActionsOrganizationVariableMap) ToActionsOrganizationVariableMapOutput() ActionsOrganizationVariableMapOutput

func (ActionsOrganizationVariableMap) ToActionsOrganizationVariableMapOutputWithContext

func (i ActionsOrganizationVariableMap) ToActionsOrganizationVariableMapOutputWithContext(ctx context.Context) ActionsOrganizationVariableMapOutput

type ActionsOrganizationVariableMapInput

type ActionsOrganizationVariableMapInput interface {
	pulumi.Input

	ToActionsOrganizationVariableMapOutput() ActionsOrganizationVariableMapOutput
	ToActionsOrganizationVariableMapOutputWithContext(context.Context) ActionsOrganizationVariableMapOutput
}

ActionsOrganizationVariableMapInput is an input type that accepts ActionsOrganizationVariableMap and ActionsOrganizationVariableMapOutput values. You can construct a concrete instance of `ActionsOrganizationVariableMapInput` via:

ActionsOrganizationVariableMap{ "key": ActionsOrganizationVariableArgs{...} }

type ActionsOrganizationVariableMapOutput

type ActionsOrganizationVariableMapOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationVariableMapOutput) ElementType

func (ActionsOrganizationVariableMapOutput) MapIndex

func (ActionsOrganizationVariableMapOutput) ToActionsOrganizationVariableMapOutput

func (o ActionsOrganizationVariableMapOutput) ToActionsOrganizationVariableMapOutput() ActionsOrganizationVariableMapOutput

func (ActionsOrganizationVariableMapOutput) ToActionsOrganizationVariableMapOutputWithContext

func (o ActionsOrganizationVariableMapOutput) ToActionsOrganizationVariableMapOutputWithContext(ctx context.Context) ActionsOrganizationVariableMapOutput

type ActionsOrganizationVariableOutput

type ActionsOrganizationVariableOutput struct{ *pulumi.OutputState }

func (ActionsOrganizationVariableOutput) CreatedAt

Date of actionsVariable creation.

func (ActionsOrganizationVariableOutput) ElementType

func (ActionsOrganizationVariableOutput) SelectedRepositoryIds

func (o ActionsOrganizationVariableOutput) SelectedRepositoryIds() pulumi.IntArrayOutput

An array of repository ids that can access the organization variable.

func (ActionsOrganizationVariableOutput) ToActionsOrganizationVariableOutput

func (o ActionsOrganizationVariableOutput) ToActionsOrganizationVariableOutput() ActionsOrganizationVariableOutput

func (ActionsOrganizationVariableOutput) ToActionsOrganizationVariableOutputWithContext

func (o ActionsOrganizationVariableOutput) ToActionsOrganizationVariableOutputWithContext(ctx context.Context) ActionsOrganizationVariableOutput

func (ActionsOrganizationVariableOutput) UpdatedAt

Date of actionsVariable update.

func (ActionsOrganizationVariableOutput) Value

Value of the variable

func (ActionsOrganizationVariableOutput) VariableName

Name of the variable

func (ActionsOrganizationVariableOutput) Visibility

Configures the access that repositories have to the organization variable. Must be one of `all`, `private`, `selected`. `selectedRepositoryIds` is required if set to `selected`.

type ActionsOrganizationVariableState

type ActionsOrganizationVariableState struct {
	// Date of actionsVariable creation.
	CreatedAt pulumi.StringPtrInput
	// An array of repository ids that can access the organization variable.
	SelectedRepositoryIds pulumi.IntArrayInput
	// Date of actionsVariable update.
	UpdatedAt pulumi.StringPtrInput
	// Value of the variable
	Value pulumi.StringPtrInput
	// Name of the variable
	VariableName pulumi.StringPtrInput
	// Configures the access that repositories have to the organization variable.
	// Must be one of `all`, `private`, `selected`. `selectedRepositoryIds` is required if set to `selected`.
	Visibility pulumi.StringPtrInput
}

func (ActionsOrganizationVariableState) ElementType

type ActionsRepositoryAccessLevel

type ActionsRepositoryAccessLevel struct {
	pulumi.CustomResourceState

	// Where the actions or reusable workflows of the repository may be used. Possible values are `none`, `user`, `organization`, or `enterprise`.
	AccessLevel pulumi.StringOutput `pulumi:"accessLevel"`
	// The GitHub repository
	Repository pulumi.StringOutput `pulumi:"repository"`
}

This resource allows you to set the access level of a non-public repositories actions and reusable workflows for use in other repositories. You must have admin access to a repository to use this resource.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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{
			Visibility: pulumi.String("private"),
		})
		if err != nil {
			return err
		}
		_, err = github.NewActionsRepositoryAccessLevel(ctx, "test", &github.ActionsRepositoryAccessLevelArgs{
			AccessLevel: pulumi.String("user"),
			Repository:  example.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using the name of the GitHub repository:

```sh $ pulumi import github:index/actionsRepositoryAccessLevel:ActionsRepositoryAccessLevel test my-repository ```

func GetActionsRepositoryAccessLevel

func GetActionsRepositoryAccessLevel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ActionsRepositoryAccessLevelState, opts ...pulumi.ResourceOption) (*ActionsRepositoryAccessLevel, error)

GetActionsRepositoryAccessLevel gets an existing ActionsRepositoryAccessLevel 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 NewActionsRepositoryAccessLevel

func NewActionsRepositoryAccessLevel(ctx *pulumi.Context,
	name string, args *ActionsRepositoryAccessLevelArgs, opts ...pulumi.ResourceOption) (*ActionsRepositoryAccessLevel, error)

NewActionsRepositoryAccessLevel registers a new resource with the given unique name, arguments, and options.

func (*ActionsRepositoryAccessLevel) ElementType

func (*ActionsRepositoryAccessLevel) ElementType() reflect.Type

func (*ActionsRepositoryAccessLevel) ToActionsRepositoryAccessLevelOutput

func (i *ActionsRepositoryAccessLevel) ToActionsRepositoryAccessLevelOutput() ActionsRepositoryAccessLevelOutput

func (*ActionsRepositoryAccessLevel) ToActionsRepositoryAccessLevelOutputWithContext

func (i *ActionsRepositoryAccessLevel) ToActionsRepositoryAccessLevelOutputWithContext(ctx context.Context) ActionsRepositoryAccessLevelOutput

type ActionsRepositoryAccessLevelArgs

type ActionsRepositoryAccessLevelArgs struct {
	// Where the actions or reusable workflows of the repository may be used. Possible values are `none`, `user`, `organization`, or `enterprise`.
	AccessLevel pulumi.StringInput
	// The GitHub repository
	Repository pulumi.StringInput
}

The set of arguments for constructing a ActionsRepositoryAccessLevel resource.

func (ActionsRepositoryAccessLevelArgs) ElementType

type ActionsRepositoryAccessLevelArray

type ActionsRepositoryAccessLevelArray []ActionsRepositoryAccessLevelInput

func (ActionsRepositoryAccessLevelArray) ElementType

func (ActionsRepositoryAccessLevelArray) ToActionsRepositoryAccessLevelArrayOutput

func (i ActionsRepositoryAccessLevelArray) ToActionsRepositoryAccessLevelArrayOutput() ActionsRepositoryAccessLevelArrayOutput

func (ActionsRepositoryAccessLevelArray) ToActionsRepositoryAccessLevelArrayOutputWithContext

func (i ActionsRepositoryAccessLevelArray) ToActionsRepositoryAccessLevelArrayOutputWithContext(ctx context.Context) ActionsRepositoryAccessLevelArrayOutput

type ActionsRepositoryAccessLevelArrayInput

type ActionsRepositoryAccessLevelArrayInput interface {
	pulumi.Input

	ToActionsRepositoryAccessLevelArrayOutput() ActionsRepositoryAccessLevelArrayOutput
	ToActionsRepositoryAccessLevelArrayOutputWithContext(context.Context) ActionsRepositoryAccessLevelArrayOutput
}

ActionsRepositoryAccessLevelArrayInput is an input type that accepts ActionsRepositoryAccessLevelArray and ActionsRepositoryAccessLevelArrayOutput values. You can construct a concrete instance of `ActionsRepositoryAccessLevelArrayInput` via:

ActionsRepositoryAccessLevelArray{ ActionsRepositoryAccessLevelArgs{...} }

type ActionsRepositoryAccessLevelArrayOutput

type ActionsRepositoryAccessLevelArrayOutput struct{ *pulumi.OutputState }

func (ActionsRepositoryAccessLevelArrayOutput) ElementType

func (ActionsRepositoryAccessLevelArrayOutput) Index

func (ActionsRepositoryAccessLevelArrayOutput) ToActionsRepositoryAccessLevelArrayOutput

func (o ActionsRepositoryAccessLevelArrayOutput) ToActionsRepositoryAccessLevelArrayOutput() ActionsRepositoryAccessLevelArrayOutput

func (ActionsRepositoryAccessLevelArrayOutput) ToActionsRepositoryAccessLevelArrayOutputWithContext

func (o ActionsRepositoryAccessLevelArrayOutput) ToActionsRepositoryAccessLevelArrayOutputWithContext(ctx context.Context) ActionsRepositoryAccessLevelArrayOutput

type ActionsRepositoryAccessLevelInput

type ActionsRepositoryAccessLevelInput interface {
	pulumi.Input

	ToActionsRepositoryAccessLevelOutput() ActionsRepositoryAccessLevelOutput
	ToActionsRepositoryAccessLevelOutputWithContext(ctx context.Context) ActionsRepositoryAccessLevelOutput
}

type ActionsRepositoryAccessLevelMap

type ActionsRepositoryAccessLevelMap map[string]ActionsRepositoryAccessLevelInput

func (ActionsRepositoryAccessLevelMap) ElementType

func (ActionsRepositoryAccessLevelMap) ToActionsRepositoryAccessLevelMapOutput

func (i ActionsRepositoryAccessLevelMap) ToActionsRepositoryAccessLevelMapOutput() ActionsRepositoryAccessLevelMapOutput

func (ActionsRepositoryAccessLevelMap) ToActionsRepositoryAccessLevelMapOutputWithContext

func (i ActionsRepositoryAccessLevelMap) ToActionsRepositoryAccessLevelMapOutputWithContext(ctx context.Context) ActionsRepositoryAccessLevelMapOutput

type ActionsRepositoryAccessLevelMapInput

type ActionsRepositoryAccessLevelMapInput interface {
	pulumi.Input

	ToActionsRepositoryAccessLevelMapOutput() ActionsRepositoryAccessLevelMapOutput
	ToActionsRepositoryAccessLevelMapOutputWithContext(context.Context) ActionsRepositoryAccessLevelMapOutput
}

ActionsRepositoryAccessLevelMapInput is an input type that accepts ActionsRepositoryAccessLevelMap and ActionsRepositoryAccessLevelMapOutput values. You can construct a concrete instance of `ActionsRepositoryAccessLevelMapInput` via:

ActionsRepositoryAccessLevelMap{ "key": ActionsRepositoryAccessLevelArgs{...} }

type ActionsRepositoryAccessLevelMapOutput

type ActionsRepositoryAccessLevelMapOutput struct{ *pulumi.OutputState }

func (ActionsRepositoryAccessLevelMapOutput) ElementType

func (ActionsRepositoryAccessLevelMapOutput) MapIndex

func (ActionsRepositoryAccessLevelMapOutput) ToActionsRepositoryAccessLevelMapOutput

func (o ActionsRepositoryAccessLevelMapOutput) ToActionsRepositoryAccessLevelMapOutput() ActionsRepositoryAccessLevelMapOutput

func (ActionsRepositoryAccessLevelMapOutput) ToActionsRepositoryAccessLevelMapOutputWithContext

func (o ActionsRepositoryAccessLevelMapOutput) ToActionsRepositoryAccessLevelMapOutputWithContext(ctx context.Context) ActionsRepositoryAccessLevelMapOutput

type ActionsRepositoryAccessLevelOutput

type ActionsRepositoryAccessLevelOutput struct{ *pulumi.OutputState }

func (ActionsRepositoryAccessLevelOutput) AccessLevel

Where the actions or reusable workflows of the repository may be used. Possible values are `none`, `user`, `organization`, or `enterprise`.

func (ActionsRepositoryAccessLevelOutput) ElementType

func (ActionsRepositoryAccessLevelOutput) Repository

The GitHub repository

func (ActionsRepositoryAccessLevelOutput) ToActionsRepositoryAccessLevelOutput

func (o ActionsRepositoryAccessLevelOutput) ToActionsRepositoryAccessLevelOutput() ActionsRepositoryAccessLevelOutput

func (ActionsRepositoryAccessLevelOutput) ToActionsRepositoryAccessLevelOutputWithContext

func (o ActionsRepositoryAccessLevelOutput) ToActionsRepositoryAccessLevelOutputWithContext(ctx context.Context) ActionsRepositoryAccessLevelOutput

type ActionsRepositoryAccessLevelState

type ActionsRepositoryAccessLevelState struct {
	// Where the actions or reusable workflows of the repository may be used. Possible values are `none`, `user`, `organization`, or `enterprise`.
	AccessLevel pulumi.StringPtrInput
	// The GitHub repository
	Repository pulumi.StringPtrInput
}

func (ActionsRepositoryAccessLevelState) ElementType

type ActionsRepositoryOidcSubjectClaimCustomizationTemplate

type ActionsRepositoryOidcSubjectClaimCustomizationTemplate struct {
	pulumi.CustomResourceState

	// A list of OpenID Connect claims.
	IncludeClaimKeys pulumi.StringArrayOutput `pulumi:"includeClaimKeys"`
	// The name of the repository.
	Repository pulumi.StringOutput `pulumi:"repository"`
	// Whether to use the default template or not. If `true`, `includeClaimKeys` must not
	// be set.
	UseDefault pulumi.BoolOutput `pulumi:"useDefault"`
}

This resource allows you to create and manage an OpenID Connect subject claim customization template for a GitHub repository.

More information on integrating GitHub with cloud providers using OpenID Connect and a list of available claims is available in the [Actions documentation](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect).

The following table lists the behaviour of `useDefault`:

| `useDefault` | `includeClaimKeys` | Template used | |---------------|----------------------|-----------------------------------------------------------| | `true` | Unset | GitHub's default | | `false` | Set | `includeClaimKeys` | | `false` | Unset | Organization's default if set, otherwise GitHub's default |

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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.NewActionsRepositoryOidcSubjectClaimCustomizationTemplate(ctx, "exampleTemplate", &github.ActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs{
			Repository: example.Name,
			UseDefault: pulumi.Bool(false),
			IncludeClaimKeys: pulumi.StringArray{
				pulumi.String("actor"),
				pulumi.String("context"),
				pulumi.String("repository_owner"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using the repository's name.

```sh $ pulumi import github:index/actionsRepositoryOidcSubjectClaimCustomizationTemplate:ActionsRepositoryOidcSubjectClaimCustomizationTemplate test example_repository ```

func GetActionsRepositoryOidcSubjectClaimCustomizationTemplate

GetActionsRepositoryOidcSubjectClaimCustomizationTemplate gets an existing ActionsRepositoryOidcSubjectClaimCustomizationTemplate 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 NewActionsRepositoryOidcSubjectClaimCustomizationTemplate

func NewActionsRepositoryOidcSubjectClaimCustomizationTemplate(ctx *pulumi.Context,
	name string, args *ActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs, opts ...pulumi.ResourceOption) (*ActionsRepositoryOidcSubjectClaimCustomizationTemplate, error)

NewActionsRepositoryOidcSubjectClaimCustomizationTemplate registers a new resource with the given unique name, arguments, and options.

func (*ActionsRepositoryOidcSubjectClaimCustomizationTemplate) ElementType

func (*ActionsRepositoryOidcSubjectClaimCustomizationTemplate) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput

func (i *ActionsRepositoryOidcSubjectClaimCustomizationTemplate) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput() ActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput

func (*ActionsRepositoryOidcSubjectClaimCustomizationTemplate) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateOutputWithContext

func (i *ActionsRepositoryOidcSubjectClaimCustomizationTemplate) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateOutputWithContext(ctx context.Context) ActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs struct {
	// A list of OpenID Connect claims.
	IncludeClaimKeys pulumi.StringArrayInput
	// The name of the repository.
	Repository pulumi.StringInput
	// Whether to use the default template or not. If `true`, `includeClaimKeys` must not
	// be set.
	UseDefault pulumi.BoolInput
}

The set of arguments for constructing a ActionsRepositoryOidcSubjectClaimCustomizationTemplate resource.

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs) ElementType

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateArray

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateArray []ActionsRepositoryOidcSubjectClaimCustomizationTemplateInput

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateArray) ElementType

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateArray) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateArray) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutputWithContext

func (i ActionsRepositoryOidcSubjectClaimCustomizationTemplateArray) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutputWithContext(ctx context.Context) ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayInput

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayInput interface {
	pulumi.Input

	ToActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput() ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput
	ToActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutputWithContext(context.Context) ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput
}

ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayInput is an input type that accepts ActionsRepositoryOidcSubjectClaimCustomizationTemplateArray and ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput values. You can construct a concrete instance of `ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayInput` via:

ActionsRepositoryOidcSubjectClaimCustomizationTemplateArray{ ActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs{...} }

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput struct{ *pulumi.OutputState }

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput) ElementType

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput) Index

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutputWithContext

func (o ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutputWithContext(ctx context.Context) ActionsRepositoryOidcSubjectClaimCustomizationTemplateArrayOutput

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateInput

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateInput interface {
	pulumi.Input

	ToActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput() ActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput
	ToActionsRepositoryOidcSubjectClaimCustomizationTemplateOutputWithContext(ctx context.Context) ActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput
}

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateMap

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateMap map[string]ActionsRepositoryOidcSubjectClaimCustomizationTemplateInput

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateMap) ElementType

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateMap) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput

func (i ActionsRepositoryOidcSubjectClaimCustomizationTemplateMap) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput() ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateMap) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutputWithContext

func (i ActionsRepositoryOidcSubjectClaimCustomizationTemplateMap) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutputWithContext(ctx context.Context) ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapInput

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapInput interface {
	pulumi.Input

	ToActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput() ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput
	ToActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutputWithContext(context.Context) ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput
}

ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapInput is an input type that accepts ActionsRepositoryOidcSubjectClaimCustomizationTemplateMap and ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput values. You can construct a concrete instance of `ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapInput` via:

ActionsRepositoryOidcSubjectClaimCustomizationTemplateMap{ "key": ActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs{...} }

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput struct{ *pulumi.OutputState }

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput) ElementType

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutputWithContext

func (o ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutputWithContext(ctx context.Context) ActionsRepositoryOidcSubjectClaimCustomizationTemplateMapOutput

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput struct{ *pulumi.OutputState }

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput) ElementType

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput) IncludeClaimKeys

A list of OpenID Connect claims.

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput) Repository

The name of the repository.

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateOutputWithContext

func (o ActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput) ToActionsRepositoryOidcSubjectClaimCustomizationTemplateOutputWithContext(ctx context.Context) ActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput) UseDefault

Whether to use the default template or not. If `true`, `includeClaimKeys` must not be set.

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateState

type ActionsRepositoryOidcSubjectClaimCustomizationTemplateState struct {
	// A list of OpenID Connect claims.
	IncludeClaimKeys pulumi.StringArrayInput
	// The name of the repository.
	Repository pulumi.StringPtrInput
	// Whether to use the default template or not. If `true`, `includeClaimKeys` must not
	// be set.
	UseDefault pulumi.BoolPtrInput
}

func (ActionsRepositoryOidcSubjectClaimCustomizationTemplateState) ElementType

type ActionsRepositoryPermissions

type ActionsRepositoryPermissions 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 repository. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.
	AllowedActionsConfig ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput `pulumi:"allowedActionsConfig"`
	// Should GitHub actions be enabled on this repository?
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The GitHub repository
	Repository pulumi.StringOutput `pulumi:"repository"`
}

This resource allows you to enable and manage GitHub Actions permissions for a given repository. You must have admin access to an repository to use this resource.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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.NewActionsRepositoryPermissions(ctx, "test", &github.ActionsRepositoryPermissionsArgs{
			AllowedActions: pulumi.String("selected"),
			AllowedActionsConfig: &github.ActionsRepositoryPermissionsAllowedActionsConfigArgs{
				GithubOwnedAllowed: pulumi.Bool(true),
				PatternsAlloweds: pulumi.StringArray{
					pulumi.String("actions/cache@*"),
					pulumi.String("actions/checkout@*"),
				},
				VerifiedAllowed: pulumi.Bool(true),
			},
			Repository: example.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using the name of the GitHub repository:

```sh $ pulumi import github:index/actionsRepositoryPermissions:ActionsRepositoryPermissions test my-repository ```

func GetActionsRepositoryPermissions

func GetActionsRepositoryPermissions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ActionsRepositoryPermissionsState, opts ...pulumi.ResourceOption) (*ActionsRepositoryPermissions, error)

GetActionsRepositoryPermissions gets an existing ActionsRepositoryPermissions 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 NewActionsRepositoryPermissions

func NewActionsRepositoryPermissions(ctx *pulumi.Context,
	name string, args *ActionsRepositoryPermissionsArgs, opts ...pulumi.ResourceOption) (*ActionsRepositoryPermissions, error)

NewActionsRepositoryPermissions registers a new resource with the given unique name, arguments, and options.

func (*ActionsRepositoryPermissions) ElementType

func (*ActionsRepositoryPermissions) ElementType() reflect.Type

func (*ActionsRepositoryPermissions) ToActionsRepositoryPermissionsOutput

func (i *ActionsRepositoryPermissions) ToActionsRepositoryPermissionsOutput() ActionsRepositoryPermissionsOutput

func (*ActionsRepositoryPermissions) ToActionsRepositoryPermissionsOutputWithContext

func (i *ActionsRepositoryPermissions) ToActionsRepositoryPermissionsOutputWithContext(ctx context.Context) ActionsRepositoryPermissionsOutput

type ActionsRepositoryPermissionsAllowedActionsConfig

type ActionsRepositoryPermissionsAllowedActionsConfig struct {
	// Whether GitHub-owned actions are allowed in the repository.
	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 ActionsRepositoryPermissionsAllowedActionsConfigArgs

type ActionsRepositoryPermissionsAllowedActionsConfigArgs struct {
	// Whether GitHub-owned actions are allowed in the repository.
	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 (ActionsRepositoryPermissionsAllowedActionsConfigArgs) ElementType

func (ActionsRepositoryPermissionsAllowedActionsConfigArgs) ToActionsRepositoryPermissionsAllowedActionsConfigOutput

func (i ActionsRepositoryPermissionsAllowedActionsConfigArgs) ToActionsRepositoryPermissionsAllowedActionsConfigOutput() ActionsRepositoryPermissionsAllowedActionsConfigOutput

func (ActionsRepositoryPermissionsAllowedActionsConfigArgs) ToActionsRepositoryPermissionsAllowedActionsConfigOutputWithContext

func (i ActionsRepositoryPermissionsAllowedActionsConfigArgs) ToActionsRepositoryPermissionsAllowedActionsConfigOutputWithContext(ctx context.Context) ActionsRepositoryPermissionsAllowedActionsConfigOutput

func (ActionsRepositoryPermissionsAllowedActionsConfigArgs) ToActionsRepositoryPermissionsAllowedActionsConfigPtrOutput

func (i ActionsRepositoryPermissionsAllowedActionsConfigArgs) ToActionsRepositoryPermissionsAllowedActionsConfigPtrOutput() ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput

func (ActionsRepositoryPermissionsAllowedActionsConfigArgs) ToActionsRepositoryPermissionsAllowedActionsConfigPtrOutputWithContext

func (i ActionsRepositoryPermissionsAllowedActionsConfigArgs) ToActionsRepositoryPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput

type ActionsRepositoryPermissionsAllowedActionsConfigInput

type ActionsRepositoryPermissionsAllowedActionsConfigInput interface {
	pulumi.Input

	ToActionsRepositoryPermissionsAllowedActionsConfigOutput() ActionsRepositoryPermissionsAllowedActionsConfigOutput
	ToActionsRepositoryPermissionsAllowedActionsConfigOutputWithContext(context.Context) ActionsRepositoryPermissionsAllowedActionsConfigOutput
}

ActionsRepositoryPermissionsAllowedActionsConfigInput is an input type that accepts ActionsRepositoryPermissionsAllowedActionsConfigArgs and ActionsRepositoryPermissionsAllowedActionsConfigOutput values. You can construct a concrete instance of `ActionsRepositoryPermissionsAllowedActionsConfigInput` via:

ActionsRepositoryPermissionsAllowedActionsConfigArgs{...}

type ActionsRepositoryPermissionsAllowedActionsConfigOutput

type ActionsRepositoryPermissionsAllowedActionsConfigOutput struct{ *pulumi.OutputState }

func (ActionsRepositoryPermissionsAllowedActionsConfigOutput) ElementType

func (ActionsRepositoryPermissionsAllowedActionsConfigOutput) GithubOwnedAllowed

Whether GitHub-owned actions are allowed in the repository.

func (ActionsRepositoryPermissionsAllowedActionsConfigOutput) PatternsAlloweds

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 (ActionsRepositoryPermissionsAllowedActionsConfigOutput) ToActionsRepositoryPermissionsAllowedActionsConfigOutput

func (ActionsRepositoryPermissionsAllowedActionsConfigOutput) ToActionsRepositoryPermissionsAllowedActionsConfigOutputWithContext

func (o ActionsRepositoryPermissionsAllowedActionsConfigOutput) ToActionsRepositoryPermissionsAllowedActionsConfigOutputWithContext(ctx context.Context) ActionsRepositoryPermissionsAllowedActionsConfigOutput

func (ActionsRepositoryPermissionsAllowedActionsConfigOutput) ToActionsRepositoryPermissionsAllowedActionsConfigPtrOutput

func (o ActionsRepositoryPermissionsAllowedActionsConfigOutput) ToActionsRepositoryPermissionsAllowedActionsConfigPtrOutput() ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput

func (ActionsRepositoryPermissionsAllowedActionsConfigOutput) ToActionsRepositoryPermissionsAllowedActionsConfigPtrOutputWithContext

func (o ActionsRepositoryPermissionsAllowedActionsConfigOutput) ToActionsRepositoryPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput

func (ActionsRepositoryPermissionsAllowedActionsConfigOutput) VerifiedAllowed

Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.

type ActionsRepositoryPermissionsAllowedActionsConfigPtrInput

type ActionsRepositoryPermissionsAllowedActionsConfigPtrInput interface {
	pulumi.Input

	ToActionsRepositoryPermissionsAllowedActionsConfigPtrOutput() ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput
	ToActionsRepositoryPermissionsAllowedActionsConfigPtrOutputWithContext(context.Context) ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput
}

ActionsRepositoryPermissionsAllowedActionsConfigPtrInput is an input type that accepts ActionsRepositoryPermissionsAllowedActionsConfigArgs, ActionsRepositoryPermissionsAllowedActionsConfigPtr and ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput values. You can construct a concrete instance of `ActionsRepositoryPermissionsAllowedActionsConfigPtrInput` via:

        ActionsRepositoryPermissionsAllowedActionsConfigArgs{...}

or:

        nil

type ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput

type ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput struct{ *pulumi.OutputState }

func (ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput) Elem

func (ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput) ElementType

func (ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput) GithubOwnedAllowed

Whether GitHub-owned actions are allowed in the repository.

func (ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput) PatternsAlloweds

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 (ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput) ToActionsRepositoryPermissionsAllowedActionsConfigPtrOutput

func (ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput) ToActionsRepositoryPermissionsAllowedActionsConfigPtrOutputWithContext

func (o ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput) ToActionsRepositoryPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput

func (ActionsRepositoryPermissionsAllowedActionsConfigPtrOutput) VerifiedAllowed

Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.

type ActionsRepositoryPermissionsArgs

type ActionsRepositoryPermissionsArgs 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 repository. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.
	AllowedActionsConfig ActionsRepositoryPermissionsAllowedActionsConfigPtrInput
	// Should GitHub actions be enabled on this repository?
	Enabled pulumi.BoolPtrInput
	// The GitHub repository
	Repository pulumi.StringInput
}

The set of arguments for constructing a ActionsRepositoryPermissions resource.

func (ActionsRepositoryPermissionsArgs) ElementType

type ActionsRepositoryPermissionsArray

type ActionsRepositoryPermissionsArray []ActionsRepositoryPermissionsInput

func (ActionsRepositoryPermissionsArray) ElementType

func (ActionsRepositoryPermissionsArray) ToActionsRepositoryPermissionsArrayOutput

func (i ActionsRepositoryPermissionsArray) ToActionsRepositoryPermissionsArrayOutput() ActionsRepositoryPermissionsArrayOutput

func (ActionsRepositoryPermissionsArray) ToActionsRepositoryPermissionsArrayOutputWithContext

func (i ActionsRepositoryPermissionsArray) ToActionsRepositoryPermissionsArrayOutputWithContext(ctx context.Context) ActionsRepositoryPermissionsArrayOutput

type ActionsRepositoryPermissionsArrayInput

type ActionsRepositoryPermissionsArrayInput interface {
	pulumi.Input

	ToActionsRepositoryPermissionsArrayOutput() ActionsRepositoryPermissionsArrayOutput
	ToActionsRepositoryPermissionsArrayOutputWithContext(context.Context) ActionsRepositoryPermissionsArrayOutput
}

ActionsRepositoryPermissionsArrayInput is an input type that accepts ActionsRepositoryPermissionsArray and ActionsRepositoryPermissionsArrayOutput values. You can construct a concrete instance of `ActionsRepositoryPermissionsArrayInput` via:

ActionsRepositoryPermissionsArray{ ActionsRepositoryPermissionsArgs{...} }

type ActionsRepositoryPermissionsArrayOutput

type ActionsRepositoryPermissionsArrayOutput struct{ *pulumi.OutputState }

func (ActionsRepositoryPermissionsArrayOutput) ElementType

func (ActionsRepositoryPermissionsArrayOutput) Index

func (ActionsRepositoryPermissionsArrayOutput) ToActionsRepositoryPermissionsArrayOutput

func (o ActionsRepositoryPermissionsArrayOutput) ToActionsRepositoryPermissionsArrayOutput() ActionsRepositoryPermissionsArrayOutput

func (ActionsRepositoryPermissionsArrayOutput) ToActionsRepositoryPermissionsArrayOutputWithContext

func (o ActionsRepositoryPermissionsArrayOutput) ToActionsRepositoryPermissionsArrayOutputWithContext(ctx context.Context) ActionsRepositoryPermissionsArrayOutput

type ActionsRepositoryPermissionsInput

type ActionsRepositoryPermissionsInput interface {
	pulumi.Input

	ToActionsRepositoryPermissionsOutput() ActionsRepositoryPermissionsOutput
	ToActionsRepositoryPermissionsOutputWithContext(ctx context.Context) ActionsRepositoryPermissionsOutput
}

type ActionsRepositoryPermissionsMap

type ActionsRepositoryPermissionsMap map[string]ActionsRepositoryPermissionsInput

func (ActionsRepositoryPermissionsMap) ElementType

func (ActionsRepositoryPermissionsMap) ToActionsRepositoryPermissionsMapOutput

func (i ActionsRepositoryPermissionsMap) ToActionsRepositoryPermissionsMapOutput() ActionsRepositoryPermissionsMapOutput

func (ActionsRepositoryPermissionsMap) ToActionsRepositoryPermissionsMapOutputWithContext

func (i ActionsRepositoryPermissionsMap) ToActionsRepositoryPermissionsMapOutputWithContext(ctx context.Context) ActionsRepositoryPermissionsMapOutput

type ActionsRepositoryPermissionsMapInput

type ActionsRepositoryPermissionsMapInput interface {
	pulumi.Input

	ToActionsRepositoryPermissionsMapOutput() ActionsRepositoryPermissionsMapOutput
	ToActionsRepositoryPermissionsMapOutputWithContext(context.Context) ActionsRepositoryPermissionsMapOutput
}

ActionsRepositoryPermissionsMapInput is an input type that accepts ActionsRepositoryPermissionsMap and ActionsRepositoryPermissionsMapOutput values. You can construct a concrete instance of `ActionsRepositoryPermissionsMapInput` via:

ActionsRepositoryPermissionsMap{ "key": ActionsRepositoryPermissionsArgs{...} }

type ActionsRepositoryPermissionsMapOutput

type ActionsRepositoryPermissionsMapOutput struct{ *pulumi.OutputState }

func (ActionsRepositoryPermissionsMapOutput) ElementType

func (ActionsRepositoryPermissionsMapOutput) MapIndex

func (ActionsRepositoryPermissionsMapOutput) ToActionsRepositoryPermissionsMapOutput

func (o ActionsRepositoryPermissionsMapOutput) ToActionsRepositoryPermissionsMapOutput() ActionsRepositoryPermissionsMapOutput

func (ActionsRepositoryPermissionsMapOutput) ToActionsRepositoryPermissionsMapOutputWithContext

func (o ActionsRepositoryPermissionsMapOutput) ToActionsRepositoryPermissionsMapOutputWithContext(ctx context.Context) ActionsRepositoryPermissionsMapOutput

type ActionsRepositoryPermissionsOutput

type ActionsRepositoryPermissionsOutput struct{ *pulumi.OutputState }

func (ActionsRepositoryPermissionsOutput) AllowedActions

The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `localOnly`, or `selected`.

func (ActionsRepositoryPermissionsOutput) AllowedActionsConfig

Sets the actions that are allowed in an repository. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.

func (ActionsRepositoryPermissionsOutput) ElementType

func (ActionsRepositoryPermissionsOutput) Enabled

Should GitHub actions be enabled on this repository?

func (ActionsRepositoryPermissionsOutput) Repository

The GitHub repository

func (ActionsRepositoryPermissionsOutput) ToActionsRepositoryPermissionsOutput

func (o ActionsRepositoryPermissionsOutput) ToActionsRepositoryPermissionsOutput() ActionsRepositoryPermissionsOutput

func (ActionsRepositoryPermissionsOutput) ToActionsRepositoryPermissionsOutputWithContext

func (o ActionsRepositoryPermissionsOutput) ToActionsRepositoryPermissionsOutputWithContext(ctx context.Context) ActionsRepositoryPermissionsOutput

type ActionsRepositoryPermissionsState

type ActionsRepositoryPermissionsState 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 repository. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.
	AllowedActionsConfig ActionsRepositoryPermissionsAllowedActionsConfigPtrInput
	// Should GitHub actions be enabled on this repository?
	Enabled pulumi.BoolPtrInput
	// The GitHub repository
	Repository pulumi.StringPtrInput
}

func (ActionsRepositoryPermissionsState) ElementType

type ActionsRunnerGroup

type ActionsRunnerGroup struct {
	pulumi.CustomResourceState

	// Whether public repositories can be added to the runner group. Defaults to false.
	AllowsPublicRepositories pulumi.BoolPtrOutput `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"`
	// If true, the runner group will be restricted to running only the workflows specified in the selectedWorkflows array. Defaults to false.
	RestrictedToWorkflows pulumi.BoolPtrOutput `pulumi:"restrictedToWorkflows"`
	// 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"`
	// List of workflows the runner group should be allowed to run. This setting will be ignored unless restrictedToWorkflows is set to true.
	SelectedWorkflows pulumi.StringArrayOutput `pulumi:"selectedWorkflows"`
	// 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using the ID of the runner group:

```sh $ pulumi import github:index/actionsRunnerGroup:ActionsRunnerGroup test 7 ```

func GetActionsRunnerGroup

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

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

func (*ActionsRunnerGroup) ElementType() reflect.Type

func (*ActionsRunnerGroup) ToActionsRunnerGroupOutput

func (i *ActionsRunnerGroup) ToActionsRunnerGroupOutput() ActionsRunnerGroupOutput

func (*ActionsRunnerGroup) ToActionsRunnerGroupOutputWithContext

func (i *ActionsRunnerGroup) ToActionsRunnerGroupOutputWithContext(ctx context.Context) ActionsRunnerGroupOutput

type ActionsRunnerGroupArgs

type ActionsRunnerGroupArgs struct {
	// Whether public repositories can be added to the runner group. Defaults to false.
	AllowsPublicRepositories pulumi.BoolPtrInput
	// Name of the runner group
	Name pulumi.StringPtrInput
	// If true, the runner group will be restricted to running only the workflows specified in the selectedWorkflows array. Defaults to false.
	RestrictedToWorkflows pulumi.BoolPtrInput
	// IDs of the repositories which should be added to the runner group
	SelectedRepositoryIds pulumi.IntArrayInput
	// List of workflows the runner group should be allowed to run. This setting will be ignored unless restrictedToWorkflows is set to true.
	SelectedWorkflows pulumi.StringArrayInput
	// 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

func (ActionsRunnerGroupArgs) ElementType() reflect.Type

type ActionsRunnerGroupArray

type ActionsRunnerGroupArray []ActionsRunnerGroupInput

func (ActionsRunnerGroupArray) ElementType

func (ActionsRunnerGroupArray) ElementType() reflect.Type

func (ActionsRunnerGroupArray) ToActionsRunnerGroupArrayOutput

func (i ActionsRunnerGroupArray) ToActionsRunnerGroupArrayOutput() ActionsRunnerGroupArrayOutput

func (ActionsRunnerGroupArray) ToActionsRunnerGroupArrayOutputWithContext

func (i ActionsRunnerGroupArray) ToActionsRunnerGroupArrayOutputWithContext(ctx context.Context) ActionsRunnerGroupArrayOutput

type ActionsRunnerGroupArrayInput

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

type ActionsRunnerGroupArrayOutput struct{ *pulumi.OutputState }

func (ActionsRunnerGroupArrayOutput) ElementType

func (ActionsRunnerGroupArrayOutput) Index

func (ActionsRunnerGroupArrayOutput) ToActionsRunnerGroupArrayOutput

func (o ActionsRunnerGroupArrayOutput) ToActionsRunnerGroupArrayOutput() ActionsRunnerGroupArrayOutput

func (ActionsRunnerGroupArrayOutput) ToActionsRunnerGroupArrayOutputWithContext

func (o ActionsRunnerGroupArrayOutput) ToActionsRunnerGroupArrayOutputWithContext(ctx context.Context) ActionsRunnerGroupArrayOutput

type ActionsRunnerGroupInput

type ActionsRunnerGroupInput interface {
	pulumi.Input

	ToActionsRunnerGroupOutput() ActionsRunnerGroupOutput
	ToActionsRunnerGroupOutputWithContext(ctx context.Context) ActionsRunnerGroupOutput
}

type ActionsRunnerGroupMap

type ActionsRunnerGroupMap map[string]ActionsRunnerGroupInput

func (ActionsRunnerGroupMap) ElementType

func (ActionsRunnerGroupMap) ElementType() reflect.Type

func (ActionsRunnerGroupMap) ToActionsRunnerGroupMapOutput

func (i ActionsRunnerGroupMap) ToActionsRunnerGroupMapOutput() ActionsRunnerGroupMapOutput

func (ActionsRunnerGroupMap) ToActionsRunnerGroupMapOutputWithContext

func (i ActionsRunnerGroupMap) ToActionsRunnerGroupMapOutputWithContext(ctx context.Context) ActionsRunnerGroupMapOutput

type ActionsRunnerGroupMapInput

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

type ActionsRunnerGroupMapOutput struct{ *pulumi.OutputState }

func (ActionsRunnerGroupMapOutput) ElementType

func (ActionsRunnerGroupMapOutput) MapIndex

func (ActionsRunnerGroupMapOutput) ToActionsRunnerGroupMapOutput

func (o ActionsRunnerGroupMapOutput) ToActionsRunnerGroupMapOutput() ActionsRunnerGroupMapOutput

func (ActionsRunnerGroupMapOutput) ToActionsRunnerGroupMapOutputWithContext

func (o ActionsRunnerGroupMapOutput) ToActionsRunnerGroupMapOutputWithContext(ctx context.Context) ActionsRunnerGroupMapOutput

type ActionsRunnerGroupOutput

type ActionsRunnerGroupOutput struct{ *pulumi.OutputState }

func (ActionsRunnerGroupOutput) AllowsPublicRepositories

func (o ActionsRunnerGroupOutput) AllowsPublicRepositories() pulumi.BoolPtrOutput

Whether public repositories can be added to the runner group. Defaults to false.

func (ActionsRunnerGroupOutput) Default

Whether this is the default runner group

func (ActionsRunnerGroupOutput) ElementType

func (ActionsRunnerGroupOutput) ElementType() reflect.Type

func (ActionsRunnerGroupOutput) Etag

An etag representing the runner group object

func (ActionsRunnerGroupOutput) Inherited

Whether the runner group is inherited from the enterprise level

func (ActionsRunnerGroupOutput) Name

Name of the runner group

func (ActionsRunnerGroupOutput) RestrictedToWorkflows

func (o ActionsRunnerGroupOutput) RestrictedToWorkflows() pulumi.BoolPtrOutput

If true, the runner group will be restricted to running only the workflows specified in the selectedWorkflows array. Defaults to false.

func (ActionsRunnerGroupOutput) RunnersUrl

The GitHub API URL for the runner group's runners

func (ActionsRunnerGroupOutput) SelectedRepositoriesUrl

func (o ActionsRunnerGroupOutput) SelectedRepositoriesUrl() pulumi.StringOutput

GitHub API URL for the runner group's repositories

func (ActionsRunnerGroupOutput) SelectedRepositoryIds

func (o ActionsRunnerGroupOutput) SelectedRepositoryIds() pulumi.IntArrayOutput

IDs of the repositories which should be added to the runner group

func (ActionsRunnerGroupOutput) SelectedWorkflows

func (o ActionsRunnerGroupOutput) SelectedWorkflows() pulumi.StringArrayOutput

List of workflows the runner group should be allowed to run. This setting will be ignored unless restrictedToWorkflows is set to true.

func (ActionsRunnerGroupOutput) ToActionsRunnerGroupOutput

func (o ActionsRunnerGroupOutput) ToActionsRunnerGroupOutput() ActionsRunnerGroupOutput

func (ActionsRunnerGroupOutput) ToActionsRunnerGroupOutputWithContext

func (o ActionsRunnerGroupOutput) ToActionsRunnerGroupOutputWithContext(ctx context.Context) ActionsRunnerGroupOutput

func (ActionsRunnerGroupOutput) Visibility

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

type ActionsRunnerGroupState struct {
	// Whether public repositories can be added to the runner group. Defaults to false.
	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
	// If true, the runner group will be restricted to running only the workflows specified in the selectedWorkflows array. Defaults to false.
	RestrictedToWorkflows pulumi.BoolPtrInput
	// 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
	// List of workflows the runner group should be allowed to run. This setting will be ignored unless restrictedToWorkflows is set to true.
	SelectedWorkflows pulumi.StringArrayInput
	// 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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetActionsPublicKey(ctx, &github.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
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using an ID made up of the `repository` and `secret_name`:

```sh $ pulumi import github:index/actionsSecret:ActionsSecret example_secret repository/secret_name ``` NOTE: the 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 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 (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 (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

func (o ActionsSecretOutput) CreatedAt() pulumi.StringOutput

Date of actionsSecret creation.

func (ActionsSecretOutput) ElementType

func (ActionsSecretOutput) ElementType() reflect.Type

func (ActionsSecretOutput) EncryptedValue

func (o ActionsSecretOutput) EncryptedValue() pulumi.StringPtrOutput

Encrypted value of the secret using the GitHub public key in Base64 format.

func (ActionsSecretOutput) PlaintextValue

func (o ActionsSecretOutput) PlaintextValue() pulumi.StringPtrOutput

Plaintext value of the secret to be encrypted

func (ActionsSecretOutput) Repository

func (o ActionsSecretOutput) Repository() pulumi.StringOutput

Name of the repository

func (ActionsSecretOutput) SecretName

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

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 ActionsVariable

type ActionsVariable struct {
	pulumi.CustomResourceState

	// Date of actionsVariable creation.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Name of the repository
	Repository pulumi.StringOutput `pulumi:"repository"`
	// Date of actionsVariable update.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
	// Value of the variable
	Value pulumi.StringOutput `pulumi:"value"`
	// Name of the variable
	VariableName pulumi.StringOutput `pulumi:"variableName"`
}

This resource allows you to create and manage GitHub Actions variables within your GitHub repositories. You must have write access to a repository to use this resource.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.NewActionsVariable(ctx, "exampleVariable", &github.ActionsVariableArgs{
			Repository:   pulumi.String("example_repository"),
			Value:        pulumi.String("example_variable_value"),
			VariableName: pulumi.String("example_variable_name"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

GitHub Actions variables can be imported using an ID made up of `repository:variable_name`, e.g.

```sh $ pulumi import github:index/actionsVariable:ActionsVariable myvariable myrepo:myvariable ```

func GetActionsVariable

func GetActionsVariable(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ActionsVariableState, opts ...pulumi.ResourceOption) (*ActionsVariable, error)

GetActionsVariable gets an existing ActionsVariable 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 NewActionsVariable

func NewActionsVariable(ctx *pulumi.Context,
	name string, args *ActionsVariableArgs, opts ...pulumi.ResourceOption) (*ActionsVariable, error)

NewActionsVariable registers a new resource with the given unique name, arguments, and options.

func (*ActionsVariable) ElementType

func (*ActionsVariable) ElementType() reflect.Type

func (*ActionsVariable) ToActionsVariableOutput

func (i *ActionsVariable) ToActionsVariableOutput() ActionsVariableOutput

func (*ActionsVariable) ToActionsVariableOutputWithContext

func (i *ActionsVariable) ToActionsVariableOutputWithContext(ctx context.Context) ActionsVariableOutput

type ActionsVariableArgs

type ActionsVariableArgs struct {
	// Name of the repository
	Repository pulumi.StringInput
	// Value of the variable
	Value pulumi.StringInput
	// Name of the variable
	VariableName pulumi.StringInput
}

The set of arguments for constructing a ActionsVariable resource.

func (ActionsVariableArgs) ElementType

func (ActionsVariableArgs) ElementType() reflect.Type

type ActionsVariableArray

type ActionsVariableArray []ActionsVariableInput

func (ActionsVariableArray) ElementType

func (ActionsVariableArray) ElementType() reflect.Type

func (ActionsVariableArray) ToActionsVariableArrayOutput

func (i ActionsVariableArray) ToActionsVariableArrayOutput() ActionsVariableArrayOutput

func (ActionsVariableArray) ToActionsVariableArrayOutputWithContext

func (i ActionsVariableArray) ToActionsVariableArrayOutputWithContext(ctx context.Context) ActionsVariableArrayOutput

type ActionsVariableArrayInput

type ActionsVariableArrayInput interface {
	pulumi.Input

	ToActionsVariableArrayOutput() ActionsVariableArrayOutput
	ToActionsVariableArrayOutputWithContext(context.Context) ActionsVariableArrayOutput
}

ActionsVariableArrayInput is an input type that accepts ActionsVariableArray and ActionsVariableArrayOutput values. You can construct a concrete instance of `ActionsVariableArrayInput` via:

ActionsVariableArray{ ActionsVariableArgs{...} }

type ActionsVariableArrayOutput

type ActionsVariableArrayOutput struct{ *pulumi.OutputState }

func (ActionsVariableArrayOutput) ElementType

func (ActionsVariableArrayOutput) ElementType() reflect.Type

func (ActionsVariableArrayOutput) Index

func (ActionsVariableArrayOutput) ToActionsVariableArrayOutput

func (o ActionsVariableArrayOutput) ToActionsVariableArrayOutput() ActionsVariableArrayOutput

func (ActionsVariableArrayOutput) ToActionsVariableArrayOutputWithContext

func (o ActionsVariableArrayOutput) ToActionsVariableArrayOutputWithContext(ctx context.Context) ActionsVariableArrayOutput

type ActionsVariableInput

type ActionsVariableInput interface {
	pulumi.Input

	ToActionsVariableOutput() ActionsVariableOutput
	ToActionsVariableOutputWithContext(ctx context.Context) ActionsVariableOutput
}

type ActionsVariableMap

type ActionsVariableMap map[string]ActionsVariableInput

func (ActionsVariableMap) ElementType

func (ActionsVariableMap) ElementType() reflect.Type

func (ActionsVariableMap) ToActionsVariableMapOutput

func (i ActionsVariableMap) ToActionsVariableMapOutput() ActionsVariableMapOutput

func (ActionsVariableMap) ToActionsVariableMapOutputWithContext

func (i ActionsVariableMap) ToActionsVariableMapOutputWithContext(ctx context.Context) ActionsVariableMapOutput

type ActionsVariableMapInput

type ActionsVariableMapInput interface {
	pulumi.Input

	ToActionsVariableMapOutput() ActionsVariableMapOutput
	ToActionsVariableMapOutputWithContext(context.Context) ActionsVariableMapOutput
}

ActionsVariableMapInput is an input type that accepts ActionsVariableMap and ActionsVariableMapOutput values. You can construct a concrete instance of `ActionsVariableMapInput` via:

ActionsVariableMap{ "key": ActionsVariableArgs{...} }

type ActionsVariableMapOutput

type ActionsVariableMapOutput struct{ *pulumi.OutputState }

func (ActionsVariableMapOutput) ElementType

func (ActionsVariableMapOutput) ElementType() reflect.Type

func (ActionsVariableMapOutput) MapIndex

func (ActionsVariableMapOutput) ToActionsVariableMapOutput

func (o ActionsVariableMapOutput) ToActionsVariableMapOutput() ActionsVariableMapOutput

func (ActionsVariableMapOutput) ToActionsVariableMapOutputWithContext

func (o ActionsVariableMapOutput) ToActionsVariableMapOutputWithContext(ctx context.Context) ActionsVariableMapOutput

type ActionsVariableOutput

type ActionsVariableOutput struct{ *pulumi.OutputState }

func (ActionsVariableOutput) CreatedAt

Date of actionsVariable creation.

func (ActionsVariableOutput) ElementType

func (ActionsVariableOutput) ElementType() reflect.Type

func (ActionsVariableOutput) Repository

func (o ActionsVariableOutput) Repository() pulumi.StringOutput

Name of the repository

func (ActionsVariableOutput) ToActionsVariableOutput

func (o ActionsVariableOutput) ToActionsVariableOutput() ActionsVariableOutput

func (ActionsVariableOutput) ToActionsVariableOutputWithContext

func (o ActionsVariableOutput) ToActionsVariableOutputWithContext(ctx context.Context) ActionsVariableOutput

func (ActionsVariableOutput) UpdatedAt

Date of actionsVariable update.

func (ActionsVariableOutput) Value

Value of the variable

func (ActionsVariableOutput) VariableName

func (o ActionsVariableOutput) VariableName() pulumi.StringOutput

Name of the variable

type ActionsVariableState

type ActionsVariableState struct {
	// Date of actionsVariable creation.
	CreatedAt pulumi.StringPtrInput
	// Name of the repository
	Repository pulumi.StringPtrInput
	// Date of actionsVariable update.
	UpdatedAt pulumi.StringPtrInput
	// Value of the variable
	Value pulumi.StringPtrInput
	// Name of the variable
	VariableName pulumi.StringPtrInput
}

func (ActionsVariableState) ElementType

func (ActionsVariableState) ElementType() reflect.Type

type AppInstallationRepositories

type AppInstallationRepositories struct {
	pulumi.CustomResourceState

	// The GitHub app installation id.
	InstallationId pulumi.StringOutput `pulumi:"installationId"`
	// A list of repository names to install the app on.
	//
	// > **Note**: Due to how GitHub implements app installations, apps cannot be installed with no repositories selected. Therefore deleting this resource will leave one repository with the app installed. Manually uninstall the app or set the installation to all repositories via the GUI as after deleting this resource.
	SelectedRepositories pulumi.StringArrayOutput `pulumi:"selectedRepositories"`
}

> **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 multiple repositories.

The app installation and the repositories must all 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).

## Import

GitHub App Installation Repositories can be imported using an ID made up of `installation_id`, e.g.

```sh $ pulumi import github:index/appInstallationRepositories:AppInstallationRepositories some_app_repos 1234567 ```

func GetAppInstallationRepositories

func GetAppInstallationRepositories(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppInstallationRepositoriesState, opts ...pulumi.ResourceOption) (*AppInstallationRepositories, error)

GetAppInstallationRepositories gets an existing AppInstallationRepositories 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 NewAppInstallationRepositories

func NewAppInstallationRepositories(ctx *pulumi.Context,
	name string, args *AppInstallationRepositoriesArgs, opts ...pulumi.ResourceOption) (*AppInstallationRepositories, error)

NewAppInstallationRepositories registers a new resource with the given unique name, arguments, and options.

func (*AppInstallationRepositories) ElementType

func (*AppInstallationRepositories) ElementType() reflect.Type

func (*AppInstallationRepositories) ToAppInstallationRepositoriesOutput

func (i *AppInstallationRepositories) ToAppInstallationRepositoriesOutput() AppInstallationRepositoriesOutput

func (*AppInstallationRepositories) ToAppInstallationRepositoriesOutputWithContext

func (i *AppInstallationRepositories) ToAppInstallationRepositoriesOutputWithContext(ctx context.Context) AppInstallationRepositoriesOutput

type AppInstallationRepositoriesArgs

type AppInstallationRepositoriesArgs struct {
	// The GitHub app installation id.
	InstallationId pulumi.StringInput
	// A list of repository names to install the app on.
	//
	// > **Note**: Due to how GitHub implements app installations, apps cannot be installed with no repositories selected. Therefore deleting this resource will leave one repository with the app installed. Manually uninstall the app or set the installation to all repositories via the GUI as after deleting this resource.
	SelectedRepositories pulumi.StringArrayInput
}

The set of arguments for constructing a AppInstallationRepositories resource.

func (AppInstallationRepositoriesArgs) ElementType

type AppInstallationRepositoriesArray

type AppInstallationRepositoriesArray []AppInstallationRepositoriesInput

func (AppInstallationRepositoriesArray) ElementType

func (AppInstallationRepositoriesArray) ToAppInstallationRepositoriesArrayOutput

func (i AppInstallationRepositoriesArray) ToAppInstallationRepositoriesArrayOutput() AppInstallationRepositoriesArrayOutput

func (AppInstallationRepositoriesArray) ToAppInstallationRepositoriesArrayOutputWithContext

func (i AppInstallationRepositoriesArray) ToAppInstallationRepositoriesArrayOutputWithContext(ctx context.Context) AppInstallationRepositoriesArrayOutput

type AppInstallationRepositoriesArrayInput

type AppInstallationRepositoriesArrayInput interface {
	pulumi.Input

	ToAppInstallationRepositoriesArrayOutput() AppInstallationRepositoriesArrayOutput
	ToAppInstallationRepositoriesArrayOutputWithContext(context.Context) AppInstallationRepositoriesArrayOutput
}

AppInstallationRepositoriesArrayInput is an input type that accepts AppInstallationRepositoriesArray and AppInstallationRepositoriesArrayOutput values. You can construct a concrete instance of `AppInstallationRepositoriesArrayInput` via:

AppInstallationRepositoriesArray{ AppInstallationRepositoriesArgs{...} }

type AppInstallationRepositoriesArrayOutput

type AppInstallationRepositoriesArrayOutput struct{ *pulumi.OutputState }

func (AppInstallationRepositoriesArrayOutput) ElementType

func (AppInstallationRepositoriesArrayOutput) Index

func (AppInstallationRepositoriesArrayOutput) ToAppInstallationRepositoriesArrayOutput

func (o AppInstallationRepositoriesArrayOutput) ToAppInstallationRepositoriesArrayOutput() AppInstallationRepositoriesArrayOutput

func (AppInstallationRepositoriesArrayOutput) ToAppInstallationRepositoriesArrayOutputWithContext

func (o AppInstallationRepositoriesArrayOutput) ToAppInstallationRepositoriesArrayOutputWithContext(ctx context.Context) AppInstallationRepositoriesArrayOutput

type AppInstallationRepositoriesInput

type AppInstallationRepositoriesInput interface {
	pulumi.Input

	ToAppInstallationRepositoriesOutput() AppInstallationRepositoriesOutput
	ToAppInstallationRepositoriesOutputWithContext(ctx context.Context) AppInstallationRepositoriesOutput
}

type AppInstallationRepositoriesMap

type AppInstallationRepositoriesMap map[string]AppInstallationRepositoriesInput

func (AppInstallationRepositoriesMap) ElementType

func (AppInstallationRepositoriesMap) ToAppInstallationRepositoriesMapOutput

func (i AppInstallationRepositoriesMap) ToAppInstallationRepositoriesMapOutput() AppInstallationRepositoriesMapOutput

func (AppInstallationRepositoriesMap) ToAppInstallationRepositoriesMapOutputWithContext

func (i AppInstallationRepositoriesMap) ToAppInstallationRepositoriesMapOutputWithContext(ctx context.Context) AppInstallationRepositoriesMapOutput

type AppInstallationRepositoriesMapInput

type AppInstallationRepositoriesMapInput interface {
	pulumi.Input

	ToAppInstallationRepositoriesMapOutput() AppInstallationRepositoriesMapOutput
	ToAppInstallationRepositoriesMapOutputWithContext(context.Context) AppInstallationRepositoriesMapOutput
}

AppInstallationRepositoriesMapInput is an input type that accepts AppInstallationRepositoriesMap and AppInstallationRepositoriesMapOutput values. You can construct a concrete instance of `AppInstallationRepositoriesMapInput` via:

AppInstallationRepositoriesMap{ "key": AppInstallationRepositoriesArgs{...} }

type AppInstallationRepositoriesMapOutput

type AppInstallationRepositoriesMapOutput struct{ *pulumi.OutputState }

func (AppInstallationRepositoriesMapOutput) ElementType

func (AppInstallationRepositoriesMapOutput) MapIndex

func (AppInstallationRepositoriesMapOutput) ToAppInstallationRepositoriesMapOutput

func (o AppInstallationRepositoriesMapOutput) ToAppInstallationRepositoriesMapOutput() AppInstallationRepositoriesMapOutput

func (AppInstallationRepositoriesMapOutput) ToAppInstallationRepositoriesMapOutputWithContext

func (o AppInstallationRepositoriesMapOutput) ToAppInstallationRepositoriesMapOutputWithContext(ctx context.Context) AppInstallationRepositoriesMapOutput

type AppInstallationRepositoriesOutput

type AppInstallationRepositoriesOutput struct{ *pulumi.OutputState }

func (AppInstallationRepositoriesOutput) ElementType

func (AppInstallationRepositoriesOutput) InstallationId

The GitHub app installation id.

func (AppInstallationRepositoriesOutput) SelectedRepositories

A list of repository names to install the app on.

> **Note**: Due to how GitHub implements app installations, apps cannot be installed with no repositories selected. Therefore deleting this resource will leave one repository with the app installed. Manually uninstall the app or set the installation to all repositories via the GUI as after deleting this resource.

func (AppInstallationRepositoriesOutput) ToAppInstallationRepositoriesOutput

func (o AppInstallationRepositoriesOutput) ToAppInstallationRepositoriesOutput() AppInstallationRepositoriesOutput

func (AppInstallationRepositoriesOutput) ToAppInstallationRepositoriesOutputWithContext

func (o AppInstallationRepositoriesOutput) ToAppInstallationRepositoriesOutputWithContext(ctx context.Context) AppInstallationRepositoriesOutput

type AppInstallationRepositoriesState

type AppInstallationRepositoriesState struct {
	// The GitHub app installation id.
	InstallationId pulumi.StringPtrInput
	// A list of repository names to install the app on.
	//
	// > **Note**: Due to how GitHub implements app installations, apps cannot be installed with no repositories selected. Therefore deleting this resource will leave one repository with the app installed. Manually uninstall the app or set the installation to all repositories via the GUI as after deleting this resource.
	SelectedRepositories pulumi.StringArrayInput
}

func (AppInstallationRepositoriesState) ElementType

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a repository.
		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
	})
}

``` <!--End PulumiCodeChooser -->

## 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

type AppInstallationRepositoryArray

type AppInstallationRepositoryArray []AppInstallationRepositoryInput

func (AppInstallationRepositoryArray) ElementType

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) Index

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) 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) MapIndex

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) InstallationId

The GitHub app installation id.

func (AppInstallationRepositoryOutput) RepoId

func (AppInstallationRepositoryOutput) Repository

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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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) ElementType() reflect.Type

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 (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"`
	Etag   pulumi.StringOutput `pulumi:"etag"`
	// Indicate if it should rename the branch rather than use an existing branch. Defaults to `false`.
	Rename pulumi.BoolPtrOutput `pulumi:"rename"`
	// 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

Basic usage:

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

Renaming to a branch that doesn't exist:

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
		}
		_, err = github.NewBranchDefault(ctx, "default", &github.BranchDefaultArgs{
			Repository: example.Name,
			Branch:     pulumi.String("development"),
			Rename:     pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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
	// Indicate if it should rename the branch rather than use an existing branch. Defaults to `false`.
	Rename pulumi.BoolPtrInput
	// 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 (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 (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

The branch (e.g. `main`)

func (BranchDefaultOutput) ElementType

func (BranchDefaultOutput) ElementType() reflect.Type

func (BranchDefaultOutput) Etag

func (BranchDefaultOutput) Rename

Indicate if it should rename the branch rather than use an existing branch. Defaults to `false`.

func (BranchDefaultOutput) Repository

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
	Etag   pulumi.StringPtrInput
	// Indicate if it should rename the branch rather than use an existing branch. Defaults to `false`.
	Rename pulumi.BoolPtrInput
	// 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) ElementType() reflect.Type

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 (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

func (o BranchOutput) Branch() pulumi.StringOutput

The repository branch to create.

func (BranchOutput) ElementType

func (BranchOutput) ElementType() reflect.Type

func (BranchOutput) Etag

func (o BranchOutput) Etag() pulumi.StringOutput

An etag representing the Branch object.

func (BranchOutput) Ref

A string representing a branch reference, in the form of `refs/heads/<branch>`.

func (BranchOutput) Repository

func (o BranchOutput) Repository() pulumi.StringOutput

The GitHub repository name.

func (BranchOutput) Sha

A string storing the reference's `HEAD` commit's SHA1.

func (BranchOutput) SourceBranch

func (o BranchOutput) SourceBranch() pulumi.StringPtrOutput

The branch name to start from. Defaults to `main`.

func (BranchOutput) SourceSha

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 to everyone. Set it to `false` if you specify `forcePushBypassers`.
	AllowsForcePushes pulumi.BoolPtrOutput `pulumi:"allowsForcePushes"`
	// Boolean, setting this to `true` enforces status checks for repository administrators.
	EnforceAdmins pulumi.BoolPtrOutput `pulumi:"enforceAdmins"`
	// The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. If the list is not empty, `allowsForcePushes` should be set to `false`.
	ForcePushBypassers pulumi.StringArrayOutput `pulumi:"forcePushBypassers"`
	// Boolean, Setting this to `true` will make the branch read-only and preventing any pushes to it. Defaults to `false`
	LockBranch pulumi.BoolPtrOutput `pulumi:"lockBranch"`
	// Identifies the protection rule pattern.
	Pattern pulumi.StringOutput `pulumi:"pattern"`
	// 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"`
	// Restrict pushes to matching branches. See Restrict Pushes below for details.
	RestrictPushes BranchProtectionRestrictPushArrayOutput `pulumi:"restrictPushes"`
}

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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, &github.GetUserArgs{
			Username: "example",
		}, nil)
		if err != nil {
			return err
		}
		exampleTeam, err := github.NewTeam(ctx, "exampleTeam", nil)
		if err != nil {
			return err
		}
		// Protect the main branch of the foo repository. Additionally, require that
		// the "ci/travis" context to be passing and only allow the engineers team merge
		// to the branch.
		_, err = github.NewBranchProtection(ctx, "exampleBranchProtection", &github.BranchProtectionArgs{
			RepositoryId:    exampleRepository.NodeId,
			Pattern:         pulumi.String("main"),
			EnforceAdmins:   pulumi.Bool(true),
			AllowsDeletions: pulumi.Bool(true),
			RequiredStatusChecks: github.BranchProtectionRequiredStatusCheckArray{
				&github.BranchProtectionRequiredStatusCheckArgs{
					Strict: pulumi.Bool(false),
					Contexts: pulumi.StringArray{
						pulumi.String("ci/travis"),
					},
				},
			},
			RequiredPullRequestReviews: github.BranchProtectionRequiredPullRequestReviewArray{
				&github.BranchProtectionRequiredPullRequestReviewArgs{
					DismissStaleReviews: pulumi.Bool(true),
					RestrictDismissals:  pulumi.Bool(true),
					DismissalRestrictions: pulumi.StringArray{
						pulumi.String(exampleUser.NodeId),
						exampleTeam.NodeId,
						pulumi.String("/exampleuser"),
						pulumi.String("exampleorganization/exampleteam"),
					},
				},
			},
			RestrictPushes: github.BranchProtectionRestrictPushArray{
				&github.BranchProtectionRestrictPushArgs{
					PushAllowances: pulumi.StringArray{
						pulumi.String(exampleUser.NodeId),
						pulumi.String("/exampleuser"),
						pulumi.String("exampleorganization/exampleteam"),
					},
				},
			},
			ForcePushBypassers: pulumi.StringArray{
				pulumi.String(exampleUser.NodeId),
				pulumi.String("/exampleuser"),
				pulumi.String("exampleorganization/exampleteam"),
			},
		})
		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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 to everyone. Set it to `false` if you specify `forcePushBypassers`.
	AllowsForcePushes pulumi.BoolPtrInput
	// Boolean, setting this to `true` enforces status checks for repository administrators.
	EnforceAdmins pulumi.BoolPtrInput
	// The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. If the list is not empty, `allowsForcePushes` should be set to `false`.
	ForcePushBypassers pulumi.StringArrayInput
	// Boolean, Setting this to `true` will make the branch read-only and preventing any pushes to it. Defaults to `false`
	LockBranch pulumi.BoolPtrInput
	// Identifies the protection rule pattern.
	Pattern pulumi.StringInput
	// 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
	// Restrict pushes to matching branches. See Restrict Pushes below for details.
	RestrictPushes BranchProtectionRestrictPushArrayInput
}

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) Index

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 (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

func (o BranchProtectionOutput) AllowsDeletions() pulumi.BoolPtrOutput

Boolean, setting this to `true` to allow the branch to be deleted.

func (BranchProtectionOutput) AllowsForcePushes

func (o BranchProtectionOutput) AllowsForcePushes() pulumi.BoolPtrOutput

Boolean, setting this to `true` to allow force pushes on the branch to everyone. Set it to `false` if you specify `forcePushBypassers`.

func (BranchProtectionOutput) ElementType

func (BranchProtectionOutput) ElementType() reflect.Type

func (BranchProtectionOutput) EnforceAdmins

func (o BranchProtectionOutput) EnforceAdmins() pulumi.BoolPtrOutput

Boolean, setting this to `true` enforces status checks for repository administrators.

func (BranchProtectionOutput) ForcePushBypassers

func (o BranchProtectionOutput) ForcePushBypassers() pulumi.StringArrayOutput

The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. If the list is not empty, `allowsForcePushes` should be set to `false`.

func (BranchProtectionOutput) LockBranch

Boolean, Setting this to `true` will make the branch read-only and preventing any pushes to it. Defaults to `false`

func (BranchProtectionOutput) Pattern

Identifies the protection rule pattern.

func (BranchProtectionOutput) RepositoryId

func (o BranchProtectionOutput) RepositoryId() pulumi.StringOutput

The name or node ID of the repository associated with this branch protection rule.

func (BranchProtectionOutput) RequireConversationResolution

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

func (o BranchProtectionOutput) RequireSignedCommits() pulumi.BoolPtrOutput

Boolean, setting this to `true` requires all commits to be signed with GPG.

func (BranchProtectionOutput) RequiredLinearHistory

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

Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details.

func (BranchProtectionOutput) RequiredStatusChecks

Enforce restrictions for required status checks. See Required Status Checks below for details.

func (BranchProtectionOutput) RestrictPushes

Restrict pushes to matching branches. See Restrict Pushes 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 {
	// Dismiss approved reviews automatically when a new commit is pushed. Defaults to `false`.
	DismissStaleReviews *bool `pulumi:"dismissStaleReviews"`
	// The list of actor Names/IDs with dismissal access. If not empty, `restrictDismissals` is ignored. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
	DismissalRestrictions []string `pulumi:"dismissalRestrictions"`
	// The list of actor Names/IDs that are allowed to bypass pull request requirements. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
	PullRequestBypassers []string `pulumi:"pullRequestBypassers"`
	// Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.
	RequireCodeOwnerReviews *bool `pulumi:"requireCodeOwnerReviews"`
	// Require that The most recent push must be approved by someone other than the last pusher.  Defaults to `false`
	RequireLastPushApproval *bool `pulumi:"requireLastPushApproval"`
	// Require x number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. This requirement matches GitHub's API, see the upstream [documentation](https://developer.github.com/v3/repos/branches/#parameters-1) for more information.
	// (https://developer.github.com/v3/repos/branches/#parameters-1) for more information.
	RequiredApprovingReviewCount *int `pulumi:"requiredApprovingReviewCount"`
	// Restrict pull request review dismissals.
	RestrictDismissals *bool `pulumi:"restrictDismissals"`
}

type BranchProtectionRequiredPullRequestReviewArgs

type BranchProtectionRequiredPullRequestReviewArgs struct {
	// Dismiss approved reviews automatically when a new commit is pushed. Defaults to `false`.
	DismissStaleReviews pulumi.BoolPtrInput `pulumi:"dismissStaleReviews"`
	// The list of actor Names/IDs with dismissal access. If not empty, `restrictDismissals` is ignored. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
	DismissalRestrictions pulumi.StringArrayInput `pulumi:"dismissalRestrictions"`
	// The list of actor Names/IDs that are allowed to bypass pull request requirements. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
	PullRequestBypassers pulumi.StringArrayInput `pulumi:"pullRequestBypassers"`
	// Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.
	RequireCodeOwnerReviews pulumi.BoolPtrInput `pulumi:"requireCodeOwnerReviews"`
	// Require that The most recent push must be approved by someone other than the last pusher.  Defaults to `false`
	RequireLastPushApproval pulumi.BoolPtrInput `pulumi:"requireLastPushApproval"`
	// Require x number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. This requirement matches GitHub's API, see the upstream [documentation](https://developer.github.com/v3/repos/branches/#parameters-1) for more information.
	// (https://developer.github.com/v3/repos/branches/#parameters-1) for more information.
	RequiredApprovingReviewCount pulumi.IntPtrInput `pulumi:"requiredApprovingReviewCount"`
	// Restrict pull request review dismissals.
	RestrictDismissals pulumi.BoolPtrInput `pulumi:"restrictDismissals"`
}

func (BranchProtectionRequiredPullRequestReviewArgs) ElementType

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) 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) Index

func (BranchProtectionRequiredPullRequestReviewArrayOutput) ToBranchProtectionRequiredPullRequestReviewArrayOutput

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

Dismiss approved reviews automatically when a new commit is pushed. Defaults to `false`.

func (BranchProtectionRequiredPullRequestReviewOutput) DismissalRestrictions

The list of actor Names/IDs with dismissal access. If not empty, `restrictDismissals` is ignored. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.

func (BranchProtectionRequiredPullRequestReviewOutput) ElementType

func (BranchProtectionRequiredPullRequestReviewOutput) PullRequestBypassers

The list of actor Names/IDs that are allowed to bypass pull request requirements. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.

func (BranchProtectionRequiredPullRequestReviewOutput) RequireCodeOwnerReviews

Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.

func (BranchProtectionRequiredPullRequestReviewOutput) RequireLastPushApproval

Require that The most recent push must be approved by someone other than the last pusher. Defaults to `false`

func (BranchProtectionRequiredPullRequestReviewOutput) RequiredApprovingReviewCount

func (o BranchProtectionRequiredPullRequestReviewOutput) RequiredApprovingReviewCount() pulumi.IntPtrOutput

Require x number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. This requirement matches GitHub's API, see the upstream [documentation](https://developer.github.com/v3/repos/branches/#parameters-1) for more information. (https://developer.github.com/v3/repos/branches/#parameters-1) for more information.

func (BranchProtectionRequiredPullRequestReviewOutput) RestrictDismissals

Restrict pull request review dismissals.

func (BranchProtectionRequiredPullRequestReviewOutput) ToBranchProtectionRequiredPullRequestReviewOutput

func (o BranchProtectionRequiredPullRequestReviewOutput) ToBranchProtectionRequiredPullRequestReviewOutput() BranchProtectionRequiredPullRequestReviewOutput

func (BranchProtectionRequiredPullRequestReviewOutput) ToBranchProtectionRequiredPullRequestReviewOutputWithContext

func (o BranchProtectionRequiredPullRequestReviewOutput) ToBranchProtectionRequiredPullRequestReviewOutputWithContext(ctx context.Context) BranchProtectionRequiredPullRequestReviewOutput

type BranchProtectionRequiredStatusCheck

type BranchProtectionRequiredStatusCheck struct {
	// The list of status checks to require in order to merge into this branch. No status checks are required by default.
	//
	// > Note: This attribute can contain multiple string patterns.
	// If specified, usual value is the [job name](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname). Otherwise, the [job id](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname) is defaulted to.
	// For workflows that use matrixes, append the matrix name to the value using the following pattern `(<matrix_value>[, <matrix_value>])`. Matrixes should be specified based on the order of matrix properties in the workflow file. See GitHub Documentation for more information.
	// For workflows that use reusable workflows, the pattern is `<initial_workflow.jobs.job.[name/id]> / <reused-workflow.jobs.job.[name/id]>`. This can extend multiple levels.
	Contexts []string `pulumi:"contexts"`
	// Require branches to be up to date before merging. Defaults to `false`.
	Strict *bool `pulumi:"strict"`
}

type BranchProtectionRequiredStatusCheckArgs

type BranchProtectionRequiredStatusCheckArgs struct {
	// The list of status checks to require in order to merge into this branch. No status checks are required by default.
	//
	// > Note: This attribute can contain multiple string patterns.
	// If specified, usual value is the [job name](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname). Otherwise, the [job id](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname) is defaulted to.
	// For workflows that use matrixes, append the matrix name to the value using the following pattern `(<matrix_value>[, <matrix_value>])`. Matrixes should be specified based on the order of matrix properties in the workflow file. See GitHub Documentation for more information.
	// For workflows that use reusable workflows, the pattern is `<initial_workflow.jobs.job.[name/id]> / <reused-workflow.jobs.job.[name/id]>`. This can extend multiple levels.
	Contexts pulumi.StringArrayInput `pulumi:"contexts"`
	// Require branches to be up to date before merging. Defaults to `false`.
	Strict pulumi.BoolPtrInput `pulumi:"strict"`
}

func (BranchProtectionRequiredStatusCheckArgs) ElementType

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) 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) Index

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

The list of status checks to require in order to merge into this branch. No status checks are required by default.

> Note: This attribute can contain multiple string patterns. If specified, usual value is the [job name](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname). Otherwise, the [job id](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname) is defaulted to. For workflows that use matrixes, append the matrix name to the value using the following pattern `(<matrix_value>[, <matrix_value>])`. Matrixes should be specified based on the order of matrix properties in the workflow file. See GitHub Documentation for more information. For workflows that use reusable workflows, the pattern is `<initial_workflow.jobs.job.[name/id]> / <reused-workflow.jobs.job.[name/id]>`. This can extend multiple levels.

func (BranchProtectionRequiredStatusCheckOutput) ElementType

func (BranchProtectionRequiredStatusCheckOutput) Strict

Require branches to be up to date before merging. Defaults to `false`.

func (BranchProtectionRequiredStatusCheckOutput) ToBranchProtectionRequiredStatusCheckOutput

func (o BranchProtectionRequiredStatusCheckOutput) ToBranchProtectionRequiredStatusCheckOutput() BranchProtectionRequiredStatusCheckOutput

func (BranchProtectionRequiredStatusCheckOutput) ToBranchProtectionRequiredStatusCheckOutputWithContext

func (o BranchProtectionRequiredStatusCheckOutput) ToBranchProtectionRequiredStatusCheckOutputWithContext(ctx context.Context) BranchProtectionRequiredStatusCheckOutput

type BranchProtectionRestrictPush

type BranchProtectionRestrictPush struct {
	// Boolean, setting this to `false` allows people, teams, or apps to create new branches matching this rule. Defaults to `true`.
	BlocksCreations *bool `pulumi:"blocksCreations"`
	// A list of actor Names/IDs that may push to the branch. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. Organization administrators, repository administrators, and users with the Maintain role on the repository can always push when all other requirements have passed.
	PushAllowances []string `pulumi:"pushAllowances"`
}

type BranchProtectionRestrictPushArgs

type BranchProtectionRestrictPushArgs struct {
	// Boolean, setting this to `false` allows people, teams, or apps to create new branches matching this rule. Defaults to `true`.
	BlocksCreations pulumi.BoolPtrInput `pulumi:"blocksCreations"`
	// A list of actor Names/IDs that may push to the branch. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. Organization administrators, repository administrators, and users with the Maintain role on the repository can always push when all other requirements have passed.
	PushAllowances pulumi.StringArrayInput `pulumi:"pushAllowances"`
}

func (BranchProtectionRestrictPushArgs) ElementType

func (BranchProtectionRestrictPushArgs) ToBranchProtectionRestrictPushOutput

func (i BranchProtectionRestrictPushArgs) ToBranchProtectionRestrictPushOutput() BranchProtectionRestrictPushOutput

func (BranchProtectionRestrictPushArgs) ToBranchProtectionRestrictPushOutputWithContext

func (i BranchProtectionRestrictPushArgs) ToBranchProtectionRestrictPushOutputWithContext(ctx context.Context) BranchProtectionRestrictPushOutput

type BranchProtectionRestrictPushArray

type BranchProtectionRestrictPushArray []BranchProtectionRestrictPushInput

func (BranchProtectionRestrictPushArray) ElementType

func (BranchProtectionRestrictPushArray) ToBranchProtectionRestrictPushArrayOutput

func (i BranchProtectionRestrictPushArray) ToBranchProtectionRestrictPushArrayOutput() BranchProtectionRestrictPushArrayOutput

func (BranchProtectionRestrictPushArray) ToBranchProtectionRestrictPushArrayOutputWithContext

func (i BranchProtectionRestrictPushArray) ToBranchProtectionRestrictPushArrayOutputWithContext(ctx context.Context) BranchProtectionRestrictPushArrayOutput

type BranchProtectionRestrictPushArrayInput

type BranchProtectionRestrictPushArrayInput interface {
	pulumi.Input

	ToBranchProtectionRestrictPushArrayOutput() BranchProtectionRestrictPushArrayOutput
	ToBranchProtectionRestrictPushArrayOutputWithContext(context.Context) BranchProtectionRestrictPushArrayOutput
}

BranchProtectionRestrictPushArrayInput is an input type that accepts BranchProtectionRestrictPushArray and BranchProtectionRestrictPushArrayOutput values. You can construct a concrete instance of `BranchProtectionRestrictPushArrayInput` via:

BranchProtectionRestrictPushArray{ BranchProtectionRestrictPushArgs{...} }

type BranchProtectionRestrictPushArrayOutput

type BranchProtectionRestrictPushArrayOutput struct{ *pulumi.OutputState }

func (BranchProtectionRestrictPushArrayOutput) ElementType

func (BranchProtectionRestrictPushArrayOutput) Index

func (BranchProtectionRestrictPushArrayOutput) ToBranchProtectionRestrictPushArrayOutput

func (o BranchProtectionRestrictPushArrayOutput) ToBranchProtectionRestrictPushArrayOutput() BranchProtectionRestrictPushArrayOutput

func (BranchProtectionRestrictPushArrayOutput) ToBranchProtectionRestrictPushArrayOutputWithContext

func (o BranchProtectionRestrictPushArrayOutput) ToBranchProtectionRestrictPushArrayOutputWithContext(ctx context.Context) BranchProtectionRestrictPushArrayOutput

type BranchProtectionRestrictPushInput

type BranchProtectionRestrictPushInput interface {
	pulumi.Input

	ToBranchProtectionRestrictPushOutput() BranchProtectionRestrictPushOutput
	ToBranchProtectionRestrictPushOutputWithContext(context.Context) BranchProtectionRestrictPushOutput
}

BranchProtectionRestrictPushInput is an input type that accepts BranchProtectionRestrictPushArgs and BranchProtectionRestrictPushOutput values. You can construct a concrete instance of `BranchProtectionRestrictPushInput` via:

BranchProtectionRestrictPushArgs{...}

type BranchProtectionRestrictPushOutput

type BranchProtectionRestrictPushOutput struct{ *pulumi.OutputState }

func (BranchProtectionRestrictPushOutput) BlocksCreations

Boolean, setting this to `false` allows people, teams, or apps to create new branches matching this rule. Defaults to `true`.

func (BranchProtectionRestrictPushOutput) ElementType

func (BranchProtectionRestrictPushOutput) PushAllowances

A list of actor Names/IDs that may push to the branch. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. Organization administrators, repository administrators, and users with the Maintain role on the repository can always push when all other requirements have passed.

func (BranchProtectionRestrictPushOutput) ToBranchProtectionRestrictPushOutput

func (o BranchProtectionRestrictPushOutput) ToBranchProtectionRestrictPushOutput() BranchProtectionRestrictPushOutput

func (BranchProtectionRestrictPushOutput) ToBranchProtectionRestrictPushOutputWithContext

func (o BranchProtectionRestrictPushOutput) ToBranchProtectionRestrictPushOutputWithContext(ctx context.Context) BranchProtectionRestrictPushOutput

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 to everyone. Set it to `false` if you specify `forcePushBypassers`.
	AllowsForcePushes pulumi.BoolPtrInput
	// Boolean, setting this to `true` enforces status checks for repository administrators.
	EnforceAdmins pulumi.BoolPtrInput
	// The list of actor Names/IDs that are allowed to bypass force push restrictions. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams. If the list is not empty, `allowsForcePushes` should be set to `false`.
	ForcePushBypassers pulumi.StringArrayInput
	// Boolean, Setting this to `true` will make the branch read-only and preventing any pushes to it. Defaults to `false`
	LockBranch pulumi.BoolPtrInput
	// Identifies the protection rule pattern.
	Pattern pulumi.StringPtrInput
	// 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
	// Restrict pushes to matching branches. See Restrict Pushes below for details.
	RestrictPushes BranchProtectionRestrictPushArrayInput
}

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Protect the main branch of the foo repository. Only allow a specific user to merge to the branch.
		_, err := github.NewBranchProtectionV3(ctx, "example", &github.BranchProtectionV3Args{
			Repository: pulumi.Any(github_repository.Example.Name),
			Branch:     pulumi.String("main"),
			Restrictions: &github.BranchProtectionV3RestrictionsArgs{
				Users: pulumi.StringArray{
					pulumi.String("foo-user"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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) Index

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) MapIndex

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

The Git branch to protect.

func (BranchProtectionV3Output) ElementType

func (BranchProtectionV3Output) ElementType() reflect.Type

func (BranchProtectionV3Output) EnforceAdmins

func (o BranchProtectionV3Output) EnforceAdmins() pulumi.BoolPtrOutput

Boolean, setting this to `true` enforces status checks for repository administrators.

func (BranchProtectionV3Output) Etag

func (BranchProtectionV3Output) Repository

The GitHub repository name.

func (BranchProtectionV3Output) RequireConversationResolution

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

func (o BranchProtectionV3Output) RequireSignedCommits() pulumi.BoolPtrOutput

Boolean, setting this to `true` requires all commits to be signed with GPG.

func (BranchProtectionV3Output) RequiredPullRequestReviews

Enforce restrictions for pull request reviews. See Required Pull Request Reviews below for details.

func (BranchProtectionV3Output) RequiredStatusChecks

Enforce restrictions for required status checks. See Required Status Checks below for details.

func (BranchProtectionV3Output) Restrictions

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 {
	// Allow specific users, teams, or apps to bypass pull request requirements. See Bypass Pull Request Allowances below for details.
	BypassPullRequestAllowances *BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowances `pulumi:"bypassPullRequestAllowances"`
	// Dismiss approved reviews automatically when a new commit is pushed. Defaults to `false`.
	DismissStaleReviews *bool `pulumi:"dismissStaleReviews"`
	// The list of app slugs with dismissal access.
	DismissalApps []string `pulumi:"dismissalApps"`
	// The list of team slugs with dismissal access.
	// Always use `slug` of the team, **not** its name. Each team already **has** to have access to the repository.
	DismissalTeams []string `pulumi:"dismissalTeams"`
	// The list of user logins with dismissal access
	DismissalUsers []string `pulumi:"dismissalUsers"`
	// Deprecated: Use enforceAdmins instead
	IncludeAdmins *bool `pulumi:"includeAdmins"`
	// Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.
	RequireCodeOwnerReviews *bool `pulumi:"requireCodeOwnerReviews"`
	// Require that the most recent push must be approved by someone other than the last pusher.  Defaults to `false`
	RequireLastPushApproval *bool `pulumi:"requireLastPushApproval"`
	// Require x number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. This requirement matches GitHub's API, see the upstream [documentation](https://developer.github.com/v3/repos/branches/#parameters-1) for more information.
	RequiredApprovingReviewCount *int `pulumi:"requiredApprovingReviewCount"`
}

type BranchProtectionV3RequiredPullRequestReviewsArgs

type BranchProtectionV3RequiredPullRequestReviewsArgs struct {
	// Allow specific users, teams, or apps to bypass pull request requirements. See Bypass Pull Request Allowances below for details.
	BypassPullRequestAllowances BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrInput `pulumi:"bypassPullRequestAllowances"`
	// Dismiss approved reviews automatically when a new commit is pushed. Defaults to `false`.
	DismissStaleReviews pulumi.BoolPtrInput `pulumi:"dismissStaleReviews"`
	// The list of app slugs with dismissal access.
	DismissalApps pulumi.StringArrayInput `pulumi:"dismissalApps"`
	// The list of team slugs with dismissal access.
	// Always use `slug` of the team, **not** its name. Each team already **has** to have access to the repository.
	DismissalTeams pulumi.StringArrayInput `pulumi:"dismissalTeams"`
	// The list of user logins with dismissal access
	DismissalUsers pulumi.StringArrayInput `pulumi:"dismissalUsers"`
	// Deprecated: Use enforceAdmins instead
	IncludeAdmins pulumi.BoolPtrInput `pulumi:"includeAdmins"`
	// Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.
	RequireCodeOwnerReviews pulumi.BoolPtrInput `pulumi:"requireCodeOwnerReviews"`
	// Require that the most recent push must be approved by someone other than the last pusher.  Defaults to `false`
	RequireLastPushApproval pulumi.BoolPtrInput `pulumi:"requireLastPushApproval"`
	// Require x number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. This requirement matches GitHub's API, see the upstream [documentation](https://developer.github.com/v3/repos/branches/#parameters-1) for more information.
	RequiredApprovingReviewCount pulumi.IntPtrInput `pulumi:"requiredApprovingReviewCount"`
}

func (BranchProtectionV3RequiredPullRequestReviewsArgs) ElementType

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 BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowances

type BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowances struct {
	// The list of app slugs allowed to bypass pull request requirements.
	Apps []string `pulumi:"apps"`
	// The list of team slugs allowed to bypass pull request requirements.
	Teams []string `pulumi:"teams"`
	// The list of user logins allowed to bypass pull request requirements.
	Users []string `pulumi:"users"`
}

type BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesArgs

type BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesArgs struct {
	// The list of app slugs allowed to bypass pull request requirements.
	Apps pulumi.StringArrayInput `pulumi:"apps"`
	// The list of team slugs allowed to bypass pull request requirements.
	Teams pulumi.StringArrayInput `pulumi:"teams"`
	// The list of user logins allowed to bypass pull request requirements.
	Users pulumi.StringArrayInput `pulumi:"users"`
}

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesArgs) ElementType

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesArgs) ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesArgs) ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutputWithContext

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesArgs) ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesArgs) ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutputWithContext

func (i BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesArgs) ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput

type BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesInput

type BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesInput interface {
	pulumi.Input

	ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput() BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput
	ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutputWithContext(context.Context) BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput
}

BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesInput is an input type that accepts BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesArgs and BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput values. You can construct a concrete instance of `BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesInput` via:

BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesArgs{...}

type BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput

type BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput struct{ *pulumi.OutputState }

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput) Apps

The list of app slugs allowed to bypass pull request requirements.

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput) ElementType

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput) Teams

The list of team slugs allowed to bypass pull request requirements.

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput) ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput) ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutputWithContext

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput) ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput) ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutputWithContext

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesOutput) Users

The list of user logins allowed to bypass pull request requirements.

type BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrInput

type BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrInput interface {
	pulumi.Input

	ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput() BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput
	ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutputWithContext(context.Context) BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput
}

BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrInput is an input type that accepts BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesArgs, BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtr and BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput values. You can construct a concrete instance of `BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrInput` via:

        BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesArgs{...}

or:

        nil

type BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput

type BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput struct{ *pulumi.OutputState }

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput) Apps

The list of app slugs allowed to bypass pull request requirements.

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput) Elem

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput) ElementType

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput) Teams

The list of team slugs allowed to bypass pull request requirements.

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput) ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput) ToBranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutputWithContext

func (BranchProtectionV3RequiredPullRequestReviewsBypassPullRequestAllowancesPtrOutput) Users

The list of user logins allowed to bypass pull request requirements.

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) BypassPullRequestAllowances

Allow specific users, teams, or apps to bypass pull request requirements. See Bypass Pull Request Allowances below for details.

func (BranchProtectionV3RequiredPullRequestReviewsOutput) DismissStaleReviews

Dismiss approved reviews automatically when a new commit is pushed. Defaults to `false`.

func (BranchProtectionV3RequiredPullRequestReviewsOutput) DismissalApps

The list of app slugs with dismissal access.

func (BranchProtectionV3RequiredPullRequestReviewsOutput) DismissalTeams

The list of team slugs with dismissal access. Always use `slug` of the team, **not** its name. Each team already **has** to have access to the repository.

func (BranchProtectionV3RequiredPullRequestReviewsOutput) DismissalUsers

The list of user logins with dismissal access

func (BranchProtectionV3RequiredPullRequestReviewsOutput) ElementType

func (BranchProtectionV3RequiredPullRequestReviewsOutput) IncludeAdmins deprecated

Deprecated: Use enforceAdmins instead

func (BranchProtectionV3RequiredPullRequestReviewsOutput) RequireCodeOwnerReviews

Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.

func (BranchProtectionV3RequiredPullRequestReviewsOutput) RequireLastPushApproval added in v6.2.0

Require that the most recent push must be approved by someone other than the last pusher. Defaults to `false`

func (BranchProtectionV3RequiredPullRequestReviewsOutput) RequiredApprovingReviewCount

Require x number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. This requirement matches GitHub's API, see the upstream [documentation](https://developer.github.com/v3/repos/branches/#parameters-1) for more information.

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

type BranchProtectionV3RequiredPullRequestReviewsPtrOutput

type BranchProtectionV3RequiredPullRequestReviewsPtrOutput struct{ *pulumi.OutputState }

func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) BypassPullRequestAllowances

Allow specific users, teams, or apps to bypass pull request requirements. See Bypass Pull Request Allowances below for details.

func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) DismissStaleReviews

Dismiss approved reviews automatically when a new commit is pushed. Defaults to `false`.

func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) DismissalApps

The list of app slugs with dismissal access.

func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) DismissalTeams

The list of team slugs with dismissal access. Always use `slug` of the team, **not** its name. Each team already **has** to have access to the repository.

func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) DismissalUsers

The list of user logins with dismissal access

func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) Elem

func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) ElementType

func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) IncludeAdmins deprecated

Deprecated: Use enforceAdmins instead

func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) RequireCodeOwnerReviews

Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.

func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) RequireLastPushApproval added in v6.2.0

Require that the most recent push must be approved by someone other than the last pusher. Defaults to `false`

func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) RequiredApprovingReviewCount

Require x number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. This requirement matches GitHub's API, see the upstream [documentation](https://developer.github.com/v3/repos/branches/#parameters-1) for more information.

func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutput

func (BranchProtectionV3RequiredPullRequestReviewsPtrOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutputWithContext

func (o BranchProtectionV3RequiredPullRequestReviewsPtrOutput) ToBranchProtectionV3RequiredPullRequestReviewsPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredPullRequestReviewsPtrOutput

type BranchProtectionV3RequiredStatusChecks

type BranchProtectionV3RequiredStatusChecks struct {
	// The list of status checks to require in order to merge into this branch. No status checks are required by default. Checks should be strings containing the context and appId like so "context:app_id".
	Checks []string `pulumi:"checks"`
	// [**DEPRECATED**] (Optional) The list of status checks to require in order to merge into this branch. No status checks are required by default.
	//
	// > Note: This attribute can contain multiple string patterns.
	// If specified, usual value is the [job name](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname). Otherwise, the [job id](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname) is defaulted to.
	// For workflows that use matrixes, append the matrix name to the value using the following pattern `(<matrix_value>[, <matrix_value>])`. Matrixes should be specified based on the order of matrix properties in the workflow file. See GitHub Documentation for more information.
	// For workflows that use reusable workflows, the pattern is `<initial_workflow.jobs.job.[name/id]> / <reused-workflow.jobs.job.[name/id]>`. This can extend multiple levels.
	//
	// Deprecated: GitHub is deprecating the use of `contexts`. Use a `checks` array instead.
	Contexts []string `pulumi:"contexts"`
	// Deprecated: Use enforceAdmins instead
	IncludeAdmins *bool `pulumi:"includeAdmins"`
	// Require branches to be up to date before merging. Defaults to `false`.
	Strict *bool `pulumi:"strict"`
}

type BranchProtectionV3RequiredStatusChecksArgs

type BranchProtectionV3RequiredStatusChecksArgs struct {
	// The list of status checks to require in order to merge into this branch. No status checks are required by default. Checks should be strings containing the context and appId like so "context:app_id".
	Checks pulumi.StringArrayInput `pulumi:"checks"`
	// [**DEPRECATED**] (Optional) The list of status checks to require in order to merge into this branch. No status checks are required by default.
	//
	// > Note: This attribute can contain multiple string patterns.
	// If specified, usual value is the [job name](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname). Otherwise, the [job id](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname) is defaulted to.
	// For workflows that use matrixes, append the matrix name to the value using the following pattern `(<matrix_value>[, <matrix_value>])`. Matrixes should be specified based on the order of matrix properties in the workflow file. See GitHub Documentation for more information.
	// For workflows that use reusable workflows, the pattern is `<initial_workflow.jobs.job.[name/id]> / <reused-workflow.jobs.job.[name/id]>`. This can extend multiple levels.
	//
	// Deprecated: GitHub is deprecating the use of `contexts`. Use a `checks` array instead.
	Contexts pulumi.StringArrayInput `pulumi:"contexts"`
	// Deprecated: Use enforceAdmins instead
	IncludeAdmins pulumi.BoolPtrInput `pulumi:"includeAdmins"`
	// Require branches to be up to date before merging. Defaults to `false`.
	Strict pulumi.BoolPtrInput `pulumi:"strict"`
}

func (BranchProtectionV3RequiredStatusChecksArgs) ElementType

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) Checks

The list of status checks to require in order to merge into this branch. No status checks are required by default. Checks should be strings containing the context and appId like so "context:app_id".

func (BranchProtectionV3RequiredStatusChecksOutput) Contexts deprecated

[**DEPRECATED**] (Optional) The list of status checks to require in order to merge into this branch. No status checks are required by default.

> Note: This attribute can contain multiple string patterns. If specified, usual value is the [job name](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname). Otherwise, the [job id](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname) is defaulted to. For workflows that use matrixes, append the matrix name to the value using the following pattern `(<matrix_value>[, <matrix_value>])`. Matrixes should be specified based on the order of matrix properties in the workflow file. See GitHub Documentation for more information. For workflows that use reusable workflows, the pattern is `<initial_workflow.jobs.job.[name/id]> / <reused-workflow.jobs.job.[name/id]>`. This can extend multiple levels.

Deprecated: GitHub is deprecating the use of `contexts`. Use a `checks` array instead.

func (BranchProtectionV3RequiredStatusChecksOutput) ElementType

func (BranchProtectionV3RequiredStatusChecksOutput) IncludeAdmins deprecated

Deprecated: Use enforceAdmins instead

func (BranchProtectionV3RequiredStatusChecksOutput) Strict

Require branches to be up to date before merging. Defaults to `false`.

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

type BranchProtectionV3RequiredStatusChecksPtrOutput

type BranchProtectionV3RequiredStatusChecksPtrOutput struct{ *pulumi.OutputState }

func (BranchProtectionV3RequiredStatusChecksPtrOutput) Checks

The list of status checks to require in order to merge into this branch. No status checks are required by default. Checks should be strings containing the context and appId like so "context:app_id".

func (BranchProtectionV3RequiredStatusChecksPtrOutput) Contexts deprecated

[**DEPRECATED**] (Optional) The list of status checks to require in order to merge into this branch. No status checks are required by default.

> Note: This attribute can contain multiple string patterns. If specified, usual value is the [job name](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname). Otherwise, the [job id](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idname) is defaulted to. For workflows that use matrixes, append the matrix name to the value using the following pattern `(<matrix_value>[, <matrix_value>])`. Matrixes should be specified based on the order of matrix properties in the workflow file. See GitHub Documentation for more information. For workflows that use reusable workflows, the pattern is `<initial_workflow.jobs.job.[name/id]> / <reused-workflow.jobs.job.[name/id]>`. This can extend multiple levels.

Deprecated: GitHub is deprecating the use of `contexts`. Use a `checks` array instead.

func (BranchProtectionV3RequiredStatusChecksPtrOutput) Elem

func (BranchProtectionV3RequiredStatusChecksPtrOutput) ElementType

func (BranchProtectionV3RequiredStatusChecksPtrOutput) IncludeAdmins deprecated

Deprecated: Use enforceAdmins instead

func (BranchProtectionV3RequiredStatusChecksPtrOutput) Strict

Require branches to be up to date before merging. Defaults to `false`.

func (BranchProtectionV3RequiredStatusChecksPtrOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutput

func (o BranchProtectionV3RequiredStatusChecksPtrOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutput() BranchProtectionV3RequiredStatusChecksPtrOutput

func (BranchProtectionV3RequiredStatusChecksPtrOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutputWithContext

func (o BranchProtectionV3RequiredStatusChecksPtrOutput) ToBranchProtectionV3RequiredStatusChecksPtrOutputWithContext(ctx context.Context) BranchProtectionV3RequiredStatusChecksPtrOutput

type BranchProtectionV3Restrictions

type BranchProtectionV3Restrictions struct {
	// The list of app slugs with push access.
	//
	// `restrictions` is only available for organization-owned repositories.
	Apps []string `pulumi:"apps"`
	// The list of team slugs with push access.
	// Always use `slug` of the team, **not** its name. Each team already **has** to have access to the repository.
	Teams []string `pulumi:"teams"`
	// The list of user logins with push access.
	Users []string `pulumi:"users"`
}

type BranchProtectionV3RestrictionsArgs

type BranchProtectionV3RestrictionsArgs struct {
	// The list of app slugs with push access.
	//
	// `restrictions` is only available for organization-owned repositories.
	Apps pulumi.StringArrayInput `pulumi:"apps"`
	// The list of team slugs with push access.
	// Always use `slug` of the team, **not** its name. Each team already **has** to have access to the repository.
	Teams pulumi.StringArrayInput `pulumi:"teams"`
	// The list of user logins with push access.
	Users pulumi.StringArrayInput `pulumi:"users"`
}

func (BranchProtectionV3RestrictionsArgs) ElementType

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

The list of app slugs with push access.

`restrictions` is only available for organization-owned repositories.

func (BranchProtectionV3RestrictionsOutput) ElementType

func (BranchProtectionV3RestrictionsOutput) Teams

The list of team slugs with push access. Always use `slug` of the team, **not** its name. Each team already **has** to have access to the repository.

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

The list of user logins with push access.

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

type BranchProtectionV3RestrictionsPtrOutput

type BranchProtectionV3RestrictionsPtrOutput struct{ *pulumi.OutputState }

func (BranchProtectionV3RestrictionsPtrOutput) Apps

The list of app slugs with push access.

`restrictions` is only available for organization-owned repositories.

func (BranchProtectionV3RestrictionsPtrOutput) Elem

func (BranchProtectionV3RestrictionsPtrOutput) ElementType

func (BranchProtectionV3RestrictionsPtrOutput) Teams

The list of team slugs with push access. Always use `slug` of the team, **not** its name. Each team already **has** to have access to the repository.

func (BranchProtectionV3RestrictionsPtrOutput) ToBranchProtectionV3RestrictionsPtrOutput

func (o BranchProtectionV3RestrictionsPtrOutput) ToBranchProtectionV3RestrictionsPtrOutput() BranchProtectionV3RestrictionsPtrOutput

func (BranchProtectionV3RestrictionsPtrOutput) ToBranchProtectionV3RestrictionsPtrOutputWithContext

func (o BranchProtectionV3RestrictionsPtrOutput) ToBranchProtectionV3RestrictionsPtrOutputWithContext(ctx context.Context) BranchProtectionV3RestrictionsPtrOutput

func (BranchProtectionV3RestrictionsPtrOutput) Users

The list of user logins with push access.

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 CodespacesOrganizationSecret

type CodespacesOrganizationSecret struct {
	pulumi.CustomResourceState

	// Date of codespacesSecret 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 codespacesSecret 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.NewCodespacesOrganizationSecret(ctx, "exampleSecretCodespacesOrganizationSecret", &github.CodespacesOrganizationSecretArgs{
			SecretName:     pulumi.String("example_secret_name"),
			Visibility:     pulumi.String("private"),
			PlaintextValue: pulumi.Any(_var.Some_secret_string),
		})
		if err != nil {
			return err
		}
		_, err = github.NewCodespacesOrganizationSecret(ctx, "exampleSecretIndex/codespacesOrganizationSecretCodespacesOrganizationSecret", &github.CodespacesOrganizationSecretArgs{
			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
	})
}

``` <!--End PulumiCodeChooser -->

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		repo, err := github.LookupRepository(ctx, &github.LookupRepositoryArgs{
			FullName: pulumi.StringRef("my-org/repo"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = github.NewCodespacesOrganizationSecret(ctx, "exampleSecretCodespacesOrganizationSecret", &github.CodespacesOrganizationSecretArgs{
			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.NewCodespacesOrganizationSecret(ctx, "exampleSecretIndex/codespacesOrganizationSecretCodespacesOrganizationSecret", &github.CodespacesOrganizationSecretArgs{
			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
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using an ID made up of the secret name:

```sh $ pulumi import github:index/codespacesOrganizationSecret:CodespacesOrganizationSecret test_secret test_secret_name ```

NOTE: the 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 GetCodespacesOrganizationSecret

func GetCodespacesOrganizationSecret(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CodespacesOrganizationSecretState, opts ...pulumi.ResourceOption) (*CodespacesOrganizationSecret, error)

GetCodespacesOrganizationSecret gets an existing CodespacesOrganizationSecret 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 NewCodespacesOrganizationSecret

func NewCodespacesOrganizationSecret(ctx *pulumi.Context,
	name string, args *CodespacesOrganizationSecretArgs, opts ...pulumi.ResourceOption) (*CodespacesOrganizationSecret, error)

NewCodespacesOrganizationSecret registers a new resource with the given unique name, arguments, and options.

func (*CodespacesOrganizationSecret) ElementType

func (*CodespacesOrganizationSecret) ElementType() reflect.Type

func (*CodespacesOrganizationSecret) ToCodespacesOrganizationSecretOutput

func (i *CodespacesOrganizationSecret) ToCodespacesOrganizationSecretOutput() CodespacesOrganizationSecretOutput

func (*CodespacesOrganizationSecret) ToCodespacesOrganizationSecretOutputWithContext

func (i *CodespacesOrganizationSecret) ToCodespacesOrganizationSecretOutputWithContext(ctx context.Context) CodespacesOrganizationSecretOutput

type CodespacesOrganizationSecretArgs

type CodespacesOrganizationSecretArgs 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 CodespacesOrganizationSecret resource.

func (CodespacesOrganizationSecretArgs) ElementType

type CodespacesOrganizationSecretArray

type CodespacesOrganizationSecretArray []CodespacesOrganizationSecretInput

func (CodespacesOrganizationSecretArray) ElementType

func (CodespacesOrganizationSecretArray) ToCodespacesOrganizationSecretArrayOutput

func (i CodespacesOrganizationSecretArray) ToCodespacesOrganizationSecretArrayOutput() CodespacesOrganizationSecretArrayOutput

func (CodespacesOrganizationSecretArray) ToCodespacesOrganizationSecretArrayOutputWithContext

func (i CodespacesOrganizationSecretArray) ToCodespacesOrganizationSecretArrayOutputWithContext(ctx context.Context) CodespacesOrganizationSecretArrayOutput

type CodespacesOrganizationSecretArrayInput

type CodespacesOrganizationSecretArrayInput interface {
	pulumi.Input

	ToCodespacesOrganizationSecretArrayOutput() CodespacesOrganizationSecretArrayOutput
	ToCodespacesOrganizationSecretArrayOutputWithContext(context.Context) CodespacesOrganizationSecretArrayOutput
}

CodespacesOrganizationSecretArrayInput is an input type that accepts CodespacesOrganizationSecretArray and CodespacesOrganizationSecretArrayOutput values. You can construct a concrete instance of `CodespacesOrganizationSecretArrayInput` via:

CodespacesOrganizationSecretArray{ CodespacesOrganizationSecretArgs{...} }

type CodespacesOrganizationSecretArrayOutput

type CodespacesOrganizationSecretArrayOutput struct{ *pulumi.OutputState }

func (CodespacesOrganizationSecretArrayOutput) ElementType

func (CodespacesOrganizationSecretArrayOutput) Index

func (CodespacesOrganizationSecretArrayOutput) ToCodespacesOrganizationSecretArrayOutput

func (o CodespacesOrganizationSecretArrayOutput) ToCodespacesOrganizationSecretArrayOutput() CodespacesOrganizationSecretArrayOutput

func (CodespacesOrganizationSecretArrayOutput) ToCodespacesOrganizationSecretArrayOutputWithContext

func (o CodespacesOrganizationSecretArrayOutput) ToCodespacesOrganizationSecretArrayOutputWithContext(ctx context.Context) CodespacesOrganizationSecretArrayOutput

type CodespacesOrganizationSecretInput

type CodespacesOrganizationSecretInput interface {
	pulumi.Input

	ToCodespacesOrganizationSecretOutput() CodespacesOrganizationSecretOutput
	ToCodespacesOrganizationSecretOutputWithContext(ctx context.Context) CodespacesOrganizationSecretOutput
}

type CodespacesOrganizationSecretMap

type CodespacesOrganizationSecretMap map[string]CodespacesOrganizationSecretInput

func (CodespacesOrganizationSecretMap) ElementType

func (CodespacesOrganizationSecretMap) ToCodespacesOrganizationSecretMapOutput

func (i CodespacesOrganizationSecretMap) ToCodespacesOrganizationSecretMapOutput() CodespacesOrganizationSecretMapOutput

func (CodespacesOrganizationSecretMap) ToCodespacesOrganizationSecretMapOutputWithContext

func (i CodespacesOrganizationSecretMap) ToCodespacesOrganizationSecretMapOutputWithContext(ctx context.Context) CodespacesOrganizationSecretMapOutput

type CodespacesOrganizationSecretMapInput

type CodespacesOrganizationSecretMapInput interface {
	pulumi.Input

	ToCodespacesOrganizationSecretMapOutput() CodespacesOrganizationSecretMapOutput
	ToCodespacesOrganizationSecretMapOutputWithContext(context.Context) CodespacesOrganizationSecretMapOutput
}

CodespacesOrganizationSecretMapInput is an input type that accepts CodespacesOrganizationSecretMap and CodespacesOrganizationSecretMapOutput values. You can construct a concrete instance of `CodespacesOrganizationSecretMapInput` via:

CodespacesOrganizationSecretMap{ "key": CodespacesOrganizationSecretArgs{...} }

type CodespacesOrganizationSecretMapOutput

type CodespacesOrganizationSecretMapOutput struct{ *pulumi.OutputState }

func (CodespacesOrganizationSecretMapOutput) ElementType

func (CodespacesOrganizationSecretMapOutput) MapIndex

func (CodespacesOrganizationSecretMapOutput) ToCodespacesOrganizationSecretMapOutput

func (o CodespacesOrganizationSecretMapOutput) ToCodespacesOrganizationSecretMapOutput() CodespacesOrganizationSecretMapOutput

func (CodespacesOrganizationSecretMapOutput) ToCodespacesOrganizationSecretMapOutputWithContext

func (o CodespacesOrganizationSecretMapOutput) ToCodespacesOrganizationSecretMapOutputWithContext(ctx context.Context) CodespacesOrganizationSecretMapOutput

type CodespacesOrganizationSecretOutput

type CodespacesOrganizationSecretOutput struct{ *pulumi.OutputState }

func (CodespacesOrganizationSecretOutput) CreatedAt

Date of codespacesSecret creation.

func (CodespacesOrganizationSecretOutput) ElementType

func (CodespacesOrganizationSecretOutput) EncryptedValue

Encrypted value of the secret using the GitHub public key in Base64 format.

func (CodespacesOrganizationSecretOutput) PlaintextValue

Plaintext value of the secret to be encrypted

func (CodespacesOrganizationSecretOutput) SecretName

Name of the secret

func (CodespacesOrganizationSecretOutput) SelectedRepositoryIds

func (o CodespacesOrganizationSecretOutput) SelectedRepositoryIds() pulumi.IntArrayOutput

An array of repository ids that can access the organization secret.

func (CodespacesOrganizationSecretOutput) ToCodespacesOrganizationSecretOutput

func (o CodespacesOrganizationSecretOutput) ToCodespacesOrganizationSecretOutput() CodespacesOrganizationSecretOutput

func (CodespacesOrganizationSecretOutput) ToCodespacesOrganizationSecretOutputWithContext

func (o CodespacesOrganizationSecretOutput) ToCodespacesOrganizationSecretOutputWithContext(ctx context.Context) CodespacesOrganizationSecretOutput

func (CodespacesOrganizationSecretOutput) UpdatedAt

Date of codespacesSecret update.

func (CodespacesOrganizationSecretOutput) Visibility

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 CodespacesOrganizationSecretRepositories

type CodespacesOrganizationSecretRepositories 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 Codespaces 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		repo, err := github.LookupRepository(ctx, &github.LookupRepositoryArgs{
			FullName: pulumi.StringRef("my-org/repo"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = github.NewCodespacesOrganizationSecretRepositories(ctx, "orgSecretRepos", &github.CodespacesOrganizationSecretRepositoriesArgs{
			SecretName: pulumi.String("existing_secret_name"),
			SelectedRepositoryIds: pulumi.IntArray{
				pulumi.Int(repo.RepoId),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using an ID made up of the secret name:

```sh $ pulumi import github:index/codespacesOrganizationSecretRepositories:CodespacesOrganizationSecretRepositories org_secret_repos existing_secret_name ```

func GetCodespacesOrganizationSecretRepositories

func GetCodespacesOrganizationSecretRepositories(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CodespacesOrganizationSecretRepositoriesState, opts ...pulumi.ResourceOption) (*CodespacesOrganizationSecretRepositories, error)

GetCodespacesOrganizationSecretRepositories gets an existing CodespacesOrganizationSecretRepositories 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 NewCodespacesOrganizationSecretRepositories

func NewCodespacesOrganizationSecretRepositories(ctx *pulumi.Context,
	name string, args *CodespacesOrganizationSecretRepositoriesArgs, opts ...pulumi.ResourceOption) (*CodespacesOrganizationSecretRepositories, error)

NewCodespacesOrganizationSecretRepositories registers a new resource with the given unique name, arguments, and options.

func (*CodespacesOrganizationSecretRepositories) ElementType

func (*CodespacesOrganizationSecretRepositories) ToCodespacesOrganizationSecretRepositoriesOutput

func (i *CodespacesOrganizationSecretRepositories) ToCodespacesOrganizationSecretRepositoriesOutput() CodespacesOrganizationSecretRepositoriesOutput

func (*CodespacesOrganizationSecretRepositories) ToCodespacesOrganizationSecretRepositoriesOutputWithContext

func (i *CodespacesOrganizationSecretRepositories) ToCodespacesOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) CodespacesOrganizationSecretRepositoriesOutput

type CodespacesOrganizationSecretRepositoriesArgs

type CodespacesOrganizationSecretRepositoriesArgs 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 CodespacesOrganizationSecretRepositories resource.

func (CodespacesOrganizationSecretRepositoriesArgs) ElementType

type CodespacesOrganizationSecretRepositoriesArray

type CodespacesOrganizationSecretRepositoriesArray []CodespacesOrganizationSecretRepositoriesInput

func (CodespacesOrganizationSecretRepositoriesArray) ElementType

func (CodespacesOrganizationSecretRepositoriesArray) ToCodespacesOrganizationSecretRepositoriesArrayOutput

func (i CodespacesOrganizationSecretRepositoriesArray) ToCodespacesOrganizationSecretRepositoriesArrayOutput() CodespacesOrganizationSecretRepositoriesArrayOutput

func (CodespacesOrganizationSecretRepositoriesArray) ToCodespacesOrganizationSecretRepositoriesArrayOutputWithContext

func (i CodespacesOrganizationSecretRepositoriesArray) ToCodespacesOrganizationSecretRepositoriesArrayOutputWithContext(ctx context.Context) CodespacesOrganizationSecretRepositoriesArrayOutput

type CodespacesOrganizationSecretRepositoriesArrayInput

type CodespacesOrganizationSecretRepositoriesArrayInput interface {
	pulumi.Input

	ToCodespacesOrganizationSecretRepositoriesArrayOutput() CodespacesOrganizationSecretRepositoriesArrayOutput
	ToCodespacesOrganizationSecretRepositoriesArrayOutputWithContext(context.Context) CodespacesOrganizationSecretRepositoriesArrayOutput
}

CodespacesOrganizationSecretRepositoriesArrayInput is an input type that accepts CodespacesOrganizationSecretRepositoriesArray and CodespacesOrganizationSecretRepositoriesArrayOutput values. You can construct a concrete instance of `CodespacesOrganizationSecretRepositoriesArrayInput` via:

CodespacesOrganizationSecretRepositoriesArray{ CodespacesOrganizationSecretRepositoriesArgs{...} }

type CodespacesOrganizationSecretRepositoriesArrayOutput

type CodespacesOrganizationSecretRepositoriesArrayOutput struct{ *pulumi.OutputState }

func (CodespacesOrganizationSecretRepositoriesArrayOutput) ElementType

func (CodespacesOrganizationSecretRepositoriesArrayOutput) Index

func (CodespacesOrganizationSecretRepositoriesArrayOutput) ToCodespacesOrganizationSecretRepositoriesArrayOutput

func (o CodespacesOrganizationSecretRepositoriesArrayOutput) ToCodespacesOrganizationSecretRepositoriesArrayOutput() CodespacesOrganizationSecretRepositoriesArrayOutput

func (CodespacesOrganizationSecretRepositoriesArrayOutput) ToCodespacesOrganizationSecretRepositoriesArrayOutputWithContext

func (o CodespacesOrganizationSecretRepositoriesArrayOutput) ToCodespacesOrganizationSecretRepositoriesArrayOutputWithContext(ctx context.Context) CodespacesOrganizationSecretRepositoriesArrayOutput

type CodespacesOrganizationSecretRepositoriesInput

type CodespacesOrganizationSecretRepositoriesInput interface {
	pulumi.Input

	ToCodespacesOrganizationSecretRepositoriesOutput() CodespacesOrganizationSecretRepositoriesOutput
	ToCodespacesOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) CodespacesOrganizationSecretRepositoriesOutput
}

type CodespacesOrganizationSecretRepositoriesMap

type CodespacesOrganizationSecretRepositoriesMap map[string]CodespacesOrganizationSecretRepositoriesInput

func (CodespacesOrganizationSecretRepositoriesMap) ElementType

func (CodespacesOrganizationSecretRepositoriesMap) ToCodespacesOrganizationSecretRepositoriesMapOutput

func (i CodespacesOrganizationSecretRepositoriesMap) ToCodespacesOrganizationSecretRepositoriesMapOutput() CodespacesOrganizationSecretRepositoriesMapOutput

func (CodespacesOrganizationSecretRepositoriesMap) ToCodespacesOrganizationSecretRepositoriesMapOutputWithContext

func (i CodespacesOrganizationSecretRepositoriesMap) ToCodespacesOrganizationSecretRepositoriesMapOutputWithContext(ctx context.Context) CodespacesOrganizationSecretRepositoriesMapOutput

type CodespacesOrganizationSecretRepositoriesMapInput

type CodespacesOrganizationSecretRepositoriesMapInput interface {
	pulumi.Input

	ToCodespacesOrganizationSecretRepositoriesMapOutput() CodespacesOrganizationSecretRepositoriesMapOutput
	ToCodespacesOrganizationSecretRepositoriesMapOutputWithContext(context.Context) CodespacesOrganizationSecretRepositoriesMapOutput
}

CodespacesOrganizationSecretRepositoriesMapInput is an input type that accepts CodespacesOrganizationSecretRepositoriesMap and CodespacesOrganizationSecretRepositoriesMapOutput values. You can construct a concrete instance of `CodespacesOrganizationSecretRepositoriesMapInput` via:

CodespacesOrganizationSecretRepositoriesMap{ "key": CodespacesOrganizationSecretRepositoriesArgs{...} }

type CodespacesOrganizationSecretRepositoriesMapOutput

type CodespacesOrganizationSecretRepositoriesMapOutput struct{ *pulumi.OutputState }

func (CodespacesOrganizationSecretRepositoriesMapOutput) ElementType

func (CodespacesOrganizationSecretRepositoriesMapOutput) MapIndex

func (CodespacesOrganizationSecretRepositoriesMapOutput) ToCodespacesOrganizationSecretRepositoriesMapOutput

func (o CodespacesOrganizationSecretRepositoriesMapOutput) ToCodespacesOrganizationSecretRepositoriesMapOutput() CodespacesOrganizationSecretRepositoriesMapOutput

func (CodespacesOrganizationSecretRepositoriesMapOutput) ToCodespacesOrganizationSecretRepositoriesMapOutputWithContext

func (o CodespacesOrganizationSecretRepositoriesMapOutput) ToCodespacesOrganizationSecretRepositoriesMapOutputWithContext(ctx context.Context) CodespacesOrganizationSecretRepositoriesMapOutput

type CodespacesOrganizationSecretRepositoriesOutput

type CodespacesOrganizationSecretRepositoriesOutput struct{ *pulumi.OutputState }

func (CodespacesOrganizationSecretRepositoriesOutput) ElementType

func (CodespacesOrganizationSecretRepositoriesOutput) SecretName

Name of the existing secret

func (CodespacesOrganizationSecretRepositoriesOutput) SelectedRepositoryIds

An array of repository ids that can access the organization secret.

func (CodespacesOrganizationSecretRepositoriesOutput) ToCodespacesOrganizationSecretRepositoriesOutput

func (o CodespacesOrganizationSecretRepositoriesOutput) ToCodespacesOrganizationSecretRepositoriesOutput() CodespacesOrganizationSecretRepositoriesOutput

func (CodespacesOrganizationSecretRepositoriesOutput) ToCodespacesOrganizationSecretRepositoriesOutputWithContext

func (o CodespacesOrganizationSecretRepositoriesOutput) ToCodespacesOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) CodespacesOrganizationSecretRepositoriesOutput

type CodespacesOrganizationSecretRepositoriesState

type CodespacesOrganizationSecretRepositoriesState struct {
	// Name of the existing secret
	SecretName pulumi.StringPtrInput
	// An array of repository ids that can access the organization secret.
	SelectedRepositoryIds pulumi.IntArrayInput
}

func (CodespacesOrganizationSecretRepositoriesState) ElementType

type CodespacesOrganizationSecretState

type CodespacesOrganizationSecretState struct {
	// Date of codespacesSecret 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 codespacesSecret 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 (CodespacesOrganizationSecretState) ElementType

type CodespacesSecret

type CodespacesSecret struct {
	pulumi.CustomResourceState

	// Date of codespacesSecret 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 codespacesSecret update.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
}

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetCodespacesPublicKey(ctx, &github.GetCodespacesPublicKeyArgs{
			Repository: "example_repository",
		}, nil)
		if err != nil {
			return err
		}
		_, err = github.NewCodespacesSecret(ctx, "exampleSecretCodespacesSecret", &github.CodespacesSecretArgs{
			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.NewCodespacesSecret(ctx, "exampleSecretIndex/codespacesSecretCodespacesSecret", &github.CodespacesSecretArgs{
			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
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using an ID made up of the `repository` and `secret_name`:

```sh $ pulumi import github:index/codespacesSecret:CodespacesSecret example_secret example_repository/example_secret_name ``` NOTE: the 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 GetCodespacesSecret

func GetCodespacesSecret(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CodespacesSecretState, opts ...pulumi.ResourceOption) (*CodespacesSecret, error)

GetCodespacesSecret gets an existing CodespacesSecret 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 NewCodespacesSecret

func NewCodespacesSecret(ctx *pulumi.Context,
	name string, args *CodespacesSecretArgs, opts ...pulumi.ResourceOption) (*CodespacesSecret, error)

NewCodespacesSecret registers a new resource with the given unique name, arguments, and options.

func (*CodespacesSecret) ElementType

func (*CodespacesSecret) ElementType() reflect.Type

func (*CodespacesSecret) ToCodespacesSecretOutput

func (i *CodespacesSecret) ToCodespacesSecretOutput() CodespacesSecretOutput

func (*CodespacesSecret) ToCodespacesSecretOutputWithContext

func (i *CodespacesSecret) ToCodespacesSecretOutputWithContext(ctx context.Context) CodespacesSecretOutput

type CodespacesSecretArgs

type CodespacesSecretArgs 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 CodespacesSecret resource.

func (CodespacesSecretArgs) ElementType

func (CodespacesSecretArgs) ElementType() reflect.Type

type CodespacesSecretArray

type CodespacesSecretArray []CodespacesSecretInput

func (CodespacesSecretArray) ElementType

func (CodespacesSecretArray) ElementType() reflect.Type

func (CodespacesSecretArray) ToCodespacesSecretArrayOutput

func (i CodespacesSecretArray) ToCodespacesSecretArrayOutput() CodespacesSecretArrayOutput

func (CodespacesSecretArray) ToCodespacesSecretArrayOutputWithContext

func (i CodespacesSecretArray) ToCodespacesSecretArrayOutputWithContext(ctx context.Context) CodespacesSecretArrayOutput

type CodespacesSecretArrayInput

type CodespacesSecretArrayInput interface {
	pulumi.Input

	ToCodespacesSecretArrayOutput() CodespacesSecretArrayOutput
	ToCodespacesSecretArrayOutputWithContext(context.Context) CodespacesSecretArrayOutput
}

CodespacesSecretArrayInput is an input type that accepts CodespacesSecretArray and CodespacesSecretArrayOutput values. You can construct a concrete instance of `CodespacesSecretArrayInput` via:

CodespacesSecretArray{ CodespacesSecretArgs{...} }

type CodespacesSecretArrayOutput

type CodespacesSecretArrayOutput struct{ *pulumi.OutputState }

func (CodespacesSecretArrayOutput) ElementType

func (CodespacesSecretArrayOutput) Index

func (CodespacesSecretArrayOutput) ToCodespacesSecretArrayOutput

func (o CodespacesSecretArrayOutput) ToCodespacesSecretArrayOutput() CodespacesSecretArrayOutput

func (CodespacesSecretArrayOutput) ToCodespacesSecretArrayOutputWithContext

func (o CodespacesSecretArrayOutput) ToCodespacesSecretArrayOutputWithContext(ctx context.Context) CodespacesSecretArrayOutput

type CodespacesSecretInput

type CodespacesSecretInput interface {
	pulumi.Input

	ToCodespacesSecretOutput() CodespacesSecretOutput
	ToCodespacesSecretOutputWithContext(ctx context.Context) CodespacesSecretOutput
}

type CodespacesSecretMap

type CodespacesSecretMap map[string]CodespacesSecretInput

func (CodespacesSecretMap) ElementType

func (CodespacesSecretMap) ElementType() reflect.Type

func (CodespacesSecretMap) ToCodespacesSecretMapOutput

func (i CodespacesSecretMap) ToCodespacesSecretMapOutput() CodespacesSecretMapOutput

func (CodespacesSecretMap) ToCodespacesSecretMapOutputWithContext

func (i CodespacesSecretMap) ToCodespacesSecretMapOutputWithContext(ctx context.Context) CodespacesSecretMapOutput

type CodespacesSecretMapInput

type CodespacesSecretMapInput interface {
	pulumi.Input

	ToCodespacesSecretMapOutput() CodespacesSecretMapOutput
	ToCodespacesSecretMapOutputWithContext(context.Context) CodespacesSecretMapOutput
}

CodespacesSecretMapInput is an input type that accepts CodespacesSecretMap and CodespacesSecretMapOutput values. You can construct a concrete instance of `CodespacesSecretMapInput` via:

CodespacesSecretMap{ "key": CodespacesSecretArgs{...} }

type CodespacesSecretMapOutput

type CodespacesSecretMapOutput struct{ *pulumi.OutputState }

func (CodespacesSecretMapOutput) ElementType

func (CodespacesSecretMapOutput) ElementType() reflect.Type

func (CodespacesSecretMapOutput) MapIndex

func (CodespacesSecretMapOutput) ToCodespacesSecretMapOutput

func (o CodespacesSecretMapOutput) ToCodespacesSecretMapOutput() CodespacesSecretMapOutput

func (CodespacesSecretMapOutput) ToCodespacesSecretMapOutputWithContext

func (o CodespacesSecretMapOutput) ToCodespacesSecretMapOutputWithContext(ctx context.Context) CodespacesSecretMapOutput

type CodespacesSecretOutput

type CodespacesSecretOutput struct{ *pulumi.OutputState }

func (CodespacesSecretOutput) CreatedAt

Date of codespacesSecret creation.

func (CodespacesSecretOutput) ElementType

func (CodespacesSecretOutput) ElementType() reflect.Type

func (CodespacesSecretOutput) EncryptedValue

func (o CodespacesSecretOutput) EncryptedValue() pulumi.StringPtrOutput

Encrypted value of the secret using the GitHub public key in Base64 format.

func (CodespacesSecretOutput) PlaintextValue

func (o CodespacesSecretOutput) PlaintextValue() pulumi.StringPtrOutput

Plaintext value of the secret to be encrypted

func (CodespacesSecretOutput) Repository

Name of the repository

func (CodespacesSecretOutput) SecretName

Name of the secret

func (CodespacesSecretOutput) ToCodespacesSecretOutput

func (o CodespacesSecretOutput) ToCodespacesSecretOutput() CodespacesSecretOutput

func (CodespacesSecretOutput) ToCodespacesSecretOutputWithContext

func (o CodespacesSecretOutput) ToCodespacesSecretOutputWithContext(ctx context.Context) CodespacesSecretOutput

func (CodespacesSecretOutput) UpdatedAt

Date of codespacesSecret update.

type CodespacesSecretState

type CodespacesSecretState struct {
	// Date of codespacesSecret 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 codespacesSecret update.
	UpdatedAt pulumi.StringPtrInput
}

func (CodespacesSecretState) ElementType

func (CodespacesSecretState) ElementType() reflect.Type

type CodespacesUserSecret

type CodespacesUserSecret struct {
	pulumi.CustomResourceState

	// Date of codespacesSecret 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 user secret.
	SelectedRepositoryIds pulumi.IntArrayOutput `pulumi:"selectedRepositoryIds"`
	// Date of codespacesSecret update.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
}

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		repo, err := github.LookupRepository(ctx, &github.LookupRepositoryArgs{
			FullName: pulumi.StringRef("my-org/repo"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = github.NewCodespacesUserSecret(ctx, "exampleSecretCodespacesUserSecret", &github.CodespacesUserSecretArgs{
			SecretName:     pulumi.String("example_secret_name"),
			PlaintextValue: pulumi.Any(_var.Some_secret_string),
			SelectedRepositoryIds: pulumi.IntArray{
				pulumi.Int(repo.RepoId),
			},
		})
		if err != nil {
			return err
		}
		_, err = github.NewCodespacesUserSecret(ctx, "exampleSecretIndex/codespacesUserSecretCodespacesUserSecret", &github.CodespacesUserSecretArgs{
			SecretName:     pulumi.String("example_secret_name"),
			EncryptedValue: pulumi.Any(_var.Some_encrypted_secret_string),
			SelectedRepositoryIds: pulumi.IntArray{
				pulumi.Int(repo.RepoId),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using an ID made up of the secret name:

```sh $ pulumi import github:index/codespacesUserSecret:CodespacesUserSecret test_secret test_secret_name ```

NOTE: the 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 GetCodespacesUserSecret

func GetCodespacesUserSecret(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CodespacesUserSecretState, opts ...pulumi.ResourceOption) (*CodespacesUserSecret, error)

GetCodespacesUserSecret gets an existing CodespacesUserSecret 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 NewCodespacesUserSecret

func NewCodespacesUserSecret(ctx *pulumi.Context,
	name string, args *CodespacesUserSecretArgs, opts ...pulumi.ResourceOption) (*CodespacesUserSecret, error)

NewCodespacesUserSecret registers a new resource with the given unique name, arguments, and options.

func (*CodespacesUserSecret) ElementType

func (*CodespacesUserSecret) ElementType() reflect.Type

func (*CodespacesUserSecret) ToCodespacesUserSecretOutput

func (i *CodespacesUserSecret) ToCodespacesUserSecretOutput() CodespacesUserSecretOutput

func (*CodespacesUserSecret) ToCodespacesUserSecretOutputWithContext

func (i *CodespacesUserSecret) ToCodespacesUserSecretOutputWithContext(ctx context.Context) CodespacesUserSecretOutput

type CodespacesUserSecretArgs

type CodespacesUserSecretArgs 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 user secret.
	SelectedRepositoryIds pulumi.IntArrayInput
}

The set of arguments for constructing a CodespacesUserSecret resource.

func (CodespacesUserSecretArgs) ElementType

func (CodespacesUserSecretArgs) ElementType() reflect.Type

type CodespacesUserSecretArray

type CodespacesUserSecretArray []CodespacesUserSecretInput

func (CodespacesUserSecretArray) ElementType

func (CodespacesUserSecretArray) ElementType() reflect.Type

func (CodespacesUserSecretArray) ToCodespacesUserSecretArrayOutput

func (i CodespacesUserSecretArray) ToCodespacesUserSecretArrayOutput() CodespacesUserSecretArrayOutput

func (CodespacesUserSecretArray) ToCodespacesUserSecretArrayOutputWithContext

func (i CodespacesUserSecretArray) ToCodespacesUserSecretArrayOutputWithContext(ctx context.Context) CodespacesUserSecretArrayOutput

type CodespacesUserSecretArrayInput

type CodespacesUserSecretArrayInput interface {
	pulumi.Input

	ToCodespacesUserSecretArrayOutput() CodespacesUserSecretArrayOutput
	ToCodespacesUserSecretArrayOutputWithContext(context.Context) CodespacesUserSecretArrayOutput
}

CodespacesUserSecretArrayInput is an input type that accepts CodespacesUserSecretArray and CodespacesUserSecretArrayOutput values. You can construct a concrete instance of `CodespacesUserSecretArrayInput` via:

CodespacesUserSecretArray{ CodespacesUserSecretArgs{...} }

type CodespacesUserSecretArrayOutput

type CodespacesUserSecretArrayOutput struct{ *pulumi.OutputState }

func (CodespacesUserSecretArrayOutput) ElementType

func (CodespacesUserSecretArrayOutput) Index

func (CodespacesUserSecretArrayOutput) ToCodespacesUserSecretArrayOutput

func (o CodespacesUserSecretArrayOutput) ToCodespacesUserSecretArrayOutput() CodespacesUserSecretArrayOutput

func (CodespacesUserSecretArrayOutput) ToCodespacesUserSecretArrayOutputWithContext

func (o CodespacesUserSecretArrayOutput) ToCodespacesUserSecretArrayOutputWithContext(ctx context.Context) CodespacesUserSecretArrayOutput

type CodespacesUserSecretInput

type CodespacesUserSecretInput interface {
	pulumi.Input

	ToCodespacesUserSecretOutput() CodespacesUserSecretOutput
	ToCodespacesUserSecretOutputWithContext(ctx context.Context) CodespacesUserSecretOutput
}

type CodespacesUserSecretMap

type CodespacesUserSecretMap map[string]CodespacesUserSecretInput

func (CodespacesUserSecretMap) ElementType

func (CodespacesUserSecretMap) ElementType() reflect.Type

func (CodespacesUserSecretMap) ToCodespacesUserSecretMapOutput

func (i CodespacesUserSecretMap) ToCodespacesUserSecretMapOutput() CodespacesUserSecretMapOutput

func (CodespacesUserSecretMap) ToCodespacesUserSecretMapOutputWithContext

func (i CodespacesUserSecretMap) ToCodespacesUserSecretMapOutputWithContext(ctx context.Context) CodespacesUserSecretMapOutput

type CodespacesUserSecretMapInput

type CodespacesUserSecretMapInput interface {
	pulumi.Input

	ToCodespacesUserSecretMapOutput() CodespacesUserSecretMapOutput
	ToCodespacesUserSecretMapOutputWithContext(context.Context) CodespacesUserSecretMapOutput
}

CodespacesUserSecretMapInput is an input type that accepts CodespacesUserSecretMap and CodespacesUserSecretMapOutput values. You can construct a concrete instance of `CodespacesUserSecretMapInput` via:

CodespacesUserSecretMap{ "key": CodespacesUserSecretArgs{...} }

type CodespacesUserSecretMapOutput

type CodespacesUserSecretMapOutput struct{ *pulumi.OutputState }

func (CodespacesUserSecretMapOutput) ElementType

func (CodespacesUserSecretMapOutput) MapIndex

func (CodespacesUserSecretMapOutput) ToCodespacesUserSecretMapOutput

func (o CodespacesUserSecretMapOutput) ToCodespacesUserSecretMapOutput() CodespacesUserSecretMapOutput

func (CodespacesUserSecretMapOutput) ToCodespacesUserSecretMapOutputWithContext

func (o CodespacesUserSecretMapOutput) ToCodespacesUserSecretMapOutputWithContext(ctx context.Context) CodespacesUserSecretMapOutput

type CodespacesUserSecretOutput

type CodespacesUserSecretOutput struct{ *pulumi.OutputState }

func (CodespacesUserSecretOutput) CreatedAt

Date of codespacesSecret creation.

func (CodespacesUserSecretOutput) ElementType

func (CodespacesUserSecretOutput) ElementType() reflect.Type

func (CodespacesUserSecretOutput) EncryptedValue

Encrypted value of the secret using the GitHub public key in Base64 format.

func (CodespacesUserSecretOutput) PlaintextValue

Plaintext value of the secret to be encrypted

func (CodespacesUserSecretOutput) SecretName

Name of the secret

func (CodespacesUserSecretOutput) SelectedRepositoryIds

func (o CodespacesUserSecretOutput) SelectedRepositoryIds() pulumi.IntArrayOutput

An array of repository ids that can access the user secret.

func (CodespacesUserSecretOutput) ToCodespacesUserSecretOutput

func (o CodespacesUserSecretOutput) ToCodespacesUserSecretOutput() CodespacesUserSecretOutput

func (CodespacesUserSecretOutput) ToCodespacesUserSecretOutputWithContext

func (o CodespacesUserSecretOutput) ToCodespacesUserSecretOutputWithContext(ctx context.Context) CodespacesUserSecretOutput

func (CodespacesUserSecretOutput) UpdatedAt

Date of codespacesSecret update.

type CodespacesUserSecretState

type CodespacesUserSecretState struct {
	// Date of codespacesSecret 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 user secret.
	SelectedRepositoryIds pulumi.IntArrayInput
	// Date of codespacesSecret update.
	UpdatedAt pulumi.StringPtrInput
}

func (CodespacesUserSecretState) ElementType

func (CodespacesUserSecretState) ElementType() reflect.Type

type DependabotOrganizationSecret

type DependabotOrganizationSecret struct {
	pulumi.CustomResourceState

	// Date of dependabotSecret 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 dependabotSecret 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.NewDependabotOrganizationSecret(ctx, "exampleSecretDependabotOrganizationSecret", &github.DependabotOrganizationSecretArgs{
			SecretName:     pulumi.String("example_secret_name"),
			Visibility:     pulumi.String("private"),
			PlaintextValue: pulumi.Any(_var.Some_secret_string),
		})
		if err != nil {
			return err
		}
		_, err = github.NewDependabotOrganizationSecret(ctx, "exampleSecretIndex/dependabotOrganizationSecretDependabotOrganizationSecret", &github.DependabotOrganizationSecretArgs{
			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
	})
}

``` <!--End PulumiCodeChooser -->

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		repo, err := github.LookupRepository(ctx, &github.LookupRepositoryArgs{
			FullName: pulumi.StringRef("my-org/repo"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = github.NewDependabotOrganizationSecret(ctx, "exampleSecretDependabotOrganizationSecret", &github.DependabotOrganizationSecretArgs{
			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.NewDependabotOrganizationSecret(ctx, "exampleSecretIndex/dependabotOrganizationSecretDependabotOrganizationSecret", &github.DependabotOrganizationSecretArgs{
			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
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using an ID made up of the secret name:

```sh $ pulumi import github:index/dependabotOrganizationSecret:DependabotOrganizationSecret test_secret test_secret_name ```

NOTE: the 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 GetDependabotOrganizationSecret

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

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

func (*DependabotOrganizationSecret) ElementType() reflect.Type

func (*DependabotOrganizationSecret) ToDependabotOrganizationSecretOutput

func (i *DependabotOrganizationSecret) ToDependabotOrganizationSecretOutput() DependabotOrganizationSecretOutput

func (*DependabotOrganizationSecret) ToDependabotOrganizationSecretOutputWithContext

func (i *DependabotOrganizationSecret) ToDependabotOrganizationSecretOutputWithContext(ctx context.Context) DependabotOrganizationSecretOutput

type DependabotOrganizationSecretArgs

type DependabotOrganizationSecretArgs 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 DependabotOrganizationSecret resource.

func (DependabotOrganizationSecretArgs) ElementType

type DependabotOrganizationSecretArray

type DependabotOrganizationSecretArray []DependabotOrganizationSecretInput

func (DependabotOrganizationSecretArray) ElementType

func (DependabotOrganizationSecretArray) ToDependabotOrganizationSecretArrayOutput

func (i DependabotOrganizationSecretArray) ToDependabotOrganizationSecretArrayOutput() DependabotOrganizationSecretArrayOutput

func (DependabotOrganizationSecretArray) ToDependabotOrganizationSecretArrayOutputWithContext

func (i DependabotOrganizationSecretArray) ToDependabotOrganizationSecretArrayOutputWithContext(ctx context.Context) DependabotOrganizationSecretArrayOutput

type DependabotOrganizationSecretArrayInput

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

type DependabotOrganizationSecretArrayOutput struct{ *pulumi.OutputState }

func (DependabotOrganizationSecretArrayOutput) ElementType

func (DependabotOrganizationSecretArrayOutput) Index

func (DependabotOrganizationSecretArrayOutput) ToDependabotOrganizationSecretArrayOutput

func (o DependabotOrganizationSecretArrayOutput) ToDependabotOrganizationSecretArrayOutput() DependabotOrganizationSecretArrayOutput

func (DependabotOrganizationSecretArrayOutput) ToDependabotOrganizationSecretArrayOutputWithContext

func (o DependabotOrganizationSecretArrayOutput) ToDependabotOrganizationSecretArrayOutputWithContext(ctx context.Context) DependabotOrganizationSecretArrayOutput

type DependabotOrganizationSecretInput

type DependabotOrganizationSecretInput interface {
	pulumi.Input

	ToDependabotOrganizationSecretOutput() DependabotOrganizationSecretOutput
	ToDependabotOrganizationSecretOutputWithContext(ctx context.Context) DependabotOrganizationSecretOutput
}

type DependabotOrganizationSecretMap

type DependabotOrganizationSecretMap map[string]DependabotOrganizationSecretInput

func (DependabotOrganizationSecretMap) ElementType

func (DependabotOrganizationSecretMap) ToDependabotOrganizationSecretMapOutput

func (i DependabotOrganizationSecretMap) ToDependabotOrganizationSecretMapOutput() DependabotOrganizationSecretMapOutput

func (DependabotOrganizationSecretMap) ToDependabotOrganizationSecretMapOutputWithContext

func (i DependabotOrganizationSecretMap) ToDependabotOrganizationSecretMapOutputWithContext(ctx context.Context) DependabotOrganizationSecretMapOutput

type DependabotOrganizationSecretMapInput

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

type DependabotOrganizationSecretMapOutput struct{ *pulumi.OutputState }

func (DependabotOrganizationSecretMapOutput) ElementType

func (DependabotOrganizationSecretMapOutput) MapIndex

func (DependabotOrganizationSecretMapOutput) ToDependabotOrganizationSecretMapOutput

func (o DependabotOrganizationSecretMapOutput) ToDependabotOrganizationSecretMapOutput() DependabotOrganizationSecretMapOutput

func (DependabotOrganizationSecretMapOutput) ToDependabotOrganizationSecretMapOutputWithContext

func (o DependabotOrganizationSecretMapOutput) ToDependabotOrganizationSecretMapOutputWithContext(ctx context.Context) DependabotOrganizationSecretMapOutput

type DependabotOrganizationSecretOutput

type DependabotOrganizationSecretOutput struct{ *pulumi.OutputState }

func (DependabotOrganizationSecretOutput) CreatedAt

Date of dependabotSecret creation.

func (DependabotOrganizationSecretOutput) ElementType

func (DependabotOrganizationSecretOutput) EncryptedValue

Encrypted value of the secret using the GitHub public key in Base64 format.

func (DependabotOrganizationSecretOutput) PlaintextValue

Plaintext value of the secret to be encrypted

func (DependabotOrganizationSecretOutput) SecretName

Name of the secret

func (DependabotOrganizationSecretOutput) SelectedRepositoryIds

func (o DependabotOrganizationSecretOutput) SelectedRepositoryIds() pulumi.IntArrayOutput

An array of repository ids that can access the organization secret.

func (DependabotOrganizationSecretOutput) ToDependabotOrganizationSecretOutput

func (o DependabotOrganizationSecretOutput) ToDependabotOrganizationSecretOutput() DependabotOrganizationSecretOutput

func (DependabotOrganizationSecretOutput) ToDependabotOrganizationSecretOutputWithContext

func (o DependabotOrganizationSecretOutput) ToDependabotOrganizationSecretOutputWithContext(ctx context.Context) DependabotOrganizationSecretOutput

func (DependabotOrganizationSecretOutput) UpdatedAt

Date of dependabotSecret update.

func (DependabotOrganizationSecretOutput) Visibility

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 DependabotOrganizationSecretRepositories

type DependabotOrganizationSecretRepositories 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 the repository allow list for existing GitHub Dependabot 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		repo, err := github.LookupRepository(ctx, &github.LookupRepositoryArgs{
			FullName: pulumi.StringRef("my-org/repo"),
		}, nil)
		if err != nil {
			return err
		}
		exampleSecret, err := github.NewDependabotOrganizationSecret(ctx, "exampleSecret", &github.DependabotOrganizationSecretArgs{
			SecretName:     pulumi.String("example_secret_name"),
			Visibility:     pulumi.String("private"),
			PlaintextValue: pulumi.Any(_var.Some_secret_string),
		})
		if err != nil {
			return err
		}
		_, err = github.NewDependabotOrganizationSecretRepositories(ctx, "orgSecretRepos", &github.DependabotOrganizationSecretRepositoriesArgs{
			SecretName: exampleSecret.SecretName,
			SelectedRepositoryIds: pulumi.IntArray{
				pulumi.Int(repo.RepoId),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using an ID made up of the secret name:

```sh $ pulumi import github:index/dependabotOrganizationSecretRepositories:DependabotOrganizationSecretRepositories test_secret_repos test_secret_name ```

func GetDependabotOrganizationSecretRepositories

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

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

func (*DependabotOrganizationSecretRepositories) ToDependabotOrganizationSecretRepositoriesOutput

func (i *DependabotOrganizationSecretRepositories) ToDependabotOrganizationSecretRepositoriesOutput() DependabotOrganizationSecretRepositoriesOutput

func (*DependabotOrganizationSecretRepositories) ToDependabotOrganizationSecretRepositoriesOutputWithContext

func (i *DependabotOrganizationSecretRepositories) ToDependabotOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesOutput

type DependabotOrganizationSecretRepositoriesArgs

type DependabotOrganizationSecretRepositoriesArgs 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 DependabotOrganizationSecretRepositories resource.

func (DependabotOrganizationSecretRepositoriesArgs) ElementType

type DependabotOrganizationSecretRepositoriesArray

type DependabotOrganizationSecretRepositoriesArray []DependabotOrganizationSecretRepositoriesInput

func (DependabotOrganizationSecretRepositoriesArray) ElementType

func (DependabotOrganizationSecretRepositoriesArray) ToDependabotOrganizationSecretRepositoriesArrayOutput

func (i DependabotOrganizationSecretRepositoriesArray) ToDependabotOrganizationSecretRepositoriesArrayOutput() DependabotOrganizationSecretRepositoriesArrayOutput

func (DependabotOrganizationSecretRepositoriesArray) ToDependabotOrganizationSecretRepositoriesArrayOutputWithContext

func (i DependabotOrganizationSecretRepositoriesArray) ToDependabotOrganizationSecretRepositoriesArrayOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesArrayOutput

type DependabotOrganizationSecretRepositoriesArrayInput

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

type DependabotOrganizationSecretRepositoriesArrayOutput struct{ *pulumi.OutputState }

func (DependabotOrganizationSecretRepositoriesArrayOutput) ElementType

func (DependabotOrganizationSecretRepositoriesArrayOutput) Index

func (DependabotOrganizationSecretRepositoriesArrayOutput) ToDependabotOrganizationSecretRepositoriesArrayOutput

func (o DependabotOrganizationSecretRepositoriesArrayOutput) ToDependabotOrganizationSecretRepositoriesArrayOutput() DependabotOrganizationSecretRepositoriesArrayOutput

func (DependabotOrganizationSecretRepositoriesArrayOutput) ToDependabotOrganizationSecretRepositoriesArrayOutputWithContext

func (o DependabotOrganizationSecretRepositoriesArrayOutput) ToDependabotOrganizationSecretRepositoriesArrayOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesArrayOutput

type DependabotOrganizationSecretRepositoriesInput

type DependabotOrganizationSecretRepositoriesInput interface {
	pulumi.Input

	ToDependabotOrganizationSecretRepositoriesOutput() DependabotOrganizationSecretRepositoriesOutput
	ToDependabotOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesOutput
}

type DependabotOrganizationSecretRepositoriesMap

type DependabotOrganizationSecretRepositoriesMap map[string]DependabotOrganizationSecretRepositoriesInput

func (DependabotOrganizationSecretRepositoriesMap) ElementType

func (DependabotOrganizationSecretRepositoriesMap) ToDependabotOrganizationSecretRepositoriesMapOutput

func (i DependabotOrganizationSecretRepositoriesMap) ToDependabotOrganizationSecretRepositoriesMapOutput() DependabotOrganizationSecretRepositoriesMapOutput

func (DependabotOrganizationSecretRepositoriesMap) ToDependabotOrganizationSecretRepositoriesMapOutputWithContext

func (i DependabotOrganizationSecretRepositoriesMap) ToDependabotOrganizationSecretRepositoriesMapOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesMapOutput

type DependabotOrganizationSecretRepositoriesMapInput

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

type DependabotOrganizationSecretRepositoriesMapOutput struct{ *pulumi.OutputState }

func (DependabotOrganizationSecretRepositoriesMapOutput) ElementType

func (DependabotOrganizationSecretRepositoriesMapOutput) MapIndex

func (DependabotOrganizationSecretRepositoriesMapOutput) ToDependabotOrganizationSecretRepositoriesMapOutput

func (o DependabotOrganizationSecretRepositoriesMapOutput) ToDependabotOrganizationSecretRepositoriesMapOutput() DependabotOrganizationSecretRepositoriesMapOutput

func (DependabotOrganizationSecretRepositoriesMapOutput) ToDependabotOrganizationSecretRepositoriesMapOutputWithContext

func (o DependabotOrganizationSecretRepositoriesMapOutput) ToDependabotOrganizationSecretRepositoriesMapOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesMapOutput

type DependabotOrganizationSecretRepositoriesOutput

type DependabotOrganizationSecretRepositoriesOutput struct{ *pulumi.OutputState }

func (DependabotOrganizationSecretRepositoriesOutput) ElementType

func (DependabotOrganizationSecretRepositoriesOutput) SecretName

Name of the existing secret

func (DependabotOrganizationSecretRepositoriesOutput) SelectedRepositoryIds

An array of repository ids that can access the organization secret.

func (DependabotOrganizationSecretRepositoriesOutput) ToDependabotOrganizationSecretRepositoriesOutput

func (o DependabotOrganizationSecretRepositoriesOutput) ToDependabotOrganizationSecretRepositoriesOutput() DependabotOrganizationSecretRepositoriesOutput

func (DependabotOrganizationSecretRepositoriesOutput) ToDependabotOrganizationSecretRepositoriesOutputWithContext

func (o DependabotOrganizationSecretRepositoriesOutput) ToDependabotOrganizationSecretRepositoriesOutputWithContext(ctx context.Context) DependabotOrganizationSecretRepositoriesOutput

type DependabotOrganizationSecretRepositoriesState

type DependabotOrganizationSecretRepositoriesState struct {
	// Name of the existing secret
	SecretName pulumi.StringPtrInput
	// An array of repository ids that can access the organization secret.
	SelectedRepositoryIds pulumi.IntArrayInput
}

func (DependabotOrganizationSecretRepositoriesState) ElementType

type DependabotOrganizationSecretState

type DependabotOrganizationSecretState struct {
	// Date of dependabotSecret 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 dependabotSecret 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 (DependabotOrganizationSecretState) ElementType

type DependabotSecret

type DependabotSecret struct {
	pulumi.CustomResourceState

	// Date of dependabotSecret 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 dependabotSecret update.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
}

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetDependabotPublicKey(ctx, &github.GetDependabotPublicKeyArgs{
			Repository: "example_repository",
		}, nil)
		if err != nil {
			return err
		}
		_, err = github.NewDependabotSecret(ctx, "exampleSecretDependabotSecret", &github.DependabotSecretArgs{
			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.NewDependabotSecret(ctx, "exampleSecretIndex/dependabotSecretDependabotSecret", &github.DependabotSecretArgs{
			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
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using an ID made up of the `repository` and `secret_name`:

```sh $ pulumi import github:index/dependabotSecret:DependabotSecret example_secret example_repository/example_secret ``` NOTE: the 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 GetDependabotSecret

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

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

func (*DependabotSecret) ElementType() reflect.Type

func (*DependabotSecret) ToDependabotSecretOutput

func (i *DependabotSecret) ToDependabotSecretOutput() DependabotSecretOutput

func (*DependabotSecret) ToDependabotSecretOutputWithContext

func (i *DependabotSecret) ToDependabotSecretOutputWithContext(ctx context.Context) DependabotSecretOutput

type DependabotSecretArgs

type DependabotSecretArgs 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 DependabotSecret resource.

func (DependabotSecretArgs) ElementType

func (DependabotSecretArgs) ElementType() reflect.Type

type DependabotSecretArray

type DependabotSecretArray []DependabotSecretInput

func (DependabotSecretArray) ElementType

func (DependabotSecretArray) ElementType() reflect.Type

func (DependabotSecretArray) ToDependabotSecretArrayOutput

func (i DependabotSecretArray) ToDependabotSecretArrayOutput() DependabotSecretArrayOutput

func (DependabotSecretArray) ToDependabotSecretArrayOutputWithContext

func (i DependabotSecretArray) ToDependabotSecretArrayOutputWithContext(ctx context.Context) DependabotSecretArrayOutput

type DependabotSecretArrayInput

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

type DependabotSecretArrayOutput struct{ *pulumi.OutputState }

func (DependabotSecretArrayOutput) ElementType

func (DependabotSecretArrayOutput) Index

func (DependabotSecretArrayOutput) ToDependabotSecretArrayOutput

func (o DependabotSecretArrayOutput) ToDependabotSecretArrayOutput() DependabotSecretArrayOutput

func (DependabotSecretArrayOutput) ToDependabotSecretArrayOutputWithContext

func (o DependabotSecretArrayOutput) ToDependabotSecretArrayOutputWithContext(ctx context.Context) DependabotSecretArrayOutput

type DependabotSecretInput

type DependabotSecretInput interface {
	pulumi.Input

	ToDependabotSecretOutput() DependabotSecretOutput
	ToDependabotSecretOutputWithContext(ctx context.Context) DependabotSecretOutput
}

type DependabotSecretMap

type DependabotSecretMap map[string]DependabotSecretInput

func (DependabotSecretMap) ElementType

func (DependabotSecretMap) ElementType() reflect.Type

func (DependabotSecretMap) ToDependabotSecretMapOutput

func (i DependabotSecretMap) ToDependabotSecretMapOutput() DependabotSecretMapOutput

func (DependabotSecretMap) ToDependabotSecretMapOutputWithContext

func (i DependabotSecretMap) ToDependabotSecretMapOutputWithContext(ctx context.Context) DependabotSecretMapOutput

type DependabotSecretMapInput

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

type DependabotSecretMapOutput struct{ *pulumi.OutputState }

func (DependabotSecretMapOutput) ElementType

func (DependabotSecretMapOutput) ElementType() reflect.Type

func (DependabotSecretMapOutput) MapIndex

func (DependabotSecretMapOutput) ToDependabotSecretMapOutput

func (o DependabotSecretMapOutput) ToDependabotSecretMapOutput() DependabotSecretMapOutput

func (DependabotSecretMapOutput) ToDependabotSecretMapOutputWithContext

func (o DependabotSecretMapOutput) ToDependabotSecretMapOutputWithContext(ctx context.Context) DependabotSecretMapOutput

type DependabotSecretOutput

type DependabotSecretOutput struct{ *pulumi.OutputState }

func (DependabotSecretOutput) CreatedAt

Date of dependabotSecret creation.

func (DependabotSecretOutput) ElementType

func (DependabotSecretOutput) ElementType() reflect.Type

func (DependabotSecretOutput) EncryptedValue

func (o DependabotSecretOutput) EncryptedValue() pulumi.StringPtrOutput

Encrypted value of the secret using the GitHub public key in Base64 format.

func (DependabotSecretOutput) PlaintextValue

func (o DependabotSecretOutput) PlaintextValue() pulumi.StringPtrOutput

Plaintext value of the secret to be encrypted

func (DependabotSecretOutput) Repository

Name of the repository

func (DependabotSecretOutput) SecretName

Name of the secret

func (DependabotSecretOutput) ToDependabotSecretOutput

func (o DependabotSecretOutput) ToDependabotSecretOutput() DependabotSecretOutput

func (DependabotSecretOutput) ToDependabotSecretOutputWithContext

func (o DependabotSecretOutput) ToDependabotSecretOutputWithContext(ctx context.Context) DependabotSecretOutput

func (DependabotSecretOutput) UpdatedAt

Date of dependabotSecret update.

type DependabotSecretState

type DependabotSecretState struct {
	// Date of dependabotSecret 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 dependabotSecret update.
	UpdatedAt pulumi.StringPtrInput
}

func (DependabotSecretState) ElementType

func (DependabotSecretState) ElementType() reflect.Type

type EmuGroupMapping

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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

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

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

func (*EmuGroupMapping) ElementType() reflect.Type

func (*EmuGroupMapping) ToEmuGroupMappingOutput

func (i *EmuGroupMapping) ToEmuGroupMappingOutput() EmuGroupMappingOutput

func (*EmuGroupMapping) ToEmuGroupMappingOutputWithContext

func (i *EmuGroupMapping) ToEmuGroupMappingOutputWithContext(ctx context.Context) EmuGroupMappingOutput

type EmuGroupMappingArgs

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

func (EmuGroupMappingArgs) ElementType() reflect.Type

type EmuGroupMappingArray

type EmuGroupMappingArray []EmuGroupMappingInput

func (EmuGroupMappingArray) ElementType

func (EmuGroupMappingArray) ElementType() reflect.Type

func (EmuGroupMappingArray) ToEmuGroupMappingArrayOutput

func (i EmuGroupMappingArray) ToEmuGroupMappingArrayOutput() EmuGroupMappingArrayOutput

func (EmuGroupMappingArray) ToEmuGroupMappingArrayOutputWithContext

func (i EmuGroupMappingArray) ToEmuGroupMappingArrayOutputWithContext(ctx context.Context) EmuGroupMappingArrayOutput

type EmuGroupMappingArrayInput

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

type EmuGroupMappingArrayOutput struct{ *pulumi.OutputState }

func (EmuGroupMappingArrayOutput) ElementType

func (EmuGroupMappingArrayOutput) ElementType() reflect.Type

func (EmuGroupMappingArrayOutput) Index

func (EmuGroupMappingArrayOutput) ToEmuGroupMappingArrayOutput

func (o EmuGroupMappingArrayOutput) ToEmuGroupMappingArrayOutput() EmuGroupMappingArrayOutput

func (EmuGroupMappingArrayOutput) ToEmuGroupMappingArrayOutputWithContext

func (o EmuGroupMappingArrayOutput) ToEmuGroupMappingArrayOutputWithContext(ctx context.Context) EmuGroupMappingArrayOutput

type EmuGroupMappingInput

type EmuGroupMappingInput interface {
	pulumi.Input

	ToEmuGroupMappingOutput() EmuGroupMappingOutput
	ToEmuGroupMappingOutputWithContext(ctx context.Context) EmuGroupMappingOutput
}

type EmuGroupMappingMap

type EmuGroupMappingMap map[string]EmuGroupMappingInput

func (EmuGroupMappingMap) ElementType

func (EmuGroupMappingMap) ElementType() reflect.Type

func (EmuGroupMappingMap) ToEmuGroupMappingMapOutput

func (i EmuGroupMappingMap) ToEmuGroupMappingMapOutput() EmuGroupMappingMapOutput

func (EmuGroupMappingMap) ToEmuGroupMappingMapOutputWithContext

func (i EmuGroupMappingMap) ToEmuGroupMappingMapOutputWithContext(ctx context.Context) EmuGroupMappingMapOutput

type EmuGroupMappingMapInput

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

type EmuGroupMappingMapOutput struct{ *pulumi.OutputState }

func (EmuGroupMappingMapOutput) ElementType

func (EmuGroupMappingMapOutput) ElementType() reflect.Type

func (EmuGroupMappingMapOutput) MapIndex

func (EmuGroupMappingMapOutput) ToEmuGroupMappingMapOutput

func (o EmuGroupMappingMapOutput) ToEmuGroupMappingMapOutput() EmuGroupMappingMapOutput

func (EmuGroupMappingMapOutput) ToEmuGroupMappingMapOutputWithContext

func (o EmuGroupMappingMapOutput) ToEmuGroupMappingMapOutputWithContext(ctx context.Context) EmuGroupMappingMapOutput

type EmuGroupMappingOutput

type EmuGroupMappingOutput struct{ *pulumi.OutputState }

func (EmuGroupMappingOutput) ElementType

func (EmuGroupMappingOutput) ElementType() reflect.Type

func (EmuGroupMappingOutput) Etag

func (EmuGroupMappingOutput) GroupId

Integer corresponding to the external group ID to be linked

func (EmuGroupMappingOutput) TeamSlug

Slug of the GitHub team

func (EmuGroupMappingOutput) ToEmuGroupMappingOutput

func (o EmuGroupMappingOutput) ToEmuGroupMappingOutput() EmuGroupMappingOutput

func (EmuGroupMappingOutput) ToEmuGroupMappingOutputWithContext

func (o EmuGroupMappingOutput) ToEmuGroupMappingOutputWithContext(ctx context.Context) EmuGroupMappingOutput

type EmuGroupMappingState

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

func (EmuGroupMappingState) ElementType() reflect.Type

type EnterpriseActionsPermissions added in v6.1.0

type EnterpriseActionsPermissions 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 enterprise. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.
	AllowedActionsConfig EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput `pulumi:"allowedActionsConfig"`
	// The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`.
	EnabledOrganizations pulumi.StringOutput `pulumi:"enabledOrganizations"`
	// Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when `enabledOrganizations` = `selected`. See Enabled Organizations Config below for details.
	EnabledOrganizationsConfig EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput `pulumi:"enabledOrganizationsConfig"`
	// The ID of the enterprise.
	EnterpriseId pulumi.StringOutput `pulumi:"enterpriseId"`
}

This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise. You must have admin access to an enterprise to use this resource.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example_enterprise, err := github.GetEnterprise(ctx, &github.GetEnterpriseArgs{
			Slug: "my-enterprise",
		}, nil)
		if err != nil {
			return err
		}
		example_org, err := github.GetOrganization(ctx, &github.GetOrganizationArgs{
			Name: "my-org",
		}, nil)
		if err != nil {
			return err
		}
		_, err = github.NewEnterpriseActionsPermissions(ctx, "test", &github.EnterpriseActionsPermissionsArgs{
			EnterpriseId:         pulumi.String(example_enterprise.Slug),
			AllowedActions:       pulumi.String("selected"),
			EnabledOrganizations: pulumi.String("selected"),
			AllowedActionsConfig: &github.EnterpriseActionsPermissionsAllowedActionsConfigArgs{
				GithubOwnedAllowed: pulumi.Bool(true),
				PatternsAlloweds: pulumi.StringArray{
					pulumi.String("actions/cache@*"),
					pulumi.String("actions/checkout@*"),
				},
				VerifiedAllowed: pulumi.Bool(true),
			},
			EnabledOrganizationsConfig: &github.EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs{
				OrganizationIds: pulumi.IntArray{
					pulumi.String(example_org.Id),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using the name of the GitHub enterprise:

```sh $ pulumi import github:index/enterpriseActionsPermissions:EnterpriseActionsPermissions test github_enterprise_name ```

func GetEnterpriseActionsPermissions added in v6.1.0

func GetEnterpriseActionsPermissions(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EnterpriseActionsPermissionsState, opts ...pulumi.ResourceOption) (*EnterpriseActionsPermissions, error)

GetEnterpriseActionsPermissions gets an existing EnterpriseActionsPermissions 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 NewEnterpriseActionsPermissions added in v6.1.0

func NewEnterpriseActionsPermissions(ctx *pulumi.Context,
	name string, args *EnterpriseActionsPermissionsArgs, opts ...pulumi.ResourceOption) (*EnterpriseActionsPermissions, error)

NewEnterpriseActionsPermissions registers a new resource with the given unique name, arguments, and options.

func (*EnterpriseActionsPermissions) ElementType added in v6.1.0

func (*EnterpriseActionsPermissions) ElementType() reflect.Type

func (*EnterpriseActionsPermissions) ToEnterpriseActionsPermissionsOutput added in v6.1.0

func (i *EnterpriseActionsPermissions) ToEnterpriseActionsPermissionsOutput() EnterpriseActionsPermissionsOutput

func (*EnterpriseActionsPermissions) ToEnterpriseActionsPermissionsOutputWithContext added in v6.1.0

func (i *EnterpriseActionsPermissions) ToEnterpriseActionsPermissionsOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsOutput

type EnterpriseActionsPermissionsAllowedActionsConfig added in v6.1.0

type EnterpriseActionsPermissionsAllowedActionsConfig 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 EnterpriseActionsPermissionsAllowedActionsConfigArgs added in v6.1.0

type EnterpriseActionsPermissionsAllowedActionsConfigArgs 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 (EnterpriseActionsPermissionsAllowedActionsConfigArgs) ElementType added in v6.1.0

func (EnterpriseActionsPermissionsAllowedActionsConfigArgs) ToEnterpriseActionsPermissionsAllowedActionsConfigOutput added in v6.1.0

func (i EnterpriseActionsPermissionsAllowedActionsConfigArgs) ToEnterpriseActionsPermissionsAllowedActionsConfigOutput() EnterpriseActionsPermissionsAllowedActionsConfigOutput

func (EnterpriseActionsPermissionsAllowedActionsConfigArgs) ToEnterpriseActionsPermissionsAllowedActionsConfigOutputWithContext added in v6.1.0

func (i EnterpriseActionsPermissionsAllowedActionsConfigArgs) ToEnterpriseActionsPermissionsAllowedActionsConfigOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsAllowedActionsConfigOutput

func (EnterpriseActionsPermissionsAllowedActionsConfigArgs) ToEnterpriseActionsPermissionsAllowedActionsConfigPtrOutput added in v6.1.0

func (i EnterpriseActionsPermissionsAllowedActionsConfigArgs) ToEnterpriseActionsPermissionsAllowedActionsConfigPtrOutput() EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput

func (EnterpriseActionsPermissionsAllowedActionsConfigArgs) ToEnterpriseActionsPermissionsAllowedActionsConfigPtrOutputWithContext added in v6.1.0

func (i EnterpriseActionsPermissionsAllowedActionsConfigArgs) ToEnterpriseActionsPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput

type EnterpriseActionsPermissionsAllowedActionsConfigInput added in v6.1.0

type EnterpriseActionsPermissionsAllowedActionsConfigInput interface {
	pulumi.Input

	ToEnterpriseActionsPermissionsAllowedActionsConfigOutput() EnterpriseActionsPermissionsAllowedActionsConfigOutput
	ToEnterpriseActionsPermissionsAllowedActionsConfigOutputWithContext(context.Context) EnterpriseActionsPermissionsAllowedActionsConfigOutput
}

EnterpriseActionsPermissionsAllowedActionsConfigInput is an input type that accepts EnterpriseActionsPermissionsAllowedActionsConfigArgs and EnterpriseActionsPermissionsAllowedActionsConfigOutput values. You can construct a concrete instance of `EnterpriseActionsPermissionsAllowedActionsConfigInput` via:

EnterpriseActionsPermissionsAllowedActionsConfigArgs{...}

type EnterpriseActionsPermissionsAllowedActionsConfigOutput added in v6.1.0

type EnterpriseActionsPermissionsAllowedActionsConfigOutput struct{ *pulumi.OutputState }

func (EnterpriseActionsPermissionsAllowedActionsConfigOutput) ElementType added in v6.1.0

func (EnterpriseActionsPermissionsAllowedActionsConfigOutput) GithubOwnedAllowed added in v6.1.0

Whether GitHub-owned actions are allowed in the organization.

func (EnterpriseActionsPermissionsAllowedActionsConfigOutput) PatternsAlloweds added in v6.1.0

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 (EnterpriseActionsPermissionsAllowedActionsConfigOutput) ToEnterpriseActionsPermissionsAllowedActionsConfigOutput added in v6.1.0

func (EnterpriseActionsPermissionsAllowedActionsConfigOutput) ToEnterpriseActionsPermissionsAllowedActionsConfigOutputWithContext added in v6.1.0

func (o EnterpriseActionsPermissionsAllowedActionsConfigOutput) ToEnterpriseActionsPermissionsAllowedActionsConfigOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsAllowedActionsConfigOutput

func (EnterpriseActionsPermissionsAllowedActionsConfigOutput) ToEnterpriseActionsPermissionsAllowedActionsConfigPtrOutput added in v6.1.0

func (o EnterpriseActionsPermissionsAllowedActionsConfigOutput) ToEnterpriseActionsPermissionsAllowedActionsConfigPtrOutput() EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput

func (EnterpriseActionsPermissionsAllowedActionsConfigOutput) ToEnterpriseActionsPermissionsAllowedActionsConfigPtrOutputWithContext added in v6.1.0

func (o EnterpriseActionsPermissionsAllowedActionsConfigOutput) ToEnterpriseActionsPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput

func (EnterpriseActionsPermissionsAllowedActionsConfigOutput) VerifiedAllowed added in v6.1.0

Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.

type EnterpriseActionsPermissionsAllowedActionsConfigPtrInput added in v6.1.0

type EnterpriseActionsPermissionsAllowedActionsConfigPtrInput interface {
	pulumi.Input

	ToEnterpriseActionsPermissionsAllowedActionsConfigPtrOutput() EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput
	ToEnterpriseActionsPermissionsAllowedActionsConfigPtrOutputWithContext(context.Context) EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput
}

EnterpriseActionsPermissionsAllowedActionsConfigPtrInput is an input type that accepts EnterpriseActionsPermissionsAllowedActionsConfigArgs, EnterpriseActionsPermissionsAllowedActionsConfigPtr and EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput values. You can construct a concrete instance of `EnterpriseActionsPermissionsAllowedActionsConfigPtrInput` via:

        EnterpriseActionsPermissionsAllowedActionsConfigArgs{...}

or:

        nil

type EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput added in v6.1.0

type EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput struct{ *pulumi.OutputState }

func (EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput) Elem added in v6.1.0

func (EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput) ElementType added in v6.1.0

func (EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput) GithubOwnedAllowed added in v6.1.0

Whether GitHub-owned actions are allowed in the organization.

func (EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput) PatternsAlloweds added in v6.1.0

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 (EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput) ToEnterpriseActionsPermissionsAllowedActionsConfigPtrOutput added in v6.1.0

func (EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput) ToEnterpriseActionsPermissionsAllowedActionsConfigPtrOutputWithContext added in v6.1.0

func (o EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput) ToEnterpriseActionsPermissionsAllowedActionsConfigPtrOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput

func (EnterpriseActionsPermissionsAllowedActionsConfigPtrOutput) VerifiedAllowed added in v6.1.0

Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.

type EnterpriseActionsPermissionsArgs added in v6.1.0

type EnterpriseActionsPermissionsArgs 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 enterprise. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.
	AllowedActionsConfig EnterpriseActionsPermissionsAllowedActionsConfigPtrInput
	// The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`.
	EnabledOrganizations pulumi.StringInput
	// Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when `enabledOrganizations` = `selected`. See Enabled Organizations Config below for details.
	EnabledOrganizationsConfig EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrInput
	// The ID of the enterprise.
	EnterpriseId pulumi.StringInput
}

The set of arguments for constructing a EnterpriseActionsPermissions resource.

func (EnterpriseActionsPermissionsArgs) ElementType added in v6.1.0

type EnterpriseActionsPermissionsArray added in v6.1.0

type EnterpriseActionsPermissionsArray []EnterpriseActionsPermissionsInput

func (EnterpriseActionsPermissionsArray) ElementType added in v6.1.0

func (EnterpriseActionsPermissionsArray) ToEnterpriseActionsPermissionsArrayOutput added in v6.1.0

func (i EnterpriseActionsPermissionsArray) ToEnterpriseActionsPermissionsArrayOutput() EnterpriseActionsPermissionsArrayOutput

func (EnterpriseActionsPermissionsArray) ToEnterpriseActionsPermissionsArrayOutputWithContext added in v6.1.0

func (i EnterpriseActionsPermissionsArray) ToEnterpriseActionsPermissionsArrayOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsArrayOutput

type EnterpriseActionsPermissionsArrayInput added in v6.1.0

type EnterpriseActionsPermissionsArrayInput interface {
	pulumi.Input

	ToEnterpriseActionsPermissionsArrayOutput() EnterpriseActionsPermissionsArrayOutput
	ToEnterpriseActionsPermissionsArrayOutputWithContext(context.Context) EnterpriseActionsPermissionsArrayOutput
}

EnterpriseActionsPermissionsArrayInput is an input type that accepts EnterpriseActionsPermissionsArray and EnterpriseActionsPermissionsArrayOutput values. You can construct a concrete instance of `EnterpriseActionsPermissionsArrayInput` via:

EnterpriseActionsPermissionsArray{ EnterpriseActionsPermissionsArgs{...} }

type EnterpriseActionsPermissionsArrayOutput added in v6.1.0

type EnterpriseActionsPermissionsArrayOutput struct{ *pulumi.OutputState }

func (EnterpriseActionsPermissionsArrayOutput) ElementType added in v6.1.0

func (EnterpriseActionsPermissionsArrayOutput) Index added in v6.1.0

func (EnterpriseActionsPermissionsArrayOutput) ToEnterpriseActionsPermissionsArrayOutput added in v6.1.0

func (o EnterpriseActionsPermissionsArrayOutput) ToEnterpriseActionsPermissionsArrayOutput() EnterpriseActionsPermissionsArrayOutput

func (EnterpriseActionsPermissionsArrayOutput) ToEnterpriseActionsPermissionsArrayOutputWithContext added in v6.1.0

func (o EnterpriseActionsPermissionsArrayOutput) ToEnterpriseActionsPermissionsArrayOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsArrayOutput

type EnterpriseActionsPermissionsEnabledOrganizationsConfig added in v6.1.0

type EnterpriseActionsPermissionsEnabledOrganizationsConfig struct {
	// List of organization IDs to enable for GitHub Actions.
	OrganizationIds []int `pulumi:"organizationIds"`
}

type EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs added in v6.1.0

type EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs struct {
	// List of organization IDs to enable for GitHub Actions.
	OrganizationIds pulumi.IntArrayInput `pulumi:"organizationIds"`
}

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs) ElementType added in v6.1.0

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigOutput added in v6.1.0

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigOutputWithContext added in v6.1.0

func (i EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput added in v6.1.0

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutputWithContext added in v6.1.0

func (i EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput

type EnterpriseActionsPermissionsEnabledOrganizationsConfigInput added in v6.1.0

type EnterpriseActionsPermissionsEnabledOrganizationsConfigInput interface {
	pulumi.Input

	ToEnterpriseActionsPermissionsEnabledOrganizationsConfigOutput() EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput
	ToEnterpriseActionsPermissionsEnabledOrganizationsConfigOutputWithContext(context.Context) EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput
}

EnterpriseActionsPermissionsEnabledOrganizationsConfigInput is an input type that accepts EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs and EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput values. You can construct a concrete instance of `EnterpriseActionsPermissionsEnabledOrganizationsConfigInput` via:

EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs{...}

type EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput added in v6.1.0

type EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput struct{ *pulumi.OutputState }

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput) ElementType added in v6.1.0

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput) OrganizationIds added in v6.1.0

List of organization IDs to enable for GitHub Actions.

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigOutput added in v6.1.0

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigOutputWithContext added in v6.1.0

func (o EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput added in v6.1.0

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutputWithContext added in v6.1.0

func (o EnterpriseActionsPermissionsEnabledOrganizationsConfigOutput) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput

type EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrInput added in v6.1.0

type EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrInput interface {
	pulumi.Input

	ToEnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput() EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput
	ToEnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutputWithContext(context.Context) EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput
}

EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrInput is an input type that accepts EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs, EnterpriseActionsPermissionsEnabledOrganizationsConfigPtr and EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput values. You can construct a concrete instance of `EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrInput` via:

        EnterpriseActionsPermissionsEnabledOrganizationsConfigArgs{...}

or:

        nil

type EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput added in v6.1.0

type EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput struct{ *pulumi.OutputState }

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput) Elem added in v6.1.0

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput) ElementType added in v6.1.0

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput) OrganizationIds added in v6.1.0

List of organization IDs to enable for GitHub Actions.

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput added in v6.1.0

func (EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutputWithContext added in v6.1.0

func (o EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput) ToEnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrOutput

type EnterpriseActionsPermissionsInput added in v6.1.0

type EnterpriseActionsPermissionsInput interface {
	pulumi.Input

	ToEnterpriseActionsPermissionsOutput() EnterpriseActionsPermissionsOutput
	ToEnterpriseActionsPermissionsOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsOutput
}

type EnterpriseActionsPermissionsMap added in v6.1.0

type EnterpriseActionsPermissionsMap map[string]EnterpriseActionsPermissionsInput

func (EnterpriseActionsPermissionsMap) ElementType added in v6.1.0

func (EnterpriseActionsPermissionsMap) ToEnterpriseActionsPermissionsMapOutput added in v6.1.0

func (i EnterpriseActionsPermissionsMap) ToEnterpriseActionsPermissionsMapOutput() EnterpriseActionsPermissionsMapOutput

func (EnterpriseActionsPermissionsMap) ToEnterpriseActionsPermissionsMapOutputWithContext added in v6.1.0

func (i EnterpriseActionsPermissionsMap) ToEnterpriseActionsPermissionsMapOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsMapOutput

type EnterpriseActionsPermissionsMapInput added in v6.1.0

type EnterpriseActionsPermissionsMapInput interface {
	pulumi.Input

	ToEnterpriseActionsPermissionsMapOutput() EnterpriseActionsPermissionsMapOutput
	ToEnterpriseActionsPermissionsMapOutputWithContext(context.Context) EnterpriseActionsPermissionsMapOutput
}

EnterpriseActionsPermissionsMapInput is an input type that accepts EnterpriseActionsPermissionsMap and EnterpriseActionsPermissionsMapOutput values. You can construct a concrete instance of `EnterpriseActionsPermissionsMapInput` via:

EnterpriseActionsPermissionsMap{ "key": EnterpriseActionsPermissionsArgs{...} }

type EnterpriseActionsPermissionsMapOutput added in v6.1.0

type EnterpriseActionsPermissionsMapOutput struct{ *pulumi.OutputState }

func (EnterpriseActionsPermissionsMapOutput) ElementType added in v6.1.0

func (EnterpriseActionsPermissionsMapOutput) MapIndex added in v6.1.0

func (EnterpriseActionsPermissionsMapOutput) ToEnterpriseActionsPermissionsMapOutput added in v6.1.0

func (o EnterpriseActionsPermissionsMapOutput) ToEnterpriseActionsPermissionsMapOutput() EnterpriseActionsPermissionsMapOutput

func (EnterpriseActionsPermissionsMapOutput) ToEnterpriseActionsPermissionsMapOutputWithContext added in v6.1.0

func (o EnterpriseActionsPermissionsMapOutput) ToEnterpriseActionsPermissionsMapOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsMapOutput

type EnterpriseActionsPermissionsOutput added in v6.1.0

type EnterpriseActionsPermissionsOutput struct{ *pulumi.OutputState }

func (EnterpriseActionsPermissionsOutput) AllowedActions added in v6.1.0

The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `localOnly`, or `selected`.

func (EnterpriseActionsPermissionsOutput) AllowedActionsConfig added in v6.1.0

Sets the actions that are allowed in an enterprise. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.

func (EnterpriseActionsPermissionsOutput) ElementType added in v6.1.0

func (EnterpriseActionsPermissionsOutput) EnabledOrganizations added in v6.1.0

func (o EnterpriseActionsPermissionsOutput) EnabledOrganizations() pulumi.StringOutput

The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`.

func (EnterpriseActionsPermissionsOutput) EnabledOrganizationsConfig added in v6.1.0

Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when `enabledOrganizations` = `selected`. See Enabled Organizations Config below for details.

func (EnterpriseActionsPermissionsOutput) EnterpriseId added in v6.1.0

The ID of the enterprise.

func (EnterpriseActionsPermissionsOutput) ToEnterpriseActionsPermissionsOutput added in v6.1.0

func (o EnterpriseActionsPermissionsOutput) ToEnterpriseActionsPermissionsOutput() EnterpriseActionsPermissionsOutput

func (EnterpriseActionsPermissionsOutput) ToEnterpriseActionsPermissionsOutputWithContext added in v6.1.0

func (o EnterpriseActionsPermissionsOutput) ToEnterpriseActionsPermissionsOutputWithContext(ctx context.Context) EnterpriseActionsPermissionsOutput

type EnterpriseActionsPermissionsState added in v6.1.0

type EnterpriseActionsPermissionsState 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 enterprise. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.
	AllowedActionsConfig EnterpriseActionsPermissionsAllowedActionsConfigPtrInput
	// The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`.
	EnabledOrganizations pulumi.StringPtrInput
	// Sets the list of selected organizations that are enabled for GitHub Actions in an enterprise. Only available when `enabledOrganizations` = `selected`. See Enabled Organizations Config below for details.
	EnabledOrganizationsConfig EnterpriseActionsPermissionsEnabledOrganizationsConfigPtrInput
	// The ID of the enterprise.
	EnterpriseId pulumi.StringPtrInput
}

func (EnterpriseActionsPermissionsState) ElementType added in v6.1.0

type EnterpriseActionsRunnerGroup added in v6.2.0

type EnterpriseActionsRunnerGroup struct {
	pulumi.CustomResourceState

	// Whether public repositories can be added to the runner group. Defaults to false.
	AllowsPublicRepositories pulumi.BoolPtrOutput `pulumi:"allowsPublicRepositories"`
	// Whether this is the default runner group
	Default pulumi.BoolOutput `pulumi:"default"`
	// The slug of the enterprise.
	EnterpriseSlug pulumi.StringOutput `pulumi:"enterpriseSlug"`
	// An etag representing the runner group object
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Name of the runner group
	Name pulumi.StringOutput `pulumi:"name"`
	// If true, the runner group will be restricted to running only the workflows specified in the selectedWorkflows array. Defaults to false.
	RestrictedToWorkflows pulumi.BoolPtrOutput `pulumi:"restrictedToWorkflows"`
	// The GitHub API URL for the runner group's runners
	RunnersUrl pulumi.StringOutput `pulumi:"runnersUrl"`
	// IDs of the organizations which should be added to the runner group
	SelectedOrganizationIds pulumi.IntArrayOutput `pulumi:"selectedOrganizationIds"`
	// The GitHub API URL for the runner group's selected organizations
	SelectedOrganizationsUrl pulumi.StringOutput `pulumi:"selectedOrganizationsUrl"`
	// List of workflows the runner group should be allowed to run. This setting will be ignored unless restrictedToWorkflows is set to true.
	SelectedWorkflows pulumi.StringArrayOutput `pulumi:"selectedWorkflows"`
	// Visibility of a runner group to enterprise organizations. Whether the runner group can include `all` or `selected`
	Visibility pulumi.StringOutput `pulumi:"visibility"`
}

This resource allows you to create and manage GitHub Actions runner groups within your GitHub enterprise. You must have admin access to an enterprise to use this resource.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		enterprise, err := github.GetEnterprise(ctx, &github.GetEnterpriseArgs{
			Slug: "my-enterprise",
		}, nil)
		if err != nil {
			return err
		}
		enterpriseOrganization, err := github.NewEnterpriseOrganization(ctx, "enterpriseOrganization", &github.EnterpriseOrganizationArgs{
			EnterpriseId: pulumi.String(enterprise.Id),
			BillingEmail: pulumi.String("octocat@octo.cat"),
			AdminLogins: pulumi.StringArray{
				pulumi.String("octocat"),
			},
		})
		if err != nil {
			return err
		}
		_, err = github.NewEnterpriseActionsRunnerGroup(ctx, "example", &github.EnterpriseActionsRunnerGroupArgs{
			EnterpriseSlug:           pulumi.String(enterprise.Slug),
			AllowsPublicRepositories: pulumi.Bool(true),
			Visibility:               pulumi.String("selected"),
			SelectedOrganizationIds: pulumi.IntArray{
				enterpriseOrganization.DatabaseId,
			},
			RestrictedToWorkflows: pulumi.Bool(true),
			SelectedWorkflows: pulumi.StringArray{
				pulumi.String("my-organization/my-repo/.github/workflows/cool-workflow.yaml@refs/tags/v1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using the enterprise slug and the ID of the runner group:

```sh $ pulumi import github:index/enterpriseActionsRunnerGroup:EnterpriseActionsRunnerGroup test enterprise-slug/42 ```

func GetEnterpriseActionsRunnerGroup added in v6.2.0

func GetEnterpriseActionsRunnerGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EnterpriseActionsRunnerGroupState, opts ...pulumi.ResourceOption) (*EnterpriseActionsRunnerGroup, error)

GetEnterpriseActionsRunnerGroup gets an existing EnterpriseActionsRunnerGroup 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 NewEnterpriseActionsRunnerGroup added in v6.2.0

func NewEnterpriseActionsRunnerGroup(ctx *pulumi.Context,
	name string, args *EnterpriseActionsRunnerGroupArgs, opts ...pulumi.ResourceOption) (*EnterpriseActionsRunnerGroup, error)

NewEnterpriseActionsRunnerGroup registers a new resource with the given unique name, arguments, and options.

func (*EnterpriseActionsRunnerGroup) ElementType added in v6.2.0

func (*EnterpriseActionsRunnerGroup) ElementType() reflect.Type

func (*EnterpriseActionsRunnerGroup) ToEnterpriseActionsRunnerGroupOutput added in v6.2.0

func (i *EnterpriseActionsRunnerGroup) ToEnterpriseActionsRunnerGroupOutput() EnterpriseActionsRunnerGroupOutput

func (*EnterpriseActionsRunnerGroup) ToEnterpriseActionsRunnerGroupOutputWithContext added in v6.2.0

func (i *EnterpriseActionsRunnerGroup) ToEnterpriseActionsRunnerGroupOutputWithContext(ctx context.Context) EnterpriseActionsRunnerGroupOutput

type EnterpriseActionsRunnerGroupArgs added in v6.2.0

type EnterpriseActionsRunnerGroupArgs struct {
	// Whether public repositories can be added to the runner group. Defaults to false.
	AllowsPublicRepositories pulumi.BoolPtrInput
	// The slug of the enterprise.
	EnterpriseSlug pulumi.StringInput
	// Name of the runner group
	Name pulumi.StringPtrInput
	// If true, the runner group will be restricted to running only the workflows specified in the selectedWorkflows array. Defaults to false.
	RestrictedToWorkflows pulumi.BoolPtrInput
	// IDs of the organizations which should be added to the runner group
	SelectedOrganizationIds pulumi.IntArrayInput
	// List of workflows the runner group should be allowed to run. This setting will be ignored unless restrictedToWorkflows is set to true.
	SelectedWorkflows pulumi.StringArrayInput
	// Visibility of a runner group to enterprise organizations. Whether the runner group can include `all` or `selected`
	Visibility pulumi.StringInput
}

The set of arguments for constructing a EnterpriseActionsRunnerGroup resource.

func (EnterpriseActionsRunnerGroupArgs) ElementType added in v6.2.0

type EnterpriseActionsRunnerGroupArray added in v6.2.0

type EnterpriseActionsRunnerGroupArray []EnterpriseActionsRunnerGroupInput

func (EnterpriseActionsRunnerGroupArray) ElementType added in v6.2.0

func (EnterpriseActionsRunnerGroupArray) ToEnterpriseActionsRunnerGroupArrayOutput added in v6.2.0

func (i EnterpriseActionsRunnerGroupArray) ToEnterpriseActionsRunnerGroupArrayOutput() EnterpriseActionsRunnerGroupArrayOutput

func (EnterpriseActionsRunnerGroupArray) ToEnterpriseActionsRunnerGroupArrayOutputWithContext added in v6.2.0

func (i EnterpriseActionsRunnerGroupArray) ToEnterpriseActionsRunnerGroupArrayOutputWithContext(ctx context.Context) EnterpriseActionsRunnerGroupArrayOutput

type EnterpriseActionsRunnerGroupArrayInput added in v6.2.0

type EnterpriseActionsRunnerGroupArrayInput interface {
	pulumi.Input

	ToEnterpriseActionsRunnerGroupArrayOutput() EnterpriseActionsRunnerGroupArrayOutput
	ToEnterpriseActionsRunnerGroupArrayOutputWithContext(context.Context) EnterpriseActionsRunnerGroupArrayOutput
}

EnterpriseActionsRunnerGroupArrayInput is an input type that accepts EnterpriseActionsRunnerGroupArray and EnterpriseActionsRunnerGroupArrayOutput values. You can construct a concrete instance of `EnterpriseActionsRunnerGroupArrayInput` via:

EnterpriseActionsRunnerGroupArray{ EnterpriseActionsRunnerGroupArgs{...} }

type EnterpriseActionsRunnerGroupArrayOutput added in v6.2.0

type EnterpriseActionsRunnerGroupArrayOutput struct{ *pulumi.OutputState }

func (EnterpriseActionsRunnerGroupArrayOutput) ElementType added in v6.2.0

func (EnterpriseActionsRunnerGroupArrayOutput) Index added in v6.2.0

func (EnterpriseActionsRunnerGroupArrayOutput) ToEnterpriseActionsRunnerGroupArrayOutput added in v6.2.0

func (o EnterpriseActionsRunnerGroupArrayOutput) ToEnterpriseActionsRunnerGroupArrayOutput() EnterpriseActionsRunnerGroupArrayOutput

func (EnterpriseActionsRunnerGroupArrayOutput) ToEnterpriseActionsRunnerGroupArrayOutputWithContext added in v6.2.0

func (o EnterpriseActionsRunnerGroupArrayOutput) ToEnterpriseActionsRunnerGroupArrayOutputWithContext(ctx context.Context) EnterpriseActionsRunnerGroupArrayOutput

type EnterpriseActionsRunnerGroupInput added in v6.2.0

type EnterpriseActionsRunnerGroupInput interface {
	pulumi.Input

	ToEnterpriseActionsRunnerGroupOutput() EnterpriseActionsRunnerGroupOutput
	ToEnterpriseActionsRunnerGroupOutputWithContext(ctx context.Context) EnterpriseActionsRunnerGroupOutput
}

type EnterpriseActionsRunnerGroupMap added in v6.2.0

type EnterpriseActionsRunnerGroupMap map[string]EnterpriseActionsRunnerGroupInput

func (EnterpriseActionsRunnerGroupMap) ElementType added in v6.2.0

func (EnterpriseActionsRunnerGroupMap) ToEnterpriseActionsRunnerGroupMapOutput added in v6.2.0

func (i EnterpriseActionsRunnerGroupMap) ToEnterpriseActionsRunnerGroupMapOutput() EnterpriseActionsRunnerGroupMapOutput

func (EnterpriseActionsRunnerGroupMap) ToEnterpriseActionsRunnerGroupMapOutputWithContext added in v6.2.0

func (i EnterpriseActionsRunnerGroupMap) ToEnterpriseActionsRunnerGroupMapOutputWithContext(ctx context.Context) EnterpriseActionsRunnerGroupMapOutput

type EnterpriseActionsRunnerGroupMapInput added in v6.2.0

type EnterpriseActionsRunnerGroupMapInput interface {
	pulumi.Input

	ToEnterpriseActionsRunnerGroupMapOutput() EnterpriseActionsRunnerGroupMapOutput
	ToEnterpriseActionsRunnerGroupMapOutputWithContext(context.Context) EnterpriseActionsRunnerGroupMapOutput
}

EnterpriseActionsRunnerGroupMapInput is an input type that accepts EnterpriseActionsRunnerGroupMap and EnterpriseActionsRunnerGroupMapOutput values. You can construct a concrete instance of `EnterpriseActionsRunnerGroupMapInput` via:

EnterpriseActionsRunnerGroupMap{ "key": EnterpriseActionsRunnerGroupArgs{...} }

type EnterpriseActionsRunnerGroupMapOutput added in v6.2.0

type EnterpriseActionsRunnerGroupMapOutput struct{ *pulumi.OutputState }

func (EnterpriseActionsRunnerGroupMapOutput) ElementType added in v6.2.0

func (EnterpriseActionsRunnerGroupMapOutput) MapIndex added in v6.2.0

func (EnterpriseActionsRunnerGroupMapOutput) ToEnterpriseActionsRunnerGroupMapOutput added in v6.2.0

func (o EnterpriseActionsRunnerGroupMapOutput) ToEnterpriseActionsRunnerGroupMapOutput() EnterpriseActionsRunnerGroupMapOutput

func (EnterpriseActionsRunnerGroupMapOutput) ToEnterpriseActionsRunnerGroupMapOutputWithContext added in v6.2.0

func (o EnterpriseActionsRunnerGroupMapOutput) ToEnterpriseActionsRunnerGroupMapOutputWithContext(ctx context.Context) EnterpriseActionsRunnerGroupMapOutput

type EnterpriseActionsRunnerGroupOutput added in v6.2.0

type EnterpriseActionsRunnerGroupOutput struct{ *pulumi.OutputState }

func (EnterpriseActionsRunnerGroupOutput) AllowsPublicRepositories added in v6.2.0

func (o EnterpriseActionsRunnerGroupOutput) AllowsPublicRepositories() pulumi.BoolPtrOutput

Whether public repositories can be added to the runner group. Defaults to false.

func (EnterpriseActionsRunnerGroupOutput) Default added in v6.2.0

Whether this is the default runner group

func (EnterpriseActionsRunnerGroupOutput) ElementType added in v6.2.0

func (EnterpriseActionsRunnerGroupOutput) EnterpriseSlug added in v6.2.0

The slug of the enterprise.

func (EnterpriseActionsRunnerGroupOutput) Etag added in v6.2.0

An etag representing the runner group object

func (EnterpriseActionsRunnerGroupOutput) Name added in v6.2.0

Name of the runner group

func (EnterpriseActionsRunnerGroupOutput) RestrictedToWorkflows added in v6.2.0

func (o EnterpriseActionsRunnerGroupOutput) RestrictedToWorkflows() pulumi.BoolPtrOutput

If true, the runner group will be restricted to running only the workflows specified in the selectedWorkflows array. Defaults to false.

func (EnterpriseActionsRunnerGroupOutput) RunnersUrl added in v6.2.0

The GitHub API URL for the runner group's runners

func (EnterpriseActionsRunnerGroupOutput) SelectedOrganizationIds added in v6.2.0

func (o EnterpriseActionsRunnerGroupOutput) SelectedOrganizationIds() pulumi.IntArrayOutput

IDs of the organizations which should be added to the runner group

func (EnterpriseActionsRunnerGroupOutput) SelectedOrganizationsUrl added in v6.2.0

func (o EnterpriseActionsRunnerGroupOutput) SelectedOrganizationsUrl() pulumi.StringOutput

The GitHub API URL for the runner group's selected organizations

func (EnterpriseActionsRunnerGroupOutput) SelectedWorkflows added in v6.2.0

List of workflows the runner group should be allowed to run. This setting will be ignored unless restrictedToWorkflows is set to true.

func (EnterpriseActionsRunnerGroupOutput) ToEnterpriseActionsRunnerGroupOutput added in v6.2.0

func (o EnterpriseActionsRunnerGroupOutput) ToEnterpriseActionsRunnerGroupOutput() EnterpriseActionsRunnerGroupOutput

func (EnterpriseActionsRunnerGroupOutput) ToEnterpriseActionsRunnerGroupOutputWithContext added in v6.2.0

func (o EnterpriseActionsRunnerGroupOutput) ToEnterpriseActionsRunnerGroupOutputWithContext(ctx context.Context) EnterpriseActionsRunnerGroupOutput

func (EnterpriseActionsRunnerGroupOutput) Visibility added in v6.2.0

Visibility of a runner group to enterprise organizations. Whether the runner group can include `all` or `selected`

type EnterpriseActionsRunnerGroupState added in v6.2.0

type EnterpriseActionsRunnerGroupState struct {
	// Whether public repositories can be added to the runner group. Defaults to false.
	AllowsPublicRepositories pulumi.BoolPtrInput
	// Whether this is the default runner group
	Default pulumi.BoolPtrInput
	// The slug of the enterprise.
	EnterpriseSlug pulumi.StringPtrInput
	// An etag representing the runner group object
	Etag pulumi.StringPtrInput
	// Name of the runner group
	Name pulumi.StringPtrInput
	// If true, the runner group will be restricted to running only the workflows specified in the selectedWorkflows array. Defaults to false.
	RestrictedToWorkflows pulumi.BoolPtrInput
	// The GitHub API URL for the runner group's runners
	RunnersUrl pulumi.StringPtrInput
	// IDs of the organizations which should be added to the runner group
	SelectedOrganizationIds pulumi.IntArrayInput
	// The GitHub API URL for the runner group's selected organizations
	SelectedOrganizationsUrl pulumi.StringPtrInput
	// List of workflows the runner group should be allowed to run. This setting will be ignored unless restrictedToWorkflows is set to true.
	SelectedWorkflows pulumi.StringArrayInput
	// Visibility of a runner group to enterprise organizations. Whether the runner group can include `all` or `selected`
	Visibility pulumi.StringPtrInput
}

func (EnterpriseActionsRunnerGroupState) ElementType added in v6.2.0

type EnterpriseOrganization

type EnterpriseOrganization struct {
	pulumi.CustomResourceState

	// List of organization owner usernames.
	AdminLogins pulumi.StringArrayOutput `pulumi:"adminLogins"`
	// The billing email address.
	BillingEmail pulumi.StringOutput `pulumi:"billingEmail"`
	// The ID of the organization.
	DatabaseId pulumi.IntOutput `pulumi:"databaseId"`
	// The description of the organization.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The display name of the organization.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The ID of the enterprise.
	EnterpriseId pulumi.StringOutput `pulumi:"enterpriseId"`
	// The name of the organization.
	Name pulumi.StringOutput `pulumi:"name"`
}

This resource allows you to create and manage a GitHub enterprise organization.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.NewEnterpriseOrganization(ctx, "org", &github.EnterpriseOrganizationArgs{
			EnterpriseId: pulumi.Any(data.Github_enterprise.Enterprise.Id),
			DisplayName:  pulumi.String("Some Awesome Org"),
			Description:  pulumi.String("Organization created with terraform"),
			BillingEmail: pulumi.String("jon@winteriscoming.com"),
			AdminLogins: pulumi.StringArray{
				pulumi.String("jon-snow"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

GitHub Enterprise Organization can be imported using the `slug` of the enterprise, combined with the `orgname` of the organization, separated by a `/` character.

```sh $ pulumi import github:index/enterpriseOrganization:EnterpriseOrganization org enterp/some-awesome-org ```

func GetEnterpriseOrganization

func GetEnterpriseOrganization(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EnterpriseOrganizationState, opts ...pulumi.ResourceOption) (*EnterpriseOrganization, error)

GetEnterpriseOrganization gets an existing EnterpriseOrganization 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 NewEnterpriseOrganization

func NewEnterpriseOrganization(ctx *pulumi.Context,
	name string, args *EnterpriseOrganizationArgs, opts ...pulumi.ResourceOption) (*EnterpriseOrganization, error)

NewEnterpriseOrganization registers a new resource with the given unique name, arguments, and options.

func (*EnterpriseOrganization) ElementType

func (*EnterpriseOrganization) ElementType() reflect.Type

func (*EnterpriseOrganization) ToEnterpriseOrganizationOutput

func (i *EnterpriseOrganization) ToEnterpriseOrganizationOutput() EnterpriseOrganizationOutput

func (*EnterpriseOrganization) ToEnterpriseOrganizationOutputWithContext

func (i *EnterpriseOrganization) ToEnterpriseOrganizationOutputWithContext(ctx context.Context) EnterpriseOrganizationOutput

type EnterpriseOrganizationArgs

type EnterpriseOrganizationArgs struct {
	// List of organization owner usernames.
	AdminLogins pulumi.StringArrayInput
	// The billing email address.
	BillingEmail pulumi.StringInput
	// The description of the organization.
	Description pulumi.StringPtrInput
	// The display name of the organization.
	DisplayName pulumi.StringPtrInput
	// The ID of the enterprise.
	EnterpriseId pulumi.StringInput
	// The name of the organization.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a EnterpriseOrganization resource.

func (EnterpriseOrganizationArgs) ElementType

func (EnterpriseOrganizationArgs) ElementType() reflect.Type

type EnterpriseOrganizationArray

type EnterpriseOrganizationArray []EnterpriseOrganizationInput

func (EnterpriseOrganizationArray) ElementType

func (EnterpriseOrganizationArray) ToEnterpriseOrganizationArrayOutput

func (i EnterpriseOrganizationArray) ToEnterpriseOrganizationArrayOutput() EnterpriseOrganizationArrayOutput

func (EnterpriseOrganizationArray) ToEnterpriseOrganizationArrayOutputWithContext

func (i EnterpriseOrganizationArray) ToEnterpriseOrganizationArrayOutputWithContext(ctx context.Context) EnterpriseOrganizationArrayOutput

type EnterpriseOrganizationArrayInput

type EnterpriseOrganizationArrayInput interface {
	pulumi.Input

	ToEnterpriseOrganizationArrayOutput() EnterpriseOrganizationArrayOutput
	ToEnterpriseOrganizationArrayOutputWithContext(context.Context) EnterpriseOrganizationArrayOutput
}

EnterpriseOrganizationArrayInput is an input type that accepts EnterpriseOrganizationArray and EnterpriseOrganizationArrayOutput values. You can construct a concrete instance of `EnterpriseOrganizationArrayInput` via:

EnterpriseOrganizationArray{ EnterpriseOrganizationArgs{...} }

type EnterpriseOrganizationArrayOutput

type EnterpriseOrganizationArrayOutput struct{ *pulumi.OutputState }

func (EnterpriseOrganizationArrayOutput) ElementType

func (EnterpriseOrganizationArrayOutput) Index

func (EnterpriseOrganizationArrayOutput) ToEnterpriseOrganizationArrayOutput

func (o EnterpriseOrganizationArrayOutput) ToEnterpriseOrganizationArrayOutput() EnterpriseOrganizationArrayOutput

func (EnterpriseOrganizationArrayOutput) ToEnterpriseOrganizationArrayOutputWithContext

func (o EnterpriseOrganizationArrayOutput) ToEnterpriseOrganizationArrayOutputWithContext(ctx context.Context) EnterpriseOrganizationArrayOutput

type EnterpriseOrganizationInput

type EnterpriseOrganizationInput interface {
	pulumi.Input

	ToEnterpriseOrganizationOutput() EnterpriseOrganizationOutput
	ToEnterpriseOrganizationOutputWithContext(ctx context.Context) EnterpriseOrganizationOutput
}

type EnterpriseOrganizationMap

type EnterpriseOrganizationMap map[string]EnterpriseOrganizationInput

func (EnterpriseOrganizationMap) ElementType

func (EnterpriseOrganizationMap) ElementType() reflect.Type

func (EnterpriseOrganizationMap) ToEnterpriseOrganizationMapOutput

func (i EnterpriseOrganizationMap) ToEnterpriseOrganizationMapOutput() EnterpriseOrganizationMapOutput

func (EnterpriseOrganizationMap) ToEnterpriseOrganizationMapOutputWithContext

func (i EnterpriseOrganizationMap) ToEnterpriseOrganizationMapOutputWithContext(ctx context.Context) EnterpriseOrganizationMapOutput

type EnterpriseOrganizationMapInput

type EnterpriseOrganizationMapInput interface {
	pulumi.Input

	ToEnterpriseOrganizationMapOutput() EnterpriseOrganizationMapOutput
	ToEnterpriseOrganizationMapOutputWithContext(context.Context) EnterpriseOrganizationMapOutput
}

EnterpriseOrganizationMapInput is an input type that accepts EnterpriseOrganizationMap and EnterpriseOrganizationMapOutput values. You can construct a concrete instance of `EnterpriseOrganizationMapInput` via:

EnterpriseOrganizationMap{ "key": EnterpriseOrganizationArgs{...} }

type EnterpriseOrganizationMapOutput

type EnterpriseOrganizationMapOutput struct{ *pulumi.OutputState }

func (EnterpriseOrganizationMapOutput) ElementType

func (EnterpriseOrganizationMapOutput) MapIndex

func (EnterpriseOrganizationMapOutput) ToEnterpriseOrganizationMapOutput

func (o EnterpriseOrganizationMapOutput) ToEnterpriseOrganizationMapOutput() EnterpriseOrganizationMapOutput

func (EnterpriseOrganizationMapOutput) ToEnterpriseOrganizationMapOutputWithContext

func (o EnterpriseOrganizationMapOutput) ToEnterpriseOrganizationMapOutputWithContext(ctx context.Context) EnterpriseOrganizationMapOutput

type EnterpriseOrganizationOutput

type EnterpriseOrganizationOutput struct{ *pulumi.OutputState }

func (EnterpriseOrganizationOutput) AdminLogins

List of organization owner usernames.

func (EnterpriseOrganizationOutput) BillingEmail

The billing email address.

func (EnterpriseOrganizationOutput) DatabaseId added in v6.2.0

The ID of the organization.

func (EnterpriseOrganizationOutput) Description

The description of the organization.

func (EnterpriseOrganizationOutput) DisplayName

The display name of the organization.

func (EnterpriseOrganizationOutput) ElementType

func (EnterpriseOrganizationOutput) EnterpriseId

The ID of the enterprise.

func (EnterpriseOrganizationOutput) Name

The name of the organization.

func (EnterpriseOrganizationOutput) ToEnterpriseOrganizationOutput

func (o EnterpriseOrganizationOutput) ToEnterpriseOrganizationOutput() EnterpriseOrganizationOutput

func (EnterpriseOrganizationOutput) ToEnterpriseOrganizationOutputWithContext

func (o EnterpriseOrganizationOutput) ToEnterpriseOrganizationOutputWithContext(ctx context.Context) EnterpriseOrganizationOutput

type EnterpriseOrganizationState

type EnterpriseOrganizationState struct {
	// List of organization owner usernames.
	AdminLogins pulumi.StringArrayInput
	// The billing email address.
	BillingEmail pulumi.StringPtrInput
	// The ID of the organization.
	DatabaseId pulumi.IntPtrInput
	// The description of the organization.
	Description pulumi.StringPtrInput
	// The display name of the organization.
	DisplayName pulumi.StringPtrInput
	// The ID of the enterprise.
	EnterpriseId pulumi.StringPtrInput
	// The name of the organization.
	Name pulumi.StringPtrInput
}

func (EnterpriseOrganizationState) ElementType

type GetActionsEnvironmentSecretsArgs

type GetActionsEnvironmentSecretsArgs struct {
	Environment string  `pulumi:"environment"`
	FullName    *string `pulumi:"fullName"`
	// Name of the secret
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getActionsEnvironmentSecrets.

type GetActionsEnvironmentSecretsOutputArgs

type GetActionsEnvironmentSecretsOutputArgs struct {
	Environment pulumi.StringInput    `pulumi:"environment"`
	FullName    pulumi.StringPtrInput `pulumi:"fullName"`
	// Name of the secret
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getActionsEnvironmentSecrets.

func (GetActionsEnvironmentSecretsOutputArgs) ElementType

type GetActionsEnvironmentSecretsResult

type GetActionsEnvironmentSecretsResult struct {
	Environment string `pulumi:"environment"`
	FullName    string `pulumi:"fullName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Name of the secret
	Name string `pulumi:"name"`
	// list of secrets for the environment
	Secrets []GetActionsEnvironmentSecretsSecret `pulumi:"secrets"`
}

A collection of values returned by getActionsEnvironmentSecrets.

func GetActionsEnvironmentSecrets

func GetActionsEnvironmentSecrets(ctx *pulumi.Context, args *GetActionsEnvironmentSecretsArgs, opts ...pulumi.InvokeOption) (*GetActionsEnvironmentSecretsResult, error)

Use this data source to retrieve the list of secrets of the repository environment.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetActionsEnvironmentSecrets(ctx, &github.GetActionsEnvironmentSecretsArgs{
			Environment: "exampleEnvironment",
			Name:        pulumi.StringRef("exampleRepo"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetActionsEnvironmentSecretsResultOutput

type GetActionsEnvironmentSecretsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getActionsEnvironmentSecrets.

func (GetActionsEnvironmentSecretsResultOutput) ElementType

func (GetActionsEnvironmentSecretsResultOutput) Environment

func (GetActionsEnvironmentSecretsResultOutput) FullName

func (GetActionsEnvironmentSecretsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetActionsEnvironmentSecretsResultOutput) Name

Name of the secret

func (GetActionsEnvironmentSecretsResultOutput) Secrets

list of secrets for the environment

func (GetActionsEnvironmentSecretsResultOutput) ToGetActionsEnvironmentSecretsResultOutput

func (o GetActionsEnvironmentSecretsResultOutput) ToGetActionsEnvironmentSecretsResultOutput() GetActionsEnvironmentSecretsResultOutput

func (GetActionsEnvironmentSecretsResultOutput) ToGetActionsEnvironmentSecretsResultOutputWithContext

func (o GetActionsEnvironmentSecretsResultOutput) ToGetActionsEnvironmentSecretsResultOutputWithContext(ctx context.Context) GetActionsEnvironmentSecretsResultOutput

type GetActionsEnvironmentSecretsSecret

type GetActionsEnvironmentSecretsSecret struct {
	// Timestamp of the secret creation
	CreatedAt string `pulumi:"createdAt"`
	// Name of the secret
	Name string `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt string `pulumi:"updatedAt"`
}

type GetActionsEnvironmentSecretsSecretArgs

type GetActionsEnvironmentSecretsSecretArgs struct {
	// Timestamp of the secret creation
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// Name of the secret
	Name pulumi.StringInput `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
}

func (GetActionsEnvironmentSecretsSecretArgs) ElementType

func (GetActionsEnvironmentSecretsSecretArgs) ToGetActionsEnvironmentSecretsSecretOutput

func (i GetActionsEnvironmentSecretsSecretArgs) ToGetActionsEnvironmentSecretsSecretOutput() GetActionsEnvironmentSecretsSecretOutput

func (GetActionsEnvironmentSecretsSecretArgs) ToGetActionsEnvironmentSecretsSecretOutputWithContext

func (i GetActionsEnvironmentSecretsSecretArgs) ToGetActionsEnvironmentSecretsSecretOutputWithContext(ctx context.Context) GetActionsEnvironmentSecretsSecretOutput

type GetActionsEnvironmentSecretsSecretArray

type GetActionsEnvironmentSecretsSecretArray []GetActionsEnvironmentSecretsSecretInput

func (GetActionsEnvironmentSecretsSecretArray) ElementType

func (GetActionsEnvironmentSecretsSecretArray) ToGetActionsEnvironmentSecretsSecretArrayOutput

func (i GetActionsEnvironmentSecretsSecretArray) ToGetActionsEnvironmentSecretsSecretArrayOutput() GetActionsEnvironmentSecretsSecretArrayOutput

func (GetActionsEnvironmentSecretsSecretArray) ToGetActionsEnvironmentSecretsSecretArrayOutputWithContext

func (i GetActionsEnvironmentSecretsSecretArray) ToGetActionsEnvironmentSecretsSecretArrayOutputWithContext(ctx context.Context) GetActionsEnvironmentSecretsSecretArrayOutput

type GetActionsEnvironmentSecretsSecretArrayInput

type GetActionsEnvironmentSecretsSecretArrayInput interface {
	pulumi.Input

	ToGetActionsEnvironmentSecretsSecretArrayOutput() GetActionsEnvironmentSecretsSecretArrayOutput
	ToGetActionsEnvironmentSecretsSecretArrayOutputWithContext(context.Context) GetActionsEnvironmentSecretsSecretArrayOutput
}

GetActionsEnvironmentSecretsSecretArrayInput is an input type that accepts GetActionsEnvironmentSecretsSecretArray and GetActionsEnvironmentSecretsSecretArrayOutput values. You can construct a concrete instance of `GetActionsEnvironmentSecretsSecretArrayInput` via:

GetActionsEnvironmentSecretsSecretArray{ GetActionsEnvironmentSecretsSecretArgs{...} }

type GetActionsEnvironmentSecretsSecretArrayOutput

type GetActionsEnvironmentSecretsSecretArrayOutput struct{ *pulumi.OutputState }

func (GetActionsEnvironmentSecretsSecretArrayOutput) ElementType

func (GetActionsEnvironmentSecretsSecretArrayOutput) Index

func (GetActionsEnvironmentSecretsSecretArrayOutput) ToGetActionsEnvironmentSecretsSecretArrayOutput

func (o GetActionsEnvironmentSecretsSecretArrayOutput) ToGetActionsEnvironmentSecretsSecretArrayOutput() GetActionsEnvironmentSecretsSecretArrayOutput

func (GetActionsEnvironmentSecretsSecretArrayOutput) ToGetActionsEnvironmentSecretsSecretArrayOutputWithContext

func (o GetActionsEnvironmentSecretsSecretArrayOutput) ToGetActionsEnvironmentSecretsSecretArrayOutputWithContext(ctx context.Context) GetActionsEnvironmentSecretsSecretArrayOutput

type GetActionsEnvironmentSecretsSecretInput

type GetActionsEnvironmentSecretsSecretInput interface {
	pulumi.Input

	ToGetActionsEnvironmentSecretsSecretOutput() GetActionsEnvironmentSecretsSecretOutput
	ToGetActionsEnvironmentSecretsSecretOutputWithContext(context.Context) GetActionsEnvironmentSecretsSecretOutput
}

GetActionsEnvironmentSecretsSecretInput is an input type that accepts GetActionsEnvironmentSecretsSecretArgs and GetActionsEnvironmentSecretsSecretOutput values. You can construct a concrete instance of `GetActionsEnvironmentSecretsSecretInput` via:

GetActionsEnvironmentSecretsSecretArgs{...}

type GetActionsEnvironmentSecretsSecretOutput

type GetActionsEnvironmentSecretsSecretOutput struct{ *pulumi.OutputState }

func (GetActionsEnvironmentSecretsSecretOutput) CreatedAt

Timestamp of the secret creation

func (GetActionsEnvironmentSecretsSecretOutput) ElementType

func (GetActionsEnvironmentSecretsSecretOutput) Name

Name of the secret

func (GetActionsEnvironmentSecretsSecretOutput) ToGetActionsEnvironmentSecretsSecretOutput

func (o GetActionsEnvironmentSecretsSecretOutput) ToGetActionsEnvironmentSecretsSecretOutput() GetActionsEnvironmentSecretsSecretOutput

func (GetActionsEnvironmentSecretsSecretOutput) ToGetActionsEnvironmentSecretsSecretOutputWithContext

func (o GetActionsEnvironmentSecretsSecretOutput) ToGetActionsEnvironmentSecretsSecretOutputWithContext(ctx context.Context) GetActionsEnvironmentSecretsSecretOutput

func (GetActionsEnvironmentSecretsSecretOutput) UpdatedAt

Timestamp of the secret last update

type GetActionsEnvironmentVariablesArgs

type GetActionsEnvironmentVariablesArgs struct {
	Environment string  `pulumi:"environment"`
	FullName    *string `pulumi:"fullName"`
	// Name of the variable
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getActionsEnvironmentVariables.

type GetActionsEnvironmentVariablesOutputArgs

type GetActionsEnvironmentVariablesOutputArgs struct {
	Environment pulumi.StringInput    `pulumi:"environment"`
	FullName    pulumi.StringPtrInput `pulumi:"fullName"`
	// Name of the variable
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getActionsEnvironmentVariables.

func (GetActionsEnvironmentVariablesOutputArgs) ElementType

type GetActionsEnvironmentVariablesResult

type GetActionsEnvironmentVariablesResult struct {
	Environment string `pulumi:"environment"`
	FullName    string `pulumi:"fullName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Name of the variable
	Name string `pulumi:"name"`
	// list of variables for the environment
	Variables []GetActionsEnvironmentVariablesVariable `pulumi:"variables"`
}

A collection of values returned by getActionsEnvironmentVariables.

func GetActionsEnvironmentVariables

Use this data source to retrieve the list of variables of the repository environment.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetActionsEnvironmentVariables(ctx, &github.GetActionsEnvironmentVariablesArgs{
			Environment: "exampleEnvironment",
			Name:        pulumi.StringRef("exampleRepo"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetActionsEnvironmentVariablesResultOutput

type GetActionsEnvironmentVariablesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getActionsEnvironmentVariables.

func (GetActionsEnvironmentVariablesResultOutput) ElementType

func (GetActionsEnvironmentVariablesResultOutput) Environment

func (GetActionsEnvironmentVariablesResultOutput) FullName

func (GetActionsEnvironmentVariablesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetActionsEnvironmentVariablesResultOutput) Name

Name of the variable

func (GetActionsEnvironmentVariablesResultOutput) ToGetActionsEnvironmentVariablesResultOutput

func (o GetActionsEnvironmentVariablesResultOutput) ToGetActionsEnvironmentVariablesResultOutput() GetActionsEnvironmentVariablesResultOutput

func (GetActionsEnvironmentVariablesResultOutput) ToGetActionsEnvironmentVariablesResultOutputWithContext

func (o GetActionsEnvironmentVariablesResultOutput) ToGetActionsEnvironmentVariablesResultOutputWithContext(ctx context.Context) GetActionsEnvironmentVariablesResultOutput

func (GetActionsEnvironmentVariablesResultOutput) Variables

list of variables for the environment

type GetActionsEnvironmentVariablesVariable

type GetActionsEnvironmentVariablesVariable struct {
	// Timestamp of the variable creation
	CreatedAt string `pulumi:"createdAt"`
	// Name of the variable
	Name string `pulumi:"name"`
	// Timestamp of the variable last update
	UpdatedAt string `pulumi:"updatedAt"`
	// Value of the variable
	Value string `pulumi:"value"`
}

type GetActionsEnvironmentVariablesVariableArgs

type GetActionsEnvironmentVariablesVariableArgs struct {
	// Timestamp of the variable creation
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// Name of the variable
	Name pulumi.StringInput `pulumi:"name"`
	// Timestamp of the variable last update
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// Value of the variable
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetActionsEnvironmentVariablesVariableArgs) ElementType

func (GetActionsEnvironmentVariablesVariableArgs) ToGetActionsEnvironmentVariablesVariableOutput

func (i GetActionsEnvironmentVariablesVariableArgs) ToGetActionsEnvironmentVariablesVariableOutput() GetActionsEnvironmentVariablesVariableOutput

func (GetActionsEnvironmentVariablesVariableArgs) ToGetActionsEnvironmentVariablesVariableOutputWithContext

func (i GetActionsEnvironmentVariablesVariableArgs) ToGetActionsEnvironmentVariablesVariableOutputWithContext(ctx context.Context) GetActionsEnvironmentVariablesVariableOutput

type GetActionsEnvironmentVariablesVariableArray

type GetActionsEnvironmentVariablesVariableArray []GetActionsEnvironmentVariablesVariableInput

func (GetActionsEnvironmentVariablesVariableArray) ElementType

func (GetActionsEnvironmentVariablesVariableArray) ToGetActionsEnvironmentVariablesVariableArrayOutput

func (i GetActionsEnvironmentVariablesVariableArray) ToGetActionsEnvironmentVariablesVariableArrayOutput() GetActionsEnvironmentVariablesVariableArrayOutput

func (GetActionsEnvironmentVariablesVariableArray) ToGetActionsEnvironmentVariablesVariableArrayOutputWithContext

func (i GetActionsEnvironmentVariablesVariableArray) ToGetActionsEnvironmentVariablesVariableArrayOutputWithContext(ctx context.Context) GetActionsEnvironmentVariablesVariableArrayOutput

type GetActionsEnvironmentVariablesVariableArrayInput

type GetActionsEnvironmentVariablesVariableArrayInput interface {
	pulumi.Input

	ToGetActionsEnvironmentVariablesVariableArrayOutput() GetActionsEnvironmentVariablesVariableArrayOutput
	ToGetActionsEnvironmentVariablesVariableArrayOutputWithContext(context.Context) GetActionsEnvironmentVariablesVariableArrayOutput
}

GetActionsEnvironmentVariablesVariableArrayInput is an input type that accepts GetActionsEnvironmentVariablesVariableArray and GetActionsEnvironmentVariablesVariableArrayOutput values. You can construct a concrete instance of `GetActionsEnvironmentVariablesVariableArrayInput` via:

GetActionsEnvironmentVariablesVariableArray{ GetActionsEnvironmentVariablesVariableArgs{...} }

type GetActionsEnvironmentVariablesVariableArrayOutput

type GetActionsEnvironmentVariablesVariableArrayOutput struct{ *pulumi.OutputState }

func (GetActionsEnvironmentVariablesVariableArrayOutput) ElementType

func (GetActionsEnvironmentVariablesVariableArrayOutput) Index

func (GetActionsEnvironmentVariablesVariableArrayOutput) ToGetActionsEnvironmentVariablesVariableArrayOutput

func (o GetActionsEnvironmentVariablesVariableArrayOutput) ToGetActionsEnvironmentVariablesVariableArrayOutput() GetActionsEnvironmentVariablesVariableArrayOutput

func (GetActionsEnvironmentVariablesVariableArrayOutput) ToGetActionsEnvironmentVariablesVariableArrayOutputWithContext

func (o GetActionsEnvironmentVariablesVariableArrayOutput) ToGetActionsEnvironmentVariablesVariableArrayOutputWithContext(ctx context.Context) GetActionsEnvironmentVariablesVariableArrayOutput

type GetActionsEnvironmentVariablesVariableInput

type GetActionsEnvironmentVariablesVariableInput interface {
	pulumi.Input

	ToGetActionsEnvironmentVariablesVariableOutput() GetActionsEnvironmentVariablesVariableOutput
	ToGetActionsEnvironmentVariablesVariableOutputWithContext(context.Context) GetActionsEnvironmentVariablesVariableOutput
}

GetActionsEnvironmentVariablesVariableInput is an input type that accepts GetActionsEnvironmentVariablesVariableArgs and GetActionsEnvironmentVariablesVariableOutput values. You can construct a concrete instance of `GetActionsEnvironmentVariablesVariableInput` via:

GetActionsEnvironmentVariablesVariableArgs{...}

type GetActionsEnvironmentVariablesVariableOutput

type GetActionsEnvironmentVariablesVariableOutput struct{ *pulumi.OutputState }

func (GetActionsEnvironmentVariablesVariableOutput) CreatedAt

Timestamp of the variable creation

func (GetActionsEnvironmentVariablesVariableOutput) ElementType

func (GetActionsEnvironmentVariablesVariableOutput) Name

Name of the variable

func (GetActionsEnvironmentVariablesVariableOutput) ToGetActionsEnvironmentVariablesVariableOutput

func (o GetActionsEnvironmentVariablesVariableOutput) ToGetActionsEnvironmentVariablesVariableOutput() GetActionsEnvironmentVariablesVariableOutput

func (GetActionsEnvironmentVariablesVariableOutput) ToGetActionsEnvironmentVariablesVariableOutputWithContext

func (o GetActionsEnvironmentVariablesVariableOutput) ToGetActionsEnvironmentVariablesVariableOutputWithContext(ctx context.Context) GetActionsEnvironmentVariablesVariableOutput

func (GetActionsEnvironmentVariablesVariableOutput) UpdatedAt

Timestamp of the variable last update

func (GetActionsEnvironmentVariablesVariableOutput) Value

Value of the variable

type GetActionsOrganizationPublicKeyResult

type GetActionsOrganizationPublicKeyResult 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"`
}

A collection of values returned by getActionsOrganizationPublicKey.

func GetActionsOrganizationPublicKey

func GetActionsOrganizationPublicKey(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetActionsOrganizationPublicKeyResult, error)

Use this data source to retrieve information about a GitHub Actions Organization 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 an organization to retrieve it's action public key.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetActionsOrganizationPublicKey(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetActionsOrganizationPublicKeyResultOutput

type GetActionsOrganizationPublicKeyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getActionsOrganizationPublicKey.

func (GetActionsOrganizationPublicKeyResultOutput) ElementType

func (GetActionsOrganizationPublicKeyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetActionsOrganizationPublicKeyResultOutput) Key

Actual key retrieved.

func (GetActionsOrganizationPublicKeyResultOutput) KeyId

ID of the key that has been retrieved.

func (GetActionsOrganizationPublicKeyResultOutput) ToGetActionsOrganizationPublicKeyResultOutput

func (o GetActionsOrganizationPublicKeyResultOutput) ToGetActionsOrganizationPublicKeyResultOutput() GetActionsOrganizationPublicKeyResultOutput

func (GetActionsOrganizationPublicKeyResultOutput) ToGetActionsOrganizationPublicKeyResultOutputWithContext

func (o GetActionsOrganizationPublicKeyResultOutput) ToGetActionsOrganizationPublicKeyResultOutputWithContext(ctx context.Context) GetActionsOrganizationPublicKeyResultOutput

type GetActionsOrganizationRegistrationTokenResult

type GetActionsOrganizationRegistrationTokenResult struct {
	// The token expiration date.
	ExpiresAt int `pulumi:"expiresAt"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The token that has been retrieved.
	Token string `pulumi:"token"`
}

A collection of values returned by getActionsOrganizationRegistrationToken.

func GetActionsOrganizationRegistrationToken

func GetActionsOrganizationRegistrationToken(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetActionsOrganizationRegistrationTokenResult, error)

Use this data source to retrieve a GitHub Actions organization registration token. This token can then be used to register a self-hosted runner.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetActionsOrganizationRegistrationToken(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetActionsOrganizationRegistrationTokenResultOutput

type GetActionsOrganizationRegistrationTokenResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getActionsOrganizationRegistrationToken.

func (GetActionsOrganizationRegistrationTokenResultOutput) ElementType

func (GetActionsOrganizationRegistrationTokenResultOutput) ExpiresAt

The token expiration date.

func (GetActionsOrganizationRegistrationTokenResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetActionsOrganizationRegistrationTokenResultOutput) ToGetActionsOrganizationRegistrationTokenResultOutput

func (o GetActionsOrganizationRegistrationTokenResultOutput) ToGetActionsOrganizationRegistrationTokenResultOutput() GetActionsOrganizationRegistrationTokenResultOutput

func (GetActionsOrganizationRegistrationTokenResultOutput) ToGetActionsOrganizationRegistrationTokenResultOutputWithContext

func (o GetActionsOrganizationRegistrationTokenResultOutput) ToGetActionsOrganizationRegistrationTokenResultOutputWithContext(ctx context.Context) GetActionsOrganizationRegistrationTokenResultOutput

func (GetActionsOrganizationRegistrationTokenResultOutput) Token

The token that has been retrieved.

type GetActionsOrganizationSecretsResult

type GetActionsOrganizationSecretsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// list of secrets for the repository
	Secrets []GetActionsOrganizationSecretsSecret `pulumi:"secrets"`
}

A collection of values returned by getActionsOrganizationSecrets.

func GetActionsOrganizationSecrets

func GetActionsOrganizationSecrets(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetActionsOrganizationSecretsResult, error)

Use this data source to retrieve the list of secrets of the organization.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetActionsOrganizationSecrets(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetActionsOrganizationSecretsResultOutput

type GetActionsOrganizationSecretsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getActionsOrganizationSecrets.

func (GetActionsOrganizationSecretsResultOutput) ElementType

func (GetActionsOrganizationSecretsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetActionsOrganizationSecretsResultOutput) Secrets

list of secrets for the repository

func (GetActionsOrganizationSecretsResultOutput) ToGetActionsOrganizationSecretsResultOutput

func (o GetActionsOrganizationSecretsResultOutput) ToGetActionsOrganizationSecretsResultOutput() GetActionsOrganizationSecretsResultOutput

func (GetActionsOrganizationSecretsResultOutput) ToGetActionsOrganizationSecretsResultOutputWithContext

func (o GetActionsOrganizationSecretsResultOutput) ToGetActionsOrganizationSecretsResultOutputWithContext(ctx context.Context) GetActionsOrganizationSecretsResultOutput

type GetActionsOrganizationSecretsSecret

type GetActionsOrganizationSecretsSecret struct {
	// Timestamp of the secret creation
	CreatedAt string `pulumi:"createdAt"`
	// Secret name
	Name string `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt string `pulumi:"updatedAt"`
	// Secret visibility
	Visibility string `pulumi:"visibility"`
}

type GetActionsOrganizationSecretsSecretArgs

type GetActionsOrganizationSecretsSecretArgs struct {
	// Timestamp of the secret creation
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// Secret name
	Name pulumi.StringInput `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// Secret visibility
	Visibility pulumi.StringInput `pulumi:"visibility"`
}

func (GetActionsOrganizationSecretsSecretArgs) ElementType

func (GetActionsOrganizationSecretsSecretArgs) ToGetActionsOrganizationSecretsSecretOutput

func (i GetActionsOrganizationSecretsSecretArgs) ToGetActionsOrganizationSecretsSecretOutput() GetActionsOrganizationSecretsSecretOutput

func (GetActionsOrganizationSecretsSecretArgs) ToGetActionsOrganizationSecretsSecretOutputWithContext

func (i GetActionsOrganizationSecretsSecretArgs) ToGetActionsOrganizationSecretsSecretOutputWithContext(ctx context.Context) GetActionsOrganizationSecretsSecretOutput

type GetActionsOrganizationSecretsSecretArray

type GetActionsOrganizationSecretsSecretArray []GetActionsOrganizationSecretsSecretInput

func (GetActionsOrganizationSecretsSecretArray) ElementType

func (GetActionsOrganizationSecretsSecretArray) ToGetActionsOrganizationSecretsSecretArrayOutput

func (i GetActionsOrganizationSecretsSecretArray) ToGetActionsOrganizationSecretsSecretArrayOutput() GetActionsOrganizationSecretsSecretArrayOutput

func (GetActionsOrganizationSecretsSecretArray) ToGetActionsOrganizationSecretsSecretArrayOutputWithContext

func (i GetActionsOrganizationSecretsSecretArray) ToGetActionsOrganizationSecretsSecretArrayOutputWithContext(ctx context.Context) GetActionsOrganizationSecretsSecretArrayOutput

type GetActionsOrganizationSecretsSecretArrayInput

type GetActionsOrganizationSecretsSecretArrayInput interface {
	pulumi.Input

	ToGetActionsOrganizationSecretsSecretArrayOutput() GetActionsOrganizationSecretsSecretArrayOutput
	ToGetActionsOrganizationSecretsSecretArrayOutputWithContext(context.Context) GetActionsOrganizationSecretsSecretArrayOutput
}

GetActionsOrganizationSecretsSecretArrayInput is an input type that accepts GetActionsOrganizationSecretsSecretArray and GetActionsOrganizationSecretsSecretArrayOutput values. You can construct a concrete instance of `GetActionsOrganizationSecretsSecretArrayInput` via:

GetActionsOrganizationSecretsSecretArray{ GetActionsOrganizationSecretsSecretArgs{...} }

type GetActionsOrganizationSecretsSecretArrayOutput

type GetActionsOrganizationSecretsSecretArrayOutput struct{ *pulumi.OutputState }

func (GetActionsOrganizationSecretsSecretArrayOutput) ElementType

func (GetActionsOrganizationSecretsSecretArrayOutput) Index

func (GetActionsOrganizationSecretsSecretArrayOutput) ToGetActionsOrganizationSecretsSecretArrayOutput

func (o GetActionsOrganizationSecretsSecretArrayOutput) ToGetActionsOrganizationSecretsSecretArrayOutput() GetActionsOrganizationSecretsSecretArrayOutput

func (GetActionsOrganizationSecretsSecretArrayOutput) ToGetActionsOrganizationSecretsSecretArrayOutputWithContext

func (o GetActionsOrganizationSecretsSecretArrayOutput) ToGetActionsOrganizationSecretsSecretArrayOutputWithContext(ctx context.Context) GetActionsOrganizationSecretsSecretArrayOutput

type GetActionsOrganizationSecretsSecretInput

type GetActionsOrganizationSecretsSecretInput interface {
	pulumi.Input

	ToGetActionsOrganizationSecretsSecretOutput() GetActionsOrganizationSecretsSecretOutput
	ToGetActionsOrganizationSecretsSecretOutputWithContext(context.Context) GetActionsOrganizationSecretsSecretOutput
}

GetActionsOrganizationSecretsSecretInput is an input type that accepts GetActionsOrganizationSecretsSecretArgs and GetActionsOrganizationSecretsSecretOutput values. You can construct a concrete instance of `GetActionsOrganizationSecretsSecretInput` via:

GetActionsOrganizationSecretsSecretArgs{...}

type GetActionsOrganizationSecretsSecretOutput

type GetActionsOrganizationSecretsSecretOutput struct{ *pulumi.OutputState }

func (GetActionsOrganizationSecretsSecretOutput) CreatedAt

Timestamp of the secret creation

func (GetActionsOrganizationSecretsSecretOutput) ElementType

func (GetActionsOrganizationSecretsSecretOutput) Name

Secret name

func (GetActionsOrganizationSecretsSecretOutput) ToGetActionsOrganizationSecretsSecretOutput

func (o GetActionsOrganizationSecretsSecretOutput) ToGetActionsOrganizationSecretsSecretOutput() GetActionsOrganizationSecretsSecretOutput

func (GetActionsOrganizationSecretsSecretOutput) ToGetActionsOrganizationSecretsSecretOutputWithContext

func (o GetActionsOrganizationSecretsSecretOutput) ToGetActionsOrganizationSecretsSecretOutputWithContext(ctx context.Context) GetActionsOrganizationSecretsSecretOutput

func (GetActionsOrganizationSecretsSecretOutput) UpdatedAt

Timestamp of the secret last update

func (GetActionsOrganizationSecretsSecretOutput) Visibility

Secret visibility

type GetActionsOrganizationVariablesResult

type GetActionsOrganizationVariablesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// list of variables for the repository
	Variables []GetActionsOrganizationVariablesVariable `pulumi:"variables"`
}

A collection of values returned by getActionsOrganizationVariables.

func GetActionsOrganizationVariables

func GetActionsOrganizationVariables(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetActionsOrganizationVariablesResult, error)

Use this data source to retrieve the list of variables of the organization.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetActionsOrganizationVariables(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetActionsOrganizationVariablesResultOutput

type GetActionsOrganizationVariablesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getActionsOrganizationVariables.

func (GetActionsOrganizationVariablesResultOutput) ElementType

func (GetActionsOrganizationVariablesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetActionsOrganizationVariablesResultOutput) ToGetActionsOrganizationVariablesResultOutput

func (o GetActionsOrganizationVariablesResultOutput) ToGetActionsOrganizationVariablesResultOutput() GetActionsOrganizationVariablesResultOutput

func (GetActionsOrganizationVariablesResultOutput) ToGetActionsOrganizationVariablesResultOutputWithContext

func (o GetActionsOrganizationVariablesResultOutput) ToGetActionsOrganizationVariablesResultOutputWithContext(ctx context.Context) GetActionsOrganizationVariablesResultOutput

func (GetActionsOrganizationVariablesResultOutput) Variables

list of variables for the repository

type GetActionsOrganizationVariablesVariable

type GetActionsOrganizationVariablesVariable struct {
	// Timestamp of the variable creation
	CreatedAt string `pulumi:"createdAt"`
	// Name of the variable
	Name string `pulumi:"name"`
	// Timestamp of the variable last update
	UpdatedAt string `pulumi:"updatedAt"`
	// Value of the variable
	Value string `pulumi:"value"`
	// Visibility of the variable
	Visibility string `pulumi:"visibility"`
}

type GetActionsOrganizationVariablesVariableArgs

type GetActionsOrganizationVariablesVariableArgs struct {
	// Timestamp of the variable creation
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// Name of the variable
	Name pulumi.StringInput `pulumi:"name"`
	// Timestamp of the variable last update
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// Value of the variable
	Value pulumi.StringInput `pulumi:"value"`
	// Visibility of the variable
	Visibility pulumi.StringInput `pulumi:"visibility"`
}

func (GetActionsOrganizationVariablesVariableArgs) ElementType

func (GetActionsOrganizationVariablesVariableArgs) ToGetActionsOrganizationVariablesVariableOutput

func (i GetActionsOrganizationVariablesVariableArgs) ToGetActionsOrganizationVariablesVariableOutput() GetActionsOrganizationVariablesVariableOutput

func (GetActionsOrganizationVariablesVariableArgs) ToGetActionsOrganizationVariablesVariableOutputWithContext

func (i GetActionsOrganizationVariablesVariableArgs) ToGetActionsOrganizationVariablesVariableOutputWithContext(ctx context.Context) GetActionsOrganizationVariablesVariableOutput

type GetActionsOrganizationVariablesVariableArray

type GetActionsOrganizationVariablesVariableArray []GetActionsOrganizationVariablesVariableInput

func (GetActionsOrganizationVariablesVariableArray) ElementType

func (GetActionsOrganizationVariablesVariableArray) ToGetActionsOrganizationVariablesVariableArrayOutput

func (i GetActionsOrganizationVariablesVariableArray) ToGetActionsOrganizationVariablesVariableArrayOutput() GetActionsOrganizationVariablesVariableArrayOutput

func (GetActionsOrganizationVariablesVariableArray) ToGetActionsOrganizationVariablesVariableArrayOutputWithContext

func (i GetActionsOrganizationVariablesVariableArray) ToGetActionsOrganizationVariablesVariableArrayOutputWithContext(ctx context.Context) GetActionsOrganizationVariablesVariableArrayOutput

type GetActionsOrganizationVariablesVariableArrayInput

type GetActionsOrganizationVariablesVariableArrayInput interface {
	pulumi.Input

	ToGetActionsOrganizationVariablesVariableArrayOutput() GetActionsOrganizationVariablesVariableArrayOutput
	ToGetActionsOrganizationVariablesVariableArrayOutputWithContext(context.Context) GetActionsOrganizationVariablesVariableArrayOutput
}

GetActionsOrganizationVariablesVariableArrayInput is an input type that accepts GetActionsOrganizationVariablesVariableArray and GetActionsOrganizationVariablesVariableArrayOutput values. You can construct a concrete instance of `GetActionsOrganizationVariablesVariableArrayInput` via:

GetActionsOrganizationVariablesVariableArray{ GetActionsOrganizationVariablesVariableArgs{...} }

type GetActionsOrganizationVariablesVariableArrayOutput

type GetActionsOrganizationVariablesVariableArrayOutput struct{ *pulumi.OutputState }

func (GetActionsOrganizationVariablesVariableArrayOutput) ElementType

func (GetActionsOrganizationVariablesVariableArrayOutput) Index

func (GetActionsOrganizationVariablesVariableArrayOutput) ToGetActionsOrganizationVariablesVariableArrayOutput

func (o GetActionsOrganizationVariablesVariableArrayOutput) ToGetActionsOrganizationVariablesVariableArrayOutput() GetActionsOrganizationVariablesVariableArrayOutput

func (GetActionsOrganizationVariablesVariableArrayOutput) ToGetActionsOrganizationVariablesVariableArrayOutputWithContext

func (o GetActionsOrganizationVariablesVariableArrayOutput) ToGetActionsOrganizationVariablesVariableArrayOutputWithContext(ctx context.Context) GetActionsOrganizationVariablesVariableArrayOutput

type GetActionsOrganizationVariablesVariableInput

type GetActionsOrganizationVariablesVariableInput interface {
	pulumi.Input

	ToGetActionsOrganizationVariablesVariableOutput() GetActionsOrganizationVariablesVariableOutput
	ToGetActionsOrganizationVariablesVariableOutputWithContext(context.Context) GetActionsOrganizationVariablesVariableOutput
}

GetActionsOrganizationVariablesVariableInput is an input type that accepts GetActionsOrganizationVariablesVariableArgs and GetActionsOrganizationVariablesVariableOutput values. You can construct a concrete instance of `GetActionsOrganizationVariablesVariableInput` via:

GetActionsOrganizationVariablesVariableArgs{...}

type GetActionsOrganizationVariablesVariableOutput

type GetActionsOrganizationVariablesVariableOutput struct{ *pulumi.OutputState }

func (GetActionsOrganizationVariablesVariableOutput) CreatedAt

Timestamp of the variable creation

func (GetActionsOrganizationVariablesVariableOutput) ElementType

func (GetActionsOrganizationVariablesVariableOutput) Name

Name of the variable

func (GetActionsOrganizationVariablesVariableOutput) ToGetActionsOrganizationVariablesVariableOutput

func (o GetActionsOrganizationVariablesVariableOutput) ToGetActionsOrganizationVariablesVariableOutput() GetActionsOrganizationVariablesVariableOutput

func (GetActionsOrganizationVariablesVariableOutput) ToGetActionsOrganizationVariablesVariableOutputWithContext

func (o GetActionsOrganizationVariablesVariableOutput) ToGetActionsOrganizationVariablesVariableOutputWithContext(ctx context.Context) GetActionsOrganizationVariablesVariableOutput

func (GetActionsOrganizationVariablesVariableOutput) UpdatedAt

Timestamp of the variable last update

func (GetActionsOrganizationVariablesVariableOutput) Value

Value of the variable

func (GetActionsOrganizationVariablesVariableOutput) Visibility

Visibility of the variable

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

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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetActionsPublicKey(ctx, &github.GetActionsPublicKeyArgs{
			Repository: "example_repo",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetActionsPublicKeyResultOutput

type GetActionsPublicKeyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getActionsPublicKey.

func (GetActionsPublicKeyResultOutput) ElementType

func (GetActionsPublicKeyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetActionsPublicKeyResultOutput) Key

Actual key retrieved.

func (GetActionsPublicKeyResultOutput) KeyId

ID of the key that has been retrieved.

func (GetActionsPublicKeyResultOutput) Repository

func (GetActionsPublicKeyResultOutput) ToGetActionsPublicKeyResultOutput

func (o GetActionsPublicKeyResultOutput) ToGetActionsPublicKeyResultOutput() GetActionsPublicKeyResultOutput

func (GetActionsPublicKeyResultOutput) ToGetActionsPublicKeyResultOutputWithContext

func (o GetActionsPublicKeyResultOutput) ToGetActionsPublicKeyResultOutputWithContext(ctx context.Context) GetActionsPublicKeyResultOutput

type GetActionsRegistrationTokenArgs

type GetActionsRegistrationTokenArgs struct {
	// Name of the repository to get a GitHub Actions registration token for.
	Repository string `pulumi:"repository"`
}

A collection of arguments for invoking getActionsRegistrationToken.

type GetActionsRegistrationTokenOutputArgs

type GetActionsRegistrationTokenOutputArgs struct {
	// Name of the repository to get a GitHub Actions registration token for.
	Repository pulumi.StringInput `pulumi:"repository"`
}

A collection of arguments for invoking getActionsRegistrationToken.

func (GetActionsRegistrationTokenOutputArgs) ElementType

type GetActionsRegistrationTokenResult

type GetActionsRegistrationTokenResult struct {
	// The token expiration date.
	ExpiresAt int `pulumi:"expiresAt"`
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	Repository string `pulumi:"repository"`
	// The token that has been retrieved.
	Token string `pulumi:"token"`
}

A collection of values returned by getActionsRegistrationToken.

func GetActionsRegistrationToken

func GetActionsRegistrationToken(ctx *pulumi.Context, args *GetActionsRegistrationTokenArgs, opts ...pulumi.InvokeOption) (*GetActionsRegistrationTokenResult, error)

Use this data source to retrieve a GitHub Actions repository registration token. This token can then be used to register a self-hosted runner.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetActionsRegistrationToken(ctx, &github.GetActionsRegistrationTokenArgs{
			Repository: "example_repo",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetActionsRegistrationTokenResultOutput

type GetActionsRegistrationTokenResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getActionsRegistrationToken.

func (GetActionsRegistrationTokenResultOutput) ElementType

func (GetActionsRegistrationTokenResultOutput) ExpiresAt

The token expiration date.

func (GetActionsRegistrationTokenResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetActionsRegistrationTokenResultOutput) Repository

func (GetActionsRegistrationTokenResultOutput) ToGetActionsRegistrationTokenResultOutput

func (o GetActionsRegistrationTokenResultOutput) ToGetActionsRegistrationTokenResultOutput() GetActionsRegistrationTokenResultOutput

func (GetActionsRegistrationTokenResultOutput) ToGetActionsRegistrationTokenResultOutputWithContext

func (o GetActionsRegistrationTokenResultOutput) ToGetActionsRegistrationTokenResultOutputWithContext(ctx context.Context) GetActionsRegistrationTokenResultOutput

func (GetActionsRegistrationTokenResultOutput) Token

The token that has been retrieved.

type GetActionsSecretsArgs

type GetActionsSecretsArgs struct {
	// Full name of the repository (in `org/name` format).
	FullName *string `pulumi:"fullName"`
	// The name of the repository.
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getActionsSecrets.

type GetActionsSecretsOutputArgs

type GetActionsSecretsOutputArgs struct {
	// Full name of the repository (in `org/name` format).
	FullName pulumi.StringPtrInput `pulumi:"fullName"`
	// The name of the repository.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getActionsSecrets.

func (GetActionsSecretsOutputArgs) ElementType

type GetActionsSecretsResult

type GetActionsSecretsResult struct {
	FullName string `pulumi:"fullName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Secret name
	Name string `pulumi:"name"`
	// list of secrets for the repository
	Secrets []GetActionsSecretsSecret `pulumi:"secrets"`
}

A collection of values returned by getActionsSecrets.

func GetActionsSecrets

func GetActionsSecrets(ctx *pulumi.Context, args *GetActionsSecretsArgs, opts ...pulumi.InvokeOption) (*GetActionsSecretsResult, error)

Use this data source to retrieve the list of secrets for a GitHub repository.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetActionsSecrets(ctx, &github.GetActionsSecretsArgs{
			Name: pulumi.StringRef("example"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetActionsSecretsResultOutput

type GetActionsSecretsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getActionsSecrets.

func (GetActionsSecretsResultOutput) ElementType

func (GetActionsSecretsResultOutput) FullName

func (GetActionsSecretsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetActionsSecretsResultOutput) Name

Secret name

func (GetActionsSecretsResultOutput) Secrets

list of secrets for the repository

func (GetActionsSecretsResultOutput) ToGetActionsSecretsResultOutput

func (o GetActionsSecretsResultOutput) ToGetActionsSecretsResultOutput() GetActionsSecretsResultOutput

func (GetActionsSecretsResultOutput) ToGetActionsSecretsResultOutputWithContext

func (o GetActionsSecretsResultOutput) ToGetActionsSecretsResultOutputWithContext(ctx context.Context) GetActionsSecretsResultOutput

type GetActionsSecretsSecret

type GetActionsSecretsSecret struct {
	// Timestamp of the secret creation
	CreatedAt string `pulumi:"createdAt"`
	// The name of the repository.
	Name string `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt string `pulumi:"updatedAt"`
}

type GetActionsSecretsSecretArgs

type GetActionsSecretsSecretArgs struct {
	// Timestamp of the secret creation
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The name of the repository.
	Name pulumi.StringInput `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
}

func (GetActionsSecretsSecretArgs) ElementType

func (GetActionsSecretsSecretArgs) ToGetActionsSecretsSecretOutput

func (i GetActionsSecretsSecretArgs) ToGetActionsSecretsSecretOutput() GetActionsSecretsSecretOutput

func (GetActionsSecretsSecretArgs) ToGetActionsSecretsSecretOutputWithContext

func (i GetActionsSecretsSecretArgs) ToGetActionsSecretsSecretOutputWithContext(ctx context.Context) GetActionsSecretsSecretOutput

type GetActionsSecretsSecretArray

type GetActionsSecretsSecretArray []GetActionsSecretsSecretInput

func (GetActionsSecretsSecretArray) ElementType

func (GetActionsSecretsSecretArray) ToGetActionsSecretsSecretArrayOutput

func (i GetActionsSecretsSecretArray) ToGetActionsSecretsSecretArrayOutput() GetActionsSecretsSecretArrayOutput

func (GetActionsSecretsSecretArray) ToGetActionsSecretsSecretArrayOutputWithContext

func (i GetActionsSecretsSecretArray) ToGetActionsSecretsSecretArrayOutputWithContext(ctx context.Context) GetActionsSecretsSecretArrayOutput

type GetActionsSecretsSecretArrayInput

type GetActionsSecretsSecretArrayInput interface {
	pulumi.Input

	ToGetActionsSecretsSecretArrayOutput() GetActionsSecretsSecretArrayOutput
	ToGetActionsSecretsSecretArrayOutputWithContext(context.Context) GetActionsSecretsSecretArrayOutput
}

GetActionsSecretsSecretArrayInput is an input type that accepts GetActionsSecretsSecretArray and GetActionsSecretsSecretArrayOutput values. You can construct a concrete instance of `GetActionsSecretsSecretArrayInput` via:

GetActionsSecretsSecretArray{ GetActionsSecretsSecretArgs{...} }

type GetActionsSecretsSecretArrayOutput

type GetActionsSecretsSecretArrayOutput struct{ *pulumi.OutputState }

func (GetActionsSecretsSecretArrayOutput) ElementType

func (GetActionsSecretsSecretArrayOutput) Index

func (GetActionsSecretsSecretArrayOutput) ToGetActionsSecretsSecretArrayOutput

func (o GetActionsSecretsSecretArrayOutput) ToGetActionsSecretsSecretArrayOutput() GetActionsSecretsSecretArrayOutput

func (GetActionsSecretsSecretArrayOutput) ToGetActionsSecretsSecretArrayOutputWithContext

func (o GetActionsSecretsSecretArrayOutput) ToGetActionsSecretsSecretArrayOutputWithContext(ctx context.Context) GetActionsSecretsSecretArrayOutput

type GetActionsSecretsSecretInput

type GetActionsSecretsSecretInput interface {
	pulumi.Input

	ToGetActionsSecretsSecretOutput() GetActionsSecretsSecretOutput
	ToGetActionsSecretsSecretOutputWithContext(context.Context) GetActionsSecretsSecretOutput
}

GetActionsSecretsSecretInput is an input type that accepts GetActionsSecretsSecretArgs and GetActionsSecretsSecretOutput values. You can construct a concrete instance of `GetActionsSecretsSecretInput` via:

GetActionsSecretsSecretArgs{...}

type GetActionsSecretsSecretOutput

type GetActionsSecretsSecretOutput struct{ *pulumi.OutputState }

func (GetActionsSecretsSecretOutput) CreatedAt

Timestamp of the secret creation

func (GetActionsSecretsSecretOutput) ElementType

func (GetActionsSecretsSecretOutput) Name

The name of the repository.

func (GetActionsSecretsSecretOutput) ToGetActionsSecretsSecretOutput

func (o GetActionsSecretsSecretOutput) ToGetActionsSecretsSecretOutput() GetActionsSecretsSecretOutput

func (GetActionsSecretsSecretOutput) ToGetActionsSecretsSecretOutputWithContext

func (o GetActionsSecretsSecretOutput) ToGetActionsSecretsSecretOutputWithContext(ctx context.Context) GetActionsSecretsSecretOutput

func (GetActionsSecretsSecretOutput) UpdatedAt

Timestamp of the secret last update

type GetActionsVariablesArgs

type GetActionsVariablesArgs struct {
	// Full name of the repository (in `org/name` format).
	FullName *string `pulumi:"fullName"`
	// The name of the repository.
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getActionsVariables.

type GetActionsVariablesOutputArgs

type GetActionsVariablesOutputArgs struct {
	// Full name of the repository (in `org/name` format).
	FullName pulumi.StringPtrInput `pulumi:"fullName"`
	// The name of the repository.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getActionsVariables.

func (GetActionsVariablesOutputArgs) ElementType

type GetActionsVariablesResult

type GetActionsVariablesResult struct {
	FullName string `pulumi:"fullName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Name of the variable
	Name string `pulumi:"name"`
	// list of variables for the repository
	Variables []GetActionsVariablesVariable `pulumi:"variables"`
}

A collection of values returned by getActionsVariables.

func GetActionsVariables

func GetActionsVariables(ctx *pulumi.Context, args *GetActionsVariablesArgs, opts ...pulumi.InvokeOption) (*GetActionsVariablesResult, error)

Use this data source to retrieve the list of variables for a GitHub repository.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetActionsVariables(ctx, &github.GetActionsVariablesArgs{
			Name: pulumi.StringRef("example"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetActionsVariablesResultOutput

type GetActionsVariablesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getActionsVariables.

func (GetActionsVariablesResultOutput) ElementType

func (GetActionsVariablesResultOutput) FullName

func (GetActionsVariablesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetActionsVariablesResultOutput) Name

Name of the variable

func (GetActionsVariablesResultOutput) ToGetActionsVariablesResultOutput

func (o GetActionsVariablesResultOutput) ToGetActionsVariablesResultOutput() GetActionsVariablesResultOutput

func (GetActionsVariablesResultOutput) ToGetActionsVariablesResultOutputWithContext

func (o GetActionsVariablesResultOutput) ToGetActionsVariablesResultOutputWithContext(ctx context.Context) GetActionsVariablesResultOutput

func (GetActionsVariablesResultOutput) Variables

list of variables for the repository

type GetActionsVariablesVariable

type GetActionsVariablesVariable struct {
	// Timestamp of the variable creation
	CreatedAt string `pulumi:"createdAt"`
	// The name of the repository.
	Name string `pulumi:"name"`
	// Timestamp of the variable last update
	UpdatedAt string `pulumi:"updatedAt"`
	// Value of the variable
	Value string `pulumi:"value"`
}

type GetActionsVariablesVariableArgs

type GetActionsVariablesVariableArgs struct {
	// Timestamp of the variable creation
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The name of the repository.
	Name pulumi.StringInput `pulumi:"name"`
	// Timestamp of the variable last update
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// Value of the variable
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetActionsVariablesVariableArgs) ElementType

func (GetActionsVariablesVariableArgs) ToGetActionsVariablesVariableOutput

func (i GetActionsVariablesVariableArgs) ToGetActionsVariablesVariableOutput() GetActionsVariablesVariableOutput

func (GetActionsVariablesVariableArgs) ToGetActionsVariablesVariableOutputWithContext

func (i GetActionsVariablesVariableArgs) ToGetActionsVariablesVariableOutputWithContext(ctx context.Context) GetActionsVariablesVariableOutput

type GetActionsVariablesVariableArray

type GetActionsVariablesVariableArray []GetActionsVariablesVariableInput

func (GetActionsVariablesVariableArray) ElementType

func (GetActionsVariablesVariableArray) ToGetActionsVariablesVariableArrayOutput

func (i GetActionsVariablesVariableArray) ToGetActionsVariablesVariableArrayOutput() GetActionsVariablesVariableArrayOutput

func (GetActionsVariablesVariableArray) ToGetActionsVariablesVariableArrayOutputWithContext

func (i GetActionsVariablesVariableArray) ToGetActionsVariablesVariableArrayOutputWithContext(ctx context.Context) GetActionsVariablesVariableArrayOutput

type GetActionsVariablesVariableArrayInput

type GetActionsVariablesVariableArrayInput interface {
	pulumi.Input

	ToGetActionsVariablesVariableArrayOutput() GetActionsVariablesVariableArrayOutput
	ToGetActionsVariablesVariableArrayOutputWithContext(context.Context) GetActionsVariablesVariableArrayOutput
}

GetActionsVariablesVariableArrayInput is an input type that accepts GetActionsVariablesVariableArray and GetActionsVariablesVariableArrayOutput values. You can construct a concrete instance of `GetActionsVariablesVariableArrayInput` via:

GetActionsVariablesVariableArray{ GetActionsVariablesVariableArgs{...} }

type GetActionsVariablesVariableArrayOutput

type GetActionsVariablesVariableArrayOutput struct{ *pulumi.OutputState }

func (GetActionsVariablesVariableArrayOutput) ElementType

func (GetActionsVariablesVariableArrayOutput) Index

func (GetActionsVariablesVariableArrayOutput) ToGetActionsVariablesVariableArrayOutput

func (o GetActionsVariablesVariableArrayOutput) ToGetActionsVariablesVariableArrayOutput() GetActionsVariablesVariableArrayOutput

func (GetActionsVariablesVariableArrayOutput) ToGetActionsVariablesVariableArrayOutputWithContext

func (o GetActionsVariablesVariableArrayOutput) ToGetActionsVariablesVariableArrayOutputWithContext(ctx context.Context) GetActionsVariablesVariableArrayOutput

type GetActionsVariablesVariableInput

type GetActionsVariablesVariableInput interface {
	pulumi.Input

	ToGetActionsVariablesVariableOutput() GetActionsVariablesVariableOutput
	ToGetActionsVariablesVariableOutputWithContext(context.Context) GetActionsVariablesVariableOutput
}

GetActionsVariablesVariableInput is an input type that accepts GetActionsVariablesVariableArgs and GetActionsVariablesVariableOutput values. You can construct a concrete instance of `GetActionsVariablesVariableInput` via:

GetActionsVariablesVariableArgs{...}

type GetActionsVariablesVariableOutput

type GetActionsVariablesVariableOutput struct{ *pulumi.OutputState }

func (GetActionsVariablesVariableOutput) CreatedAt

Timestamp of the variable creation

func (GetActionsVariablesVariableOutput) ElementType

func (GetActionsVariablesVariableOutput) Name

The name of the repository.

func (GetActionsVariablesVariableOutput) ToGetActionsVariablesVariableOutput

func (o GetActionsVariablesVariableOutput) ToGetActionsVariablesVariableOutput() GetActionsVariablesVariableOutput

func (GetActionsVariablesVariableOutput) ToGetActionsVariablesVariableOutputWithContext

func (o GetActionsVariablesVariableOutput) ToGetActionsVariablesVariableOutputWithContext(ctx context.Context) GetActionsVariablesVariableOutput

func (GetActionsVariablesVariableOutput) UpdatedAt

Timestamp of the variable last update

func (GetActionsVariablesVariableOutput) Value

Value of the variable

type GetAppTokenArgs

type GetAppTokenArgs struct {
	// This is the ID of the GitHub App.
	AppId string `pulumi:"appId"`
	// This is the ID of the GitHub App installation.
	InstallationId string `pulumi:"installationId"`
	// This is the contents of the GitHub App private key PEM file.
	PemFile string `pulumi:"pemFile"`
}

A collection of arguments for invoking getAppToken.

type GetAppTokenOutputArgs

type GetAppTokenOutputArgs struct {
	// This is the ID of the GitHub App.
	AppId pulumi.StringInput `pulumi:"appId"`
	// This is the ID of the GitHub App installation.
	InstallationId pulumi.StringInput `pulumi:"installationId"`
	// This is the contents of the GitHub App private key PEM file.
	PemFile pulumi.StringInput `pulumi:"pemFile"`
}

A collection of arguments for invoking getAppToken.

func (GetAppTokenOutputArgs) ElementType

func (GetAppTokenOutputArgs) ElementType() reflect.Type

type GetAppTokenResult

type GetAppTokenResult struct {
	AppId string `pulumi:"appId"`
	// The provider-assigned unique ID for this managed resource.
	Id             string `pulumi:"id"`
	InstallationId string `pulumi:"installationId"`
	PemFile        string `pulumi:"pemFile"`
	// The generated GitHub APP JWT.
	Token string `pulumi:"token"`
}

A collection of values returned by getAppToken.

func GetAppToken

func GetAppToken(ctx *pulumi.Context, args *GetAppTokenArgs, opts ...pulumi.InvokeOption) (*GetAppTokenResult, error)

Use this data source to generate a [GitHub App JWT](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app).

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"os"

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := os.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetAppToken(ctx, &github.GetAppTokenArgs{
			AppId:          "123456",
			InstallationId: "78910",
			PemFile:        readFileOrPanic("foo/bar.pem"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetAppTokenResultOutput

type GetAppTokenResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAppToken.

func (GetAppTokenResultOutput) AppId

func (GetAppTokenResultOutput) ElementType

func (GetAppTokenResultOutput) ElementType() reflect.Type

func (GetAppTokenResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAppTokenResultOutput) InstallationId

func (o GetAppTokenResultOutput) InstallationId() pulumi.StringOutput

func (GetAppTokenResultOutput) PemFile

func (GetAppTokenResultOutput) ToGetAppTokenResultOutput

func (o GetAppTokenResultOutput) ToGetAppTokenResultOutput() GetAppTokenResultOutput

func (GetAppTokenResultOutput) ToGetAppTokenResultOutputWithContext

func (o GetAppTokenResultOutput) ToGetAppTokenResultOutputWithContext(ctx context.Context) GetAppTokenResultOutput

func (GetAppTokenResultOutput) Token

The generated GitHub APP JWT.

type GetBranchProtectionRulesArgs

type GetBranchProtectionRulesArgs struct {
	// The GitHub repository name.
	Repository string `pulumi:"repository"`
}

A collection of arguments for invoking getBranchProtectionRules.

type GetBranchProtectionRulesOutputArgs

type GetBranchProtectionRulesOutputArgs struct {
	// The GitHub repository name.
	Repository pulumi.StringInput `pulumi:"repository"`
}

A collection of arguments for invoking getBranchProtectionRules.

func (GetBranchProtectionRulesOutputArgs) ElementType

type GetBranchProtectionRulesResult

type GetBranchProtectionRulesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	Repository string `pulumi:"repository"`
	// Collection of Branch Protection Rules. Each of the results conforms to the following scheme:
	Rules []GetBranchProtectionRulesRule `pulumi:"rules"`
}

A collection of values returned by getBranchProtectionRules.

func GetBranchProtectionRules

func GetBranchProtectionRules(ctx *pulumi.Context, args *GetBranchProtectionRulesArgs, opts ...pulumi.InvokeOption) (*GetBranchProtectionRulesResult, error)

Use this data source to retrieve a list of repository branch protection rules.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetBranchProtectionRules(ctx, &github.GetBranchProtectionRulesArgs{
			Repository: "example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetBranchProtectionRulesResultOutput

type GetBranchProtectionRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBranchProtectionRules.

func (GetBranchProtectionRulesResultOutput) ElementType

func (GetBranchProtectionRulesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetBranchProtectionRulesResultOutput) Repository

func (GetBranchProtectionRulesResultOutput) Rules

Collection of Branch Protection Rules. Each of the results conforms to the following scheme:

func (GetBranchProtectionRulesResultOutput) ToGetBranchProtectionRulesResultOutput

func (o GetBranchProtectionRulesResultOutput) ToGetBranchProtectionRulesResultOutput() GetBranchProtectionRulesResultOutput

func (GetBranchProtectionRulesResultOutput) ToGetBranchProtectionRulesResultOutputWithContext

func (o GetBranchProtectionRulesResultOutput) ToGetBranchProtectionRulesResultOutputWithContext(ctx context.Context) GetBranchProtectionRulesResultOutput

type GetBranchProtectionRulesRule

type GetBranchProtectionRulesRule struct {
	// Identifies the protection rule pattern.
	Pattern string `pulumi:"pattern"`
}

type GetBranchProtectionRulesRuleArgs

type GetBranchProtectionRulesRuleArgs struct {
	// Identifies the protection rule pattern.
	Pattern pulumi.StringInput `pulumi:"pattern"`
}

func (GetBranchProtectionRulesRuleArgs) ElementType

func (GetBranchProtectionRulesRuleArgs) ToGetBranchProtectionRulesRuleOutput

func (i GetBranchProtectionRulesRuleArgs) ToGetBranchProtectionRulesRuleOutput() GetBranchProtectionRulesRuleOutput

func (GetBranchProtectionRulesRuleArgs) ToGetBranchProtectionRulesRuleOutputWithContext

func (i GetBranchProtectionRulesRuleArgs) ToGetBranchProtectionRulesRuleOutputWithContext(ctx context.Context) GetBranchProtectionRulesRuleOutput

type GetBranchProtectionRulesRuleArray

type GetBranchProtectionRulesRuleArray []GetBranchProtectionRulesRuleInput

func (GetBranchProtectionRulesRuleArray) ElementType

func (GetBranchProtectionRulesRuleArray) ToGetBranchProtectionRulesRuleArrayOutput

func (i GetBranchProtectionRulesRuleArray) ToGetBranchProtectionRulesRuleArrayOutput() GetBranchProtectionRulesRuleArrayOutput

func (GetBranchProtectionRulesRuleArray) ToGetBranchProtectionRulesRuleArrayOutputWithContext

func (i GetBranchProtectionRulesRuleArray) ToGetBranchProtectionRulesRuleArrayOutputWithContext(ctx context.Context) GetBranchProtectionRulesRuleArrayOutput

type GetBranchProtectionRulesRuleArrayInput

type GetBranchProtectionRulesRuleArrayInput interface {
	pulumi.Input

	ToGetBranchProtectionRulesRuleArrayOutput() GetBranchProtectionRulesRuleArrayOutput
	ToGetBranchProtectionRulesRuleArrayOutputWithContext(context.Context) GetBranchProtectionRulesRuleArrayOutput
}

GetBranchProtectionRulesRuleArrayInput is an input type that accepts GetBranchProtectionRulesRuleArray and GetBranchProtectionRulesRuleArrayOutput values. You can construct a concrete instance of `GetBranchProtectionRulesRuleArrayInput` via:

GetBranchProtectionRulesRuleArray{ GetBranchProtectionRulesRuleArgs{...} }

type GetBranchProtectionRulesRuleArrayOutput

type GetBranchProtectionRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GetBranchProtectionRulesRuleArrayOutput) ElementType

func (GetBranchProtectionRulesRuleArrayOutput) Index

func (GetBranchProtectionRulesRuleArrayOutput) ToGetBranchProtectionRulesRuleArrayOutput

func (o GetBranchProtectionRulesRuleArrayOutput) ToGetBranchProtectionRulesRuleArrayOutput() GetBranchProtectionRulesRuleArrayOutput

func (GetBranchProtectionRulesRuleArrayOutput) ToGetBranchProtectionRulesRuleArrayOutputWithContext

func (o GetBranchProtectionRulesRuleArrayOutput) ToGetBranchProtectionRulesRuleArrayOutputWithContext(ctx context.Context) GetBranchProtectionRulesRuleArrayOutput

type GetBranchProtectionRulesRuleInput

type GetBranchProtectionRulesRuleInput interface {
	pulumi.Input

	ToGetBranchProtectionRulesRuleOutput() GetBranchProtectionRulesRuleOutput
	ToGetBranchProtectionRulesRuleOutputWithContext(context.Context) GetBranchProtectionRulesRuleOutput
}

GetBranchProtectionRulesRuleInput is an input type that accepts GetBranchProtectionRulesRuleArgs and GetBranchProtectionRulesRuleOutput values. You can construct a concrete instance of `GetBranchProtectionRulesRuleInput` via:

GetBranchProtectionRulesRuleArgs{...}

type GetBranchProtectionRulesRuleOutput

type GetBranchProtectionRulesRuleOutput struct{ *pulumi.OutputState }

func (GetBranchProtectionRulesRuleOutput) ElementType

func (GetBranchProtectionRulesRuleOutput) Pattern

Identifies the protection rule pattern.

func (GetBranchProtectionRulesRuleOutput) ToGetBranchProtectionRulesRuleOutput

func (o GetBranchProtectionRulesRuleOutput) ToGetBranchProtectionRulesRuleOutput() GetBranchProtectionRulesRuleOutput

func (GetBranchProtectionRulesRuleOutput) ToGetBranchProtectionRulesRuleOutputWithContext

func (o GetBranchProtectionRulesRuleOutput) ToGetBranchProtectionRulesRuleOutputWithContext(ctx context.Context) GetBranchProtectionRulesRuleOutput

type GetCodespacesOrganizationPublicKeyResult

type GetCodespacesOrganizationPublicKeyResult 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"`
}

A collection of values returned by getCodespacesOrganizationPublicKey.

func GetCodespacesOrganizationPublicKey

func GetCodespacesOrganizationPublicKey(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetCodespacesOrganizationPublicKeyResult, error)

Use this data source to retrieve information about a GitHub Codespaces Organization 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 an organization to retrieve it's Codespaces public key.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetCodespacesOrganizationPublicKey(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetCodespacesOrganizationPublicKeyResultOutput

type GetCodespacesOrganizationPublicKeyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCodespacesOrganizationPublicKey.

func (GetCodespacesOrganizationPublicKeyResultOutput) ElementType

func (GetCodespacesOrganizationPublicKeyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCodespacesOrganizationPublicKeyResultOutput) Key

Actual key retrieved.

func (GetCodespacesOrganizationPublicKeyResultOutput) KeyId

ID of the key that has been retrieved.

func (GetCodespacesOrganizationPublicKeyResultOutput) ToGetCodespacesOrganizationPublicKeyResultOutput

func (o GetCodespacesOrganizationPublicKeyResultOutput) ToGetCodespacesOrganizationPublicKeyResultOutput() GetCodespacesOrganizationPublicKeyResultOutput

func (GetCodespacesOrganizationPublicKeyResultOutput) ToGetCodespacesOrganizationPublicKeyResultOutputWithContext

func (o GetCodespacesOrganizationPublicKeyResultOutput) ToGetCodespacesOrganizationPublicKeyResultOutputWithContext(ctx context.Context) GetCodespacesOrganizationPublicKeyResultOutput

type GetCodespacesOrganizationSecretsResult

type GetCodespacesOrganizationSecretsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// list of secrets for the repository
	Secrets []GetCodespacesOrganizationSecretsSecret `pulumi:"secrets"`
}

A collection of values returned by getCodespacesOrganizationSecrets.

func GetCodespacesOrganizationSecrets

func GetCodespacesOrganizationSecrets(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetCodespacesOrganizationSecretsResult, error)

Use this data source to retrieve the list of codespaces secrets of the organization.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetCodespacesOrganizationSecrets(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetCodespacesOrganizationSecretsResultOutput

type GetCodespacesOrganizationSecretsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCodespacesOrganizationSecrets.

func (GetCodespacesOrganizationSecretsResultOutput) ElementType

func (GetCodespacesOrganizationSecretsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCodespacesOrganizationSecretsResultOutput) Secrets

list of secrets for the repository

func (GetCodespacesOrganizationSecretsResultOutput) ToGetCodespacesOrganizationSecretsResultOutput

func (o GetCodespacesOrganizationSecretsResultOutput) ToGetCodespacesOrganizationSecretsResultOutput() GetCodespacesOrganizationSecretsResultOutput

func (GetCodespacesOrganizationSecretsResultOutput) ToGetCodespacesOrganizationSecretsResultOutputWithContext

func (o GetCodespacesOrganizationSecretsResultOutput) ToGetCodespacesOrganizationSecretsResultOutputWithContext(ctx context.Context) GetCodespacesOrganizationSecretsResultOutput

type GetCodespacesOrganizationSecretsSecret

type GetCodespacesOrganizationSecretsSecret struct {
	// Timestamp of the secret creation
	CreatedAt string `pulumi:"createdAt"`
	// Secret name
	Name string `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt string `pulumi:"updatedAt"`
	// Secret visibility
	Visibility string `pulumi:"visibility"`
}

type GetCodespacesOrganizationSecretsSecretArgs

type GetCodespacesOrganizationSecretsSecretArgs struct {
	// Timestamp of the secret creation
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// Secret name
	Name pulumi.StringInput `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// Secret visibility
	Visibility pulumi.StringInput `pulumi:"visibility"`
}

func (GetCodespacesOrganizationSecretsSecretArgs) ElementType

func (GetCodespacesOrganizationSecretsSecretArgs) ToGetCodespacesOrganizationSecretsSecretOutput

func (i GetCodespacesOrganizationSecretsSecretArgs) ToGetCodespacesOrganizationSecretsSecretOutput() GetCodespacesOrganizationSecretsSecretOutput

func (GetCodespacesOrganizationSecretsSecretArgs) ToGetCodespacesOrganizationSecretsSecretOutputWithContext

func (i GetCodespacesOrganizationSecretsSecretArgs) ToGetCodespacesOrganizationSecretsSecretOutputWithContext(ctx context.Context) GetCodespacesOrganizationSecretsSecretOutput

type GetCodespacesOrganizationSecretsSecretArray

type GetCodespacesOrganizationSecretsSecretArray []GetCodespacesOrganizationSecretsSecretInput

func (GetCodespacesOrganizationSecretsSecretArray) ElementType

func (GetCodespacesOrganizationSecretsSecretArray) ToGetCodespacesOrganizationSecretsSecretArrayOutput

func (i GetCodespacesOrganizationSecretsSecretArray) ToGetCodespacesOrganizationSecretsSecretArrayOutput() GetCodespacesOrganizationSecretsSecretArrayOutput

func (GetCodespacesOrganizationSecretsSecretArray) ToGetCodespacesOrganizationSecretsSecretArrayOutputWithContext

func (i GetCodespacesOrganizationSecretsSecretArray) ToGetCodespacesOrganizationSecretsSecretArrayOutputWithContext(ctx context.Context) GetCodespacesOrganizationSecretsSecretArrayOutput

type GetCodespacesOrganizationSecretsSecretArrayInput

type GetCodespacesOrganizationSecretsSecretArrayInput interface {
	pulumi.Input

	ToGetCodespacesOrganizationSecretsSecretArrayOutput() GetCodespacesOrganizationSecretsSecretArrayOutput
	ToGetCodespacesOrganizationSecretsSecretArrayOutputWithContext(context.Context) GetCodespacesOrganizationSecretsSecretArrayOutput
}

GetCodespacesOrganizationSecretsSecretArrayInput is an input type that accepts GetCodespacesOrganizationSecretsSecretArray and GetCodespacesOrganizationSecretsSecretArrayOutput values. You can construct a concrete instance of `GetCodespacesOrganizationSecretsSecretArrayInput` via:

GetCodespacesOrganizationSecretsSecretArray{ GetCodespacesOrganizationSecretsSecretArgs{...} }

type GetCodespacesOrganizationSecretsSecretArrayOutput

type GetCodespacesOrganizationSecretsSecretArrayOutput struct{ *pulumi.OutputState }

func (GetCodespacesOrganizationSecretsSecretArrayOutput) ElementType

func (GetCodespacesOrganizationSecretsSecretArrayOutput) Index

func (GetCodespacesOrganizationSecretsSecretArrayOutput) ToGetCodespacesOrganizationSecretsSecretArrayOutput

func (o GetCodespacesOrganizationSecretsSecretArrayOutput) ToGetCodespacesOrganizationSecretsSecretArrayOutput() GetCodespacesOrganizationSecretsSecretArrayOutput

func (GetCodespacesOrganizationSecretsSecretArrayOutput) ToGetCodespacesOrganizationSecretsSecretArrayOutputWithContext

func (o GetCodespacesOrganizationSecretsSecretArrayOutput) ToGetCodespacesOrganizationSecretsSecretArrayOutputWithContext(ctx context.Context) GetCodespacesOrganizationSecretsSecretArrayOutput

type GetCodespacesOrganizationSecretsSecretInput

type GetCodespacesOrganizationSecretsSecretInput interface {
	pulumi.Input

	ToGetCodespacesOrganizationSecretsSecretOutput() GetCodespacesOrganizationSecretsSecretOutput
	ToGetCodespacesOrganizationSecretsSecretOutputWithContext(context.Context) GetCodespacesOrganizationSecretsSecretOutput
}

GetCodespacesOrganizationSecretsSecretInput is an input type that accepts GetCodespacesOrganizationSecretsSecretArgs and GetCodespacesOrganizationSecretsSecretOutput values. You can construct a concrete instance of `GetCodespacesOrganizationSecretsSecretInput` via:

GetCodespacesOrganizationSecretsSecretArgs{...}

type GetCodespacesOrganizationSecretsSecretOutput

type GetCodespacesOrganizationSecretsSecretOutput struct{ *pulumi.OutputState }

func (GetCodespacesOrganizationSecretsSecretOutput) CreatedAt

Timestamp of the secret creation

func (GetCodespacesOrganizationSecretsSecretOutput) ElementType

func (GetCodespacesOrganizationSecretsSecretOutput) Name

Secret name

func (GetCodespacesOrganizationSecretsSecretOutput) ToGetCodespacesOrganizationSecretsSecretOutput

func (o GetCodespacesOrganizationSecretsSecretOutput) ToGetCodespacesOrganizationSecretsSecretOutput() GetCodespacesOrganizationSecretsSecretOutput

func (GetCodespacesOrganizationSecretsSecretOutput) ToGetCodespacesOrganizationSecretsSecretOutputWithContext

func (o GetCodespacesOrganizationSecretsSecretOutput) ToGetCodespacesOrganizationSecretsSecretOutputWithContext(ctx context.Context) GetCodespacesOrganizationSecretsSecretOutput

func (GetCodespacesOrganizationSecretsSecretOutput) UpdatedAt

Timestamp of the secret last update

func (GetCodespacesOrganizationSecretsSecretOutput) Visibility

Secret visibility

type GetCodespacesPublicKeyArgs

type GetCodespacesPublicKeyArgs struct {
	// Name of the repository to get public key from.
	Repository string `pulumi:"repository"`
}

A collection of arguments for invoking getCodespacesPublicKey.

type GetCodespacesPublicKeyOutputArgs

type GetCodespacesPublicKeyOutputArgs struct {
	// Name of the repository to get public key from.
	Repository pulumi.StringInput `pulumi:"repository"`
}

A collection of arguments for invoking getCodespacesPublicKey.

func (GetCodespacesPublicKeyOutputArgs) ElementType

type GetCodespacesPublicKeyResult

type GetCodespacesPublicKeyResult 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 getCodespacesPublicKey.

func GetCodespacesPublicKey

func GetCodespacesPublicKey(ctx *pulumi.Context, args *GetCodespacesPublicKeyArgs, opts ...pulumi.InvokeOption) (*GetCodespacesPublicKeyResult, error)

Use this data source to retrieve information about a GitHub Codespaces 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 Codespaces public key.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetCodespacesPublicKey(ctx, &github.GetCodespacesPublicKeyArgs{
			Repository: "example_repo",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetCodespacesPublicKeyResultOutput

type GetCodespacesPublicKeyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCodespacesPublicKey.

func (GetCodespacesPublicKeyResultOutput) ElementType

func (GetCodespacesPublicKeyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCodespacesPublicKeyResultOutput) Key

Actual key retrieved.

func (GetCodespacesPublicKeyResultOutput) KeyId

ID of the key that has been retrieved.

func (GetCodespacesPublicKeyResultOutput) Repository

func (GetCodespacesPublicKeyResultOutput) ToGetCodespacesPublicKeyResultOutput

func (o GetCodespacesPublicKeyResultOutput) ToGetCodespacesPublicKeyResultOutput() GetCodespacesPublicKeyResultOutput

func (GetCodespacesPublicKeyResultOutput) ToGetCodespacesPublicKeyResultOutputWithContext

func (o GetCodespacesPublicKeyResultOutput) ToGetCodespacesPublicKeyResultOutputWithContext(ctx context.Context) GetCodespacesPublicKeyResultOutput

type GetCodespacesSecretsArgs

type GetCodespacesSecretsArgs struct {
	// Full name of the repository (in `org/name` format).
	FullName *string `pulumi:"fullName"`
	// The name of the repository.
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getCodespacesSecrets.

type GetCodespacesSecretsOutputArgs

type GetCodespacesSecretsOutputArgs struct {
	// Full name of the repository (in `org/name` format).
	FullName pulumi.StringPtrInput `pulumi:"fullName"`
	// The name of the repository.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getCodespacesSecrets.

func (GetCodespacesSecretsOutputArgs) ElementType

type GetCodespacesSecretsResult

type GetCodespacesSecretsResult struct {
	FullName string `pulumi:"fullName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Secret name
	Name string `pulumi:"name"`
	// list of codespaces secrets for the repository
	Secrets []GetCodespacesSecretsSecret `pulumi:"secrets"`
}

A collection of values returned by getCodespacesSecrets.

func GetCodespacesSecrets

func GetCodespacesSecrets(ctx *pulumi.Context, args *GetCodespacesSecretsArgs, opts ...pulumi.InvokeOption) (*GetCodespacesSecretsResult, error)

Use this data source to retrieve the list of codespaces secrets for a GitHub repository.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetCodespacesSecrets(ctx, &github.GetCodespacesSecretsArgs{
			Name: pulumi.StringRef("example_repository"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = github.GetCodespacesSecrets(ctx, &github.GetCodespacesSecretsArgs{
			FullName: pulumi.StringRef("org/example_repository"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetCodespacesSecretsResultOutput

type GetCodespacesSecretsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCodespacesSecrets.

func (GetCodespacesSecretsResultOutput) ElementType

func (GetCodespacesSecretsResultOutput) FullName

func (GetCodespacesSecretsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCodespacesSecretsResultOutput) Name

Secret name

func (GetCodespacesSecretsResultOutput) Secrets

list of codespaces secrets for the repository

func (GetCodespacesSecretsResultOutput) ToGetCodespacesSecretsResultOutput

func (o GetCodespacesSecretsResultOutput) ToGetCodespacesSecretsResultOutput() GetCodespacesSecretsResultOutput

func (GetCodespacesSecretsResultOutput) ToGetCodespacesSecretsResultOutputWithContext

func (o GetCodespacesSecretsResultOutput) ToGetCodespacesSecretsResultOutputWithContext(ctx context.Context) GetCodespacesSecretsResultOutput

type GetCodespacesSecretsSecret

type GetCodespacesSecretsSecret struct {
	// Timestamp of the secret creation
	CreatedAt string `pulumi:"createdAt"`
	// The name of the repository.
	Name string `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt string `pulumi:"updatedAt"`
}

type GetCodespacesSecretsSecretArgs

type GetCodespacesSecretsSecretArgs struct {
	// Timestamp of the secret creation
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The name of the repository.
	Name pulumi.StringInput `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
}

func (GetCodespacesSecretsSecretArgs) ElementType

func (GetCodespacesSecretsSecretArgs) ToGetCodespacesSecretsSecretOutput

func (i GetCodespacesSecretsSecretArgs) ToGetCodespacesSecretsSecretOutput() GetCodespacesSecretsSecretOutput

func (GetCodespacesSecretsSecretArgs) ToGetCodespacesSecretsSecretOutputWithContext

func (i GetCodespacesSecretsSecretArgs) ToGetCodespacesSecretsSecretOutputWithContext(ctx context.Context) GetCodespacesSecretsSecretOutput

type GetCodespacesSecretsSecretArray

type GetCodespacesSecretsSecretArray []GetCodespacesSecretsSecretInput

func (GetCodespacesSecretsSecretArray) ElementType

func (GetCodespacesSecretsSecretArray) ToGetCodespacesSecretsSecretArrayOutput

func (i GetCodespacesSecretsSecretArray) ToGetCodespacesSecretsSecretArrayOutput() GetCodespacesSecretsSecretArrayOutput

func (GetCodespacesSecretsSecretArray) ToGetCodespacesSecretsSecretArrayOutputWithContext

func (i GetCodespacesSecretsSecretArray) ToGetCodespacesSecretsSecretArrayOutputWithContext(ctx context.Context) GetCodespacesSecretsSecretArrayOutput

type GetCodespacesSecretsSecretArrayInput

type GetCodespacesSecretsSecretArrayInput interface {
	pulumi.Input

	ToGetCodespacesSecretsSecretArrayOutput() GetCodespacesSecretsSecretArrayOutput
	ToGetCodespacesSecretsSecretArrayOutputWithContext(context.Context) GetCodespacesSecretsSecretArrayOutput
}

GetCodespacesSecretsSecretArrayInput is an input type that accepts GetCodespacesSecretsSecretArray and GetCodespacesSecretsSecretArrayOutput values. You can construct a concrete instance of `GetCodespacesSecretsSecretArrayInput` via:

GetCodespacesSecretsSecretArray{ GetCodespacesSecretsSecretArgs{...} }

type GetCodespacesSecretsSecretArrayOutput

type GetCodespacesSecretsSecretArrayOutput struct{ *pulumi.OutputState }

func (GetCodespacesSecretsSecretArrayOutput) ElementType

func (GetCodespacesSecretsSecretArrayOutput) Index

func (GetCodespacesSecretsSecretArrayOutput) ToGetCodespacesSecretsSecretArrayOutput

func (o GetCodespacesSecretsSecretArrayOutput) ToGetCodespacesSecretsSecretArrayOutput() GetCodespacesSecretsSecretArrayOutput

func (GetCodespacesSecretsSecretArrayOutput) ToGetCodespacesSecretsSecretArrayOutputWithContext

func (o GetCodespacesSecretsSecretArrayOutput) ToGetCodespacesSecretsSecretArrayOutputWithContext(ctx context.Context) GetCodespacesSecretsSecretArrayOutput

type GetCodespacesSecretsSecretInput

type GetCodespacesSecretsSecretInput interface {
	pulumi.Input

	ToGetCodespacesSecretsSecretOutput() GetCodespacesSecretsSecretOutput
	ToGetCodespacesSecretsSecretOutputWithContext(context.Context) GetCodespacesSecretsSecretOutput
}

GetCodespacesSecretsSecretInput is an input type that accepts GetCodespacesSecretsSecretArgs and GetCodespacesSecretsSecretOutput values. You can construct a concrete instance of `GetCodespacesSecretsSecretInput` via:

GetCodespacesSecretsSecretArgs{...}

type GetCodespacesSecretsSecretOutput

type GetCodespacesSecretsSecretOutput struct{ *pulumi.OutputState }

func (GetCodespacesSecretsSecretOutput) CreatedAt

Timestamp of the secret creation

func (GetCodespacesSecretsSecretOutput) ElementType

func (GetCodespacesSecretsSecretOutput) Name

The name of the repository.

func (GetCodespacesSecretsSecretOutput) ToGetCodespacesSecretsSecretOutput

func (o GetCodespacesSecretsSecretOutput) ToGetCodespacesSecretsSecretOutput() GetCodespacesSecretsSecretOutput

func (GetCodespacesSecretsSecretOutput) ToGetCodespacesSecretsSecretOutputWithContext

func (o GetCodespacesSecretsSecretOutput) ToGetCodespacesSecretsSecretOutputWithContext(ctx context.Context) GetCodespacesSecretsSecretOutput

func (GetCodespacesSecretsSecretOutput) UpdatedAt

Timestamp of the secret last update

type GetCodespacesUserPublicKeyResult

type GetCodespacesUserPublicKeyResult 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"`
}

A collection of values returned by getCodespacesUserPublicKey.

func GetCodespacesUserPublicKey

func GetCodespacesUserPublicKey(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetCodespacesUserPublicKeyResult, error)

Use this data source to retrieve information about a GitHub Codespaces User 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 an user to retrieve it's Codespaces public key.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetCodespacesUserPublicKey(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetCodespacesUserPublicKeyResultOutput

type GetCodespacesUserPublicKeyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCodespacesUserPublicKey.

func (GetCodespacesUserPublicKeyResultOutput) ElementType

func (GetCodespacesUserPublicKeyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCodespacesUserPublicKeyResultOutput) Key

Actual key retrieved.

func (GetCodespacesUserPublicKeyResultOutput) KeyId

ID of the key that has been retrieved.

func (GetCodespacesUserPublicKeyResultOutput) ToGetCodespacesUserPublicKeyResultOutput

func (o GetCodespacesUserPublicKeyResultOutput) ToGetCodespacesUserPublicKeyResultOutput() GetCodespacesUserPublicKeyResultOutput

func (GetCodespacesUserPublicKeyResultOutput) ToGetCodespacesUserPublicKeyResultOutputWithContext

func (o GetCodespacesUserPublicKeyResultOutput) ToGetCodespacesUserPublicKeyResultOutputWithContext(ctx context.Context) GetCodespacesUserPublicKeyResultOutput

type GetCodespacesUserSecretsResult

type GetCodespacesUserSecretsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// list of secrets for the repository
	Secrets []GetCodespacesUserSecretsSecret `pulumi:"secrets"`
}

A collection of values returned by getCodespacesUserSecrets.

func GetCodespacesUserSecrets

func GetCodespacesUserSecrets(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetCodespacesUserSecretsResult, error)

Use this data source to retrieve the list of codespaces secrets of the user.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetCodespacesUserSecrets(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetCodespacesUserSecretsResultOutput

type GetCodespacesUserSecretsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCodespacesUserSecrets.

func (GetCodespacesUserSecretsResultOutput) ElementType

func (GetCodespacesUserSecretsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCodespacesUserSecretsResultOutput) Secrets

list of secrets for the repository

func (GetCodespacesUserSecretsResultOutput) ToGetCodespacesUserSecretsResultOutput

func (o GetCodespacesUserSecretsResultOutput) ToGetCodespacesUserSecretsResultOutput() GetCodespacesUserSecretsResultOutput

func (GetCodespacesUserSecretsResultOutput) ToGetCodespacesUserSecretsResultOutputWithContext

func (o GetCodespacesUserSecretsResultOutput) ToGetCodespacesUserSecretsResultOutputWithContext(ctx context.Context) GetCodespacesUserSecretsResultOutput

type GetCodespacesUserSecretsSecret

type GetCodespacesUserSecretsSecret struct {
	// Timestamp of the secret creation
	CreatedAt string `pulumi:"createdAt"`
	// Secret name
	Name string `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt string `pulumi:"updatedAt"`
	// Secret visibility
	Visibility string `pulumi:"visibility"`
}

type GetCodespacesUserSecretsSecretArgs

type GetCodespacesUserSecretsSecretArgs struct {
	// Timestamp of the secret creation
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// Secret name
	Name pulumi.StringInput `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// Secret visibility
	Visibility pulumi.StringInput `pulumi:"visibility"`
}

func (GetCodespacesUserSecretsSecretArgs) ElementType

func (GetCodespacesUserSecretsSecretArgs) ToGetCodespacesUserSecretsSecretOutput

func (i GetCodespacesUserSecretsSecretArgs) ToGetCodespacesUserSecretsSecretOutput() GetCodespacesUserSecretsSecretOutput

func (GetCodespacesUserSecretsSecretArgs) ToGetCodespacesUserSecretsSecretOutputWithContext

func (i GetCodespacesUserSecretsSecretArgs) ToGetCodespacesUserSecretsSecretOutputWithContext(ctx context.Context) GetCodespacesUserSecretsSecretOutput

type GetCodespacesUserSecretsSecretArray

type GetCodespacesUserSecretsSecretArray []GetCodespacesUserSecretsSecretInput

func (GetCodespacesUserSecretsSecretArray) ElementType

func (GetCodespacesUserSecretsSecretArray) ToGetCodespacesUserSecretsSecretArrayOutput

func (i GetCodespacesUserSecretsSecretArray) ToGetCodespacesUserSecretsSecretArrayOutput() GetCodespacesUserSecretsSecretArrayOutput

func (GetCodespacesUserSecretsSecretArray) ToGetCodespacesUserSecretsSecretArrayOutputWithContext

func (i GetCodespacesUserSecretsSecretArray) ToGetCodespacesUserSecretsSecretArrayOutputWithContext(ctx context.Context) GetCodespacesUserSecretsSecretArrayOutput

type GetCodespacesUserSecretsSecretArrayInput

type GetCodespacesUserSecretsSecretArrayInput interface {
	pulumi.Input

	ToGetCodespacesUserSecretsSecretArrayOutput() GetCodespacesUserSecretsSecretArrayOutput
	ToGetCodespacesUserSecretsSecretArrayOutputWithContext(context.Context) GetCodespacesUserSecretsSecretArrayOutput
}

GetCodespacesUserSecretsSecretArrayInput is an input type that accepts GetCodespacesUserSecretsSecretArray and GetCodespacesUserSecretsSecretArrayOutput values. You can construct a concrete instance of `GetCodespacesUserSecretsSecretArrayInput` via:

GetCodespacesUserSecretsSecretArray{ GetCodespacesUserSecretsSecretArgs{...} }

type GetCodespacesUserSecretsSecretArrayOutput

type GetCodespacesUserSecretsSecretArrayOutput struct{ *pulumi.OutputState }

func (GetCodespacesUserSecretsSecretArrayOutput) ElementType

func (GetCodespacesUserSecretsSecretArrayOutput) Index

func (GetCodespacesUserSecretsSecretArrayOutput) ToGetCodespacesUserSecretsSecretArrayOutput

func (o GetCodespacesUserSecretsSecretArrayOutput) ToGetCodespacesUserSecretsSecretArrayOutput() GetCodespacesUserSecretsSecretArrayOutput

func (GetCodespacesUserSecretsSecretArrayOutput) ToGetCodespacesUserSecretsSecretArrayOutputWithContext

func (o GetCodespacesUserSecretsSecretArrayOutput) ToGetCodespacesUserSecretsSecretArrayOutputWithContext(ctx context.Context) GetCodespacesUserSecretsSecretArrayOutput

type GetCodespacesUserSecretsSecretInput

type GetCodespacesUserSecretsSecretInput interface {
	pulumi.Input

	ToGetCodespacesUserSecretsSecretOutput() GetCodespacesUserSecretsSecretOutput
	ToGetCodespacesUserSecretsSecretOutputWithContext(context.Context) GetCodespacesUserSecretsSecretOutput
}

GetCodespacesUserSecretsSecretInput is an input type that accepts GetCodespacesUserSecretsSecretArgs and GetCodespacesUserSecretsSecretOutput values. You can construct a concrete instance of `GetCodespacesUserSecretsSecretInput` via:

GetCodespacesUserSecretsSecretArgs{...}

type GetCodespacesUserSecretsSecretOutput

type GetCodespacesUserSecretsSecretOutput struct{ *pulumi.OutputState }

func (GetCodespacesUserSecretsSecretOutput) CreatedAt

Timestamp of the secret creation

func (GetCodespacesUserSecretsSecretOutput) ElementType

func (GetCodespacesUserSecretsSecretOutput) Name

Secret name

func (GetCodespacesUserSecretsSecretOutput) ToGetCodespacesUserSecretsSecretOutput

func (o GetCodespacesUserSecretsSecretOutput) ToGetCodespacesUserSecretsSecretOutput() GetCodespacesUserSecretsSecretOutput

func (GetCodespacesUserSecretsSecretOutput) ToGetCodespacesUserSecretsSecretOutputWithContext

func (o GetCodespacesUserSecretsSecretOutput) ToGetCodespacesUserSecretsSecretOutputWithContext(ctx context.Context) GetCodespacesUserSecretsSecretOutput

func (GetCodespacesUserSecretsSecretOutput) UpdatedAt

Timestamp of the secret last update

func (GetCodespacesUserSecretsSecretOutput) Visibility

Secret visibility

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) 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) 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) Index

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) EventsUrl

The GitHub API URL for the collaborator's events.

func (GetCollaboratorsCollaboratorOutput) FollowersUrl

The GitHub API URL for the collaborator's followers.

func (GetCollaboratorsCollaboratorOutput) FollowingUrl

The GitHub API URL for those following the collaborator.

func (GetCollaboratorsCollaboratorOutput) GistsUrl

The GitHub API URL for the collaborator's gists.

func (GetCollaboratorsCollaboratorOutput) HtmlUrl

The GitHub HTML URL for the collaborator.

func (GetCollaboratorsCollaboratorOutput) Id

The ID of the collaborator.

func (GetCollaboratorsCollaboratorOutput) Login

The collaborator's login.

func (GetCollaboratorsCollaboratorOutput) OrganizationsUrl

The GitHub API URL for the collaborator's organizations.

func (GetCollaboratorsCollaboratorOutput) Permission

The permission of the collaborator.

func (GetCollaboratorsCollaboratorOutput) ReceivedEventsUrl

The GitHub API URL for the collaborator's received events.

func (GetCollaboratorsCollaboratorOutput) ReposUrl

The GitHub API URL for the collaborator's repositories.

func (GetCollaboratorsCollaboratorOutput) SiteAdmin

Whether the user is a GitHub admin.

func (GetCollaboratorsCollaboratorOutput) StarredUrl

The GitHub API URL for the collaborator's starred repositories.

func (GetCollaboratorsCollaboratorOutput) SubscriptionsUrl

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

The type of the collaborator (ex. `user`).

func (GetCollaboratorsCollaboratorOutput) Url

The GitHub API URL for the collaborator.

type GetCollaboratorsOutputArgs

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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetCollaborators(ctx, &github.GetCollaboratorsArgs{
			Owner:      "example_owner",
			Repository: "example_repository",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetCollaboratorsResultOutput

type GetCollaboratorsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCollaborators.

func (GetCollaboratorsResultOutput) Affiliation

func (GetCollaboratorsResultOutput) Collaborators

An Array of GitHub collaborators. Each `collaborator` block consists of the fields documented below.

func (GetCollaboratorsResultOutput) ElementType

func (GetCollaboratorsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCollaboratorsResultOutput) Owner

func (GetCollaboratorsResultOutput) Repository

func (GetCollaboratorsResultOutput) ToGetCollaboratorsResultOutput

func (o GetCollaboratorsResultOutput) ToGetCollaboratorsResultOutput() GetCollaboratorsResultOutput

func (GetCollaboratorsResultOutput) ToGetCollaboratorsResultOutputWithContext

func (o GetCollaboratorsResultOutput) ToGetCollaboratorsResultOutputWithContext(ctx context.Context) GetCollaboratorsResultOutput

type GetDependabotOrganizationPublicKeyResult

type GetDependabotOrganizationPublicKeyResult 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"`
}

A collection of values returned by getDependabotOrganizationPublicKey.

func GetDependabotOrganizationPublicKey

func GetDependabotOrganizationPublicKey(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetDependabotOrganizationPublicKeyResult, error)

Use this data source to retrieve information about a GitHub Dependabot Organization 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 an organization to retrieve it's Dependabot public key.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetDependabotOrganizationPublicKey(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetDependabotOrganizationPublicKeyResultOutput

type GetDependabotOrganizationPublicKeyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDependabotOrganizationPublicKey.

func (GetDependabotOrganizationPublicKeyResultOutput) ElementType

func (GetDependabotOrganizationPublicKeyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDependabotOrganizationPublicKeyResultOutput) Key

Actual key retrieved.

func (GetDependabotOrganizationPublicKeyResultOutput) KeyId

ID of the key that has been retrieved.

func (GetDependabotOrganizationPublicKeyResultOutput) ToGetDependabotOrganizationPublicKeyResultOutput

func (o GetDependabotOrganizationPublicKeyResultOutput) ToGetDependabotOrganizationPublicKeyResultOutput() GetDependabotOrganizationPublicKeyResultOutput

func (GetDependabotOrganizationPublicKeyResultOutput) ToGetDependabotOrganizationPublicKeyResultOutputWithContext

func (o GetDependabotOrganizationPublicKeyResultOutput) ToGetDependabotOrganizationPublicKeyResultOutputWithContext(ctx context.Context) GetDependabotOrganizationPublicKeyResultOutput

type GetDependabotOrganizationSecretsResult

type GetDependabotOrganizationSecretsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// list of secrets for the repository
	Secrets []GetDependabotOrganizationSecretsSecret `pulumi:"secrets"`
}

A collection of values returned by getDependabotOrganizationSecrets.

func GetDependabotOrganizationSecrets

func GetDependabotOrganizationSecrets(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetDependabotOrganizationSecretsResult, error)

Use this data source to retrieve the list of dependabot secrets of the organization.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetDependabotOrganizationSecrets(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetDependabotOrganizationSecretsResultOutput

type GetDependabotOrganizationSecretsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDependabotOrganizationSecrets.

func (GetDependabotOrganizationSecretsResultOutput) ElementType

func (GetDependabotOrganizationSecretsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDependabotOrganizationSecretsResultOutput) Secrets

list of secrets for the repository

func (GetDependabotOrganizationSecretsResultOutput) ToGetDependabotOrganizationSecretsResultOutput

func (o GetDependabotOrganizationSecretsResultOutput) ToGetDependabotOrganizationSecretsResultOutput() GetDependabotOrganizationSecretsResultOutput

func (GetDependabotOrganizationSecretsResultOutput) ToGetDependabotOrganizationSecretsResultOutputWithContext

func (o GetDependabotOrganizationSecretsResultOutput) ToGetDependabotOrganizationSecretsResultOutputWithContext(ctx context.Context) GetDependabotOrganizationSecretsResultOutput

type GetDependabotOrganizationSecretsSecret

type GetDependabotOrganizationSecretsSecret struct {
	// Timestamp of the secret creation
	CreatedAt string `pulumi:"createdAt"`
	// Secret name
	Name string `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt string `pulumi:"updatedAt"`
	// Secret visibility
	Visibility string `pulumi:"visibility"`
}

type GetDependabotOrganizationSecretsSecretArgs

type GetDependabotOrganizationSecretsSecretArgs struct {
	// Timestamp of the secret creation
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// Secret name
	Name pulumi.StringInput `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// Secret visibility
	Visibility pulumi.StringInput `pulumi:"visibility"`
}

func (GetDependabotOrganizationSecretsSecretArgs) ElementType

func (GetDependabotOrganizationSecretsSecretArgs) ToGetDependabotOrganizationSecretsSecretOutput

func (i GetDependabotOrganizationSecretsSecretArgs) ToGetDependabotOrganizationSecretsSecretOutput() GetDependabotOrganizationSecretsSecretOutput

func (GetDependabotOrganizationSecretsSecretArgs) ToGetDependabotOrganizationSecretsSecretOutputWithContext

func (i GetDependabotOrganizationSecretsSecretArgs) ToGetDependabotOrganizationSecretsSecretOutputWithContext(ctx context.Context) GetDependabotOrganizationSecretsSecretOutput

type GetDependabotOrganizationSecretsSecretArray

type GetDependabotOrganizationSecretsSecretArray []GetDependabotOrganizationSecretsSecretInput

func (GetDependabotOrganizationSecretsSecretArray) ElementType

func (GetDependabotOrganizationSecretsSecretArray) ToGetDependabotOrganizationSecretsSecretArrayOutput

func (i GetDependabotOrganizationSecretsSecretArray) ToGetDependabotOrganizationSecretsSecretArrayOutput() GetDependabotOrganizationSecretsSecretArrayOutput

func (GetDependabotOrganizationSecretsSecretArray) ToGetDependabotOrganizationSecretsSecretArrayOutputWithContext

func (i GetDependabotOrganizationSecretsSecretArray) ToGetDependabotOrganizationSecretsSecretArrayOutputWithContext(ctx context.Context) GetDependabotOrganizationSecretsSecretArrayOutput

type GetDependabotOrganizationSecretsSecretArrayInput

type GetDependabotOrganizationSecretsSecretArrayInput interface {
	pulumi.Input

	ToGetDependabotOrganizationSecretsSecretArrayOutput() GetDependabotOrganizationSecretsSecretArrayOutput
	ToGetDependabotOrganizationSecretsSecretArrayOutputWithContext(context.Context) GetDependabotOrganizationSecretsSecretArrayOutput
}

GetDependabotOrganizationSecretsSecretArrayInput is an input type that accepts GetDependabotOrganizationSecretsSecretArray and GetDependabotOrganizationSecretsSecretArrayOutput values. You can construct a concrete instance of `GetDependabotOrganizationSecretsSecretArrayInput` via:

GetDependabotOrganizationSecretsSecretArray{ GetDependabotOrganizationSecretsSecretArgs{...} }

type GetDependabotOrganizationSecretsSecretArrayOutput

type GetDependabotOrganizationSecretsSecretArrayOutput struct{ *pulumi.OutputState }

func (GetDependabotOrganizationSecretsSecretArrayOutput) ElementType

func (GetDependabotOrganizationSecretsSecretArrayOutput) Index

func (GetDependabotOrganizationSecretsSecretArrayOutput) ToGetDependabotOrganizationSecretsSecretArrayOutput

func (o GetDependabotOrganizationSecretsSecretArrayOutput) ToGetDependabotOrganizationSecretsSecretArrayOutput() GetDependabotOrganizationSecretsSecretArrayOutput

func (GetDependabotOrganizationSecretsSecretArrayOutput) ToGetDependabotOrganizationSecretsSecretArrayOutputWithContext

func (o GetDependabotOrganizationSecretsSecretArrayOutput) ToGetDependabotOrganizationSecretsSecretArrayOutputWithContext(ctx context.Context) GetDependabotOrganizationSecretsSecretArrayOutput

type GetDependabotOrganizationSecretsSecretInput

type GetDependabotOrganizationSecretsSecretInput interface {
	pulumi.Input

	ToGetDependabotOrganizationSecretsSecretOutput() GetDependabotOrganizationSecretsSecretOutput
	ToGetDependabotOrganizationSecretsSecretOutputWithContext(context.Context) GetDependabotOrganizationSecretsSecretOutput
}

GetDependabotOrganizationSecretsSecretInput is an input type that accepts GetDependabotOrganizationSecretsSecretArgs and GetDependabotOrganizationSecretsSecretOutput values. You can construct a concrete instance of `GetDependabotOrganizationSecretsSecretInput` via:

GetDependabotOrganizationSecretsSecretArgs{...}

type GetDependabotOrganizationSecretsSecretOutput

type GetDependabotOrganizationSecretsSecretOutput struct{ *pulumi.OutputState }

func (GetDependabotOrganizationSecretsSecretOutput) CreatedAt

Timestamp of the secret creation

func (GetDependabotOrganizationSecretsSecretOutput) ElementType

func (GetDependabotOrganizationSecretsSecretOutput) Name

Secret name

func (GetDependabotOrganizationSecretsSecretOutput) ToGetDependabotOrganizationSecretsSecretOutput

func (o GetDependabotOrganizationSecretsSecretOutput) ToGetDependabotOrganizationSecretsSecretOutput() GetDependabotOrganizationSecretsSecretOutput

func (GetDependabotOrganizationSecretsSecretOutput) ToGetDependabotOrganizationSecretsSecretOutputWithContext

func (o GetDependabotOrganizationSecretsSecretOutput) ToGetDependabotOrganizationSecretsSecretOutputWithContext(ctx context.Context) GetDependabotOrganizationSecretsSecretOutput

func (GetDependabotOrganizationSecretsSecretOutput) UpdatedAt

Timestamp of the secret last update

func (GetDependabotOrganizationSecretsSecretOutput) Visibility

Secret visibility

type GetDependabotPublicKeyArgs

type GetDependabotPublicKeyArgs struct {
	// Name of the repository to get public key from.
	Repository string `pulumi:"repository"`
}

A collection of arguments for invoking getDependabotPublicKey.

type GetDependabotPublicKeyOutputArgs

type GetDependabotPublicKeyOutputArgs struct {
	// Name of the repository to get public key from.
	Repository pulumi.StringInput `pulumi:"repository"`
}

A collection of arguments for invoking getDependabotPublicKey.

func (GetDependabotPublicKeyOutputArgs) ElementType

type GetDependabotPublicKeyResult

type GetDependabotPublicKeyResult 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 getDependabotPublicKey.

func GetDependabotPublicKey

func GetDependabotPublicKey(ctx *pulumi.Context, args *GetDependabotPublicKeyArgs, opts ...pulumi.InvokeOption) (*GetDependabotPublicKeyResult, error)

Use this data source to retrieve information about a GitHub Dependabot 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 Dependabot public key.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetDependabotPublicKey(ctx, &github.GetDependabotPublicKeyArgs{
			Repository: "example_repo",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetDependabotPublicKeyResultOutput

type GetDependabotPublicKeyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDependabotPublicKey.

func (GetDependabotPublicKeyResultOutput) ElementType

func (GetDependabotPublicKeyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDependabotPublicKeyResultOutput) Key

Actual key retrieved.

func (GetDependabotPublicKeyResultOutput) KeyId

ID of the key that has been retrieved.

func (GetDependabotPublicKeyResultOutput) Repository

func (GetDependabotPublicKeyResultOutput) ToGetDependabotPublicKeyResultOutput

func (o GetDependabotPublicKeyResultOutput) ToGetDependabotPublicKeyResultOutput() GetDependabotPublicKeyResultOutput

func (GetDependabotPublicKeyResultOutput) ToGetDependabotPublicKeyResultOutputWithContext

func (o GetDependabotPublicKeyResultOutput) ToGetDependabotPublicKeyResultOutputWithContext(ctx context.Context) GetDependabotPublicKeyResultOutput

type GetDependabotSecretsArgs

type GetDependabotSecretsArgs struct {
	// Full name of the repository (in `org/name` format).
	FullName *string `pulumi:"fullName"`
	// The name of the repository.
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getDependabotSecrets.

type GetDependabotSecretsOutputArgs

type GetDependabotSecretsOutputArgs struct {
	// Full name of the repository (in `org/name` format).
	FullName pulumi.StringPtrInput `pulumi:"fullName"`
	// The name of the repository.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getDependabotSecrets.

func (GetDependabotSecretsOutputArgs) ElementType

type GetDependabotSecretsResult

type GetDependabotSecretsResult struct {
	FullName string `pulumi:"fullName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Secret name
	Name string `pulumi:"name"`
	// list of dependabot secrets for the repository
	Secrets []GetDependabotSecretsSecret `pulumi:"secrets"`
}

A collection of values returned by getDependabotSecrets.

func GetDependabotSecrets

func GetDependabotSecrets(ctx *pulumi.Context, args *GetDependabotSecretsArgs, opts ...pulumi.InvokeOption) (*GetDependabotSecretsResult, error)

Use this data source to retrieve the list of dependabot secrets for a GitHub repository.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetDependabotSecrets(ctx, &github.GetDependabotSecretsArgs{
			Name: pulumi.StringRef("example"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetDependabotSecretsResultOutput

type GetDependabotSecretsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDependabotSecrets.

func (GetDependabotSecretsResultOutput) ElementType

func (GetDependabotSecretsResultOutput) FullName

func (GetDependabotSecretsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetDependabotSecretsResultOutput) Name

Secret name

func (GetDependabotSecretsResultOutput) Secrets

list of dependabot secrets for the repository

func (GetDependabotSecretsResultOutput) ToGetDependabotSecretsResultOutput

func (o GetDependabotSecretsResultOutput) ToGetDependabotSecretsResultOutput() GetDependabotSecretsResultOutput

func (GetDependabotSecretsResultOutput) ToGetDependabotSecretsResultOutputWithContext

func (o GetDependabotSecretsResultOutput) ToGetDependabotSecretsResultOutputWithContext(ctx context.Context) GetDependabotSecretsResultOutput

type GetDependabotSecretsSecret

type GetDependabotSecretsSecret struct {
	// Timestamp of the secret creation
	CreatedAt string `pulumi:"createdAt"`
	// The name of the repository.
	Name string `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt string `pulumi:"updatedAt"`
}

type GetDependabotSecretsSecretArgs

type GetDependabotSecretsSecretArgs struct {
	// Timestamp of the secret creation
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The name of the repository.
	Name pulumi.StringInput `pulumi:"name"`
	// Timestamp of the secret last update
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
}

func (GetDependabotSecretsSecretArgs) ElementType

func (GetDependabotSecretsSecretArgs) ToGetDependabotSecretsSecretOutput

func (i GetDependabotSecretsSecretArgs) ToGetDependabotSecretsSecretOutput() GetDependabotSecretsSecretOutput

func (GetDependabotSecretsSecretArgs) ToGetDependabotSecretsSecretOutputWithContext

func (i GetDependabotSecretsSecretArgs) ToGetDependabotSecretsSecretOutputWithContext(ctx context.Context) GetDependabotSecretsSecretOutput

type GetDependabotSecretsSecretArray

type GetDependabotSecretsSecretArray []GetDependabotSecretsSecretInput

func (GetDependabotSecretsSecretArray) ElementType

func (GetDependabotSecretsSecretArray) ToGetDependabotSecretsSecretArrayOutput

func (i GetDependabotSecretsSecretArray) ToGetDependabotSecretsSecretArrayOutput() GetDependabotSecretsSecretArrayOutput

func (GetDependabotSecretsSecretArray) ToGetDependabotSecretsSecretArrayOutputWithContext

func (i GetDependabotSecretsSecretArray) ToGetDependabotSecretsSecretArrayOutputWithContext(ctx context.Context) GetDependabotSecretsSecretArrayOutput

type GetDependabotSecretsSecretArrayInput

type GetDependabotSecretsSecretArrayInput interface {
	pulumi.Input

	ToGetDependabotSecretsSecretArrayOutput() GetDependabotSecretsSecretArrayOutput
	ToGetDependabotSecretsSecretArrayOutputWithContext(context.Context) GetDependabotSecretsSecretArrayOutput
}

GetDependabotSecretsSecretArrayInput is an input type that accepts GetDependabotSecretsSecretArray and GetDependabotSecretsSecretArrayOutput values. You can construct a concrete instance of `GetDependabotSecretsSecretArrayInput` via:

GetDependabotSecretsSecretArray{ GetDependabotSecretsSecretArgs{...} }

type GetDependabotSecretsSecretArrayOutput

type GetDependabotSecretsSecretArrayOutput struct{ *pulumi.OutputState }

func (GetDependabotSecretsSecretArrayOutput) ElementType

func (GetDependabotSecretsSecretArrayOutput) Index

func (GetDependabotSecretsSecretArrayOutput) ToGetDependabotSecretsSecretArrayOutput

func (o GetDependabotSecretsSecretArrayOutput) ToGetDependabotSecretsSecretArrayOutput() GetDependabotSecretsSecretArrayOutput

func (GetDependabotSecretsSecretArrayOutput) ToGetDependabotSecretsSecretArrayOutputWithContext

func (o GetDependabotSecretsSecretArrayOutput) ToGetDependabotSecretsSecretArrayOutputWithContext(ctx context.Context) GetDependabotSecretsSecretArrayOutput

type GetDependabotSecretsSecretInput

type GetDependabotSecretsSecretInput interface {
	pulumi.Input

	ToGetDependabotSecretsSecretOutput() GetDependabotSecretsSecretOutput
	ToGetDependabotSecretsSecretOutputWithContext(context.Context) GetDependabotSecretsSecretOutput
}

GetDependabotSecretsSecretInput is an input type that accepts GetDependabotSecretsSecretArgs and GetDependabotSecretsSecretOutput values. You can construct a concrete instance of `GetDependabotSecretsSecretInput` via:

GetDependabotSecretsSecretArgs{...}

type GetDependabotSecretsSecretOutput

type GetDependabotSecretsSecretOutput struct{ *pulumi.OutputState }

func (GetDependabotSecretsSecretOutput) CreatedAt

Timestamp of the secret creation

func (GetDependabotSecretsSecretOutput) ElementType

func (GetDependabotSecretsSecretOutput) Name

The name of the repository.

func (GetDependabotSecretsSecretOutput) ToGetDependabotSecretsSecretOutput

func (o GetDependabotSecretsSecretOutput) ToGetDependabotSecretsSecretOutput() GetDependabotSecretsSecretOutput

func (GetDependabotSecretsSecretOutput) ToGetDependabotSecretsSecretOutputWithContext

func (o GetDependabotSecretsSecretOutput) ToGetDependabotSecretsSecretOutputWithContext(ctx context.Context) GetDependabotSecretsSecretOutput

func (GetDependabotSecretsSecretOutput) UpdatedAt

Timestamp of the secret last update

type GetEnterpriseArgs

type GetEnterpriseArgs struct {
	// The URL slug identifying the enterprise.
	Slug string `pulumi:"slug"`
}

A collection of arguments for invoking getEnterprise.

type GetEnterpriseOutputArgs

type GetEnterpriseOutputArgs struct {
	// The URL slug identifying the enterprise.
	Slug pulumi.StringInput `pulumi:"slug"`
}

A collection of arguments for invoking getEnterprise.

func (GetEnterpriseOutputArgs) ElementType

func (GetEnterpriseOutputArgs) ElementType() reflect.Type

type GetEnterpriseResult

type GetEnterpriseResult struct {
	// The time the enterprise was created.
	CreatedAt string `pulumi:"createdAt"`
	// The database ID of the enterprise.
	DatabaseId int `pulumi:"databaseId"`
	// The description of the enterprise.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the enterprise.
	Name string `pulumi:"name"`
	// The URL slug identifying the enterprise.
	Slug string `pulumi:"slug"`
	// The url for the enterprise.
	Url string `pulumi:"url"`
}

A collection of values returned by getEnterprise.

func GetEnterprise

func GetEnterprise(ctx *pulumi.Context, args *GetEnterpriseArgs, opts ...pulumi.InvokeOption) (*GetEnterpriseResult, error)

Use this data source to retrieve basic information about a GitHub enterprise.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetEnterprise(ctx, &github.GetEnterpriseArgs{
			Slug: "example-co",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetEnterpriseResultOutput

type GetEnterpriseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEnterprise.

func (GetEnterpriseResultOutput) CreatedAt

The time the enterprise was created.

func (GetEnterpriseResultOutput) DatabaseId added in v6.2.0

The database ID of the enterprise.

func (GetEnterpriseResultOutput) Description

The description of the enterprise.

func (GetEnterpriseResultOutput) ElementType

func (GetEnterpriseResultOutput) ElementType() reflect.Type

func (GetEnterpriseResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetEnterpriseResultOutput) Name

The name of the enterprise.

func (GetEnterpriseResultOutput) Slug

The URL slug identifying the enterprise.

func (GetEnterpriseResultOutput) ToGetEnterpriseResultOutput

func (o GetEnterpriseResultOutput) ToGetEnterpriseResultOutput() GetEnterpriseResultOutput

func (GetEnterpriseResultOutput) ToGetEnterpriseResultOutputWithContext

func (o GetEnterpriseResultOutput) ToGetEnterpriseResultOutputWithContext(ctx context.Context) GetEnterpriseResultOutput

func (GetEnterpriseResultOutput) Url

The url for the enterprise.

type GetExternalGroupsExternalGroup

type GetExternalGroupsExternalGroup struct {
	// the ID of the group.
	GroupId int `pulumi:"groupId"`
	// the name of the group.
	GroupName string `pulumi:"groupName"`
	// the date the group was last updated.
	UpdatedAt string `pulumi:"updatedAt"`
}

type GetExternalGroupsExternalGroupArgs

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

func (GetExternalGroupsExternalGroupArgs) ToGetExternalGroupsExternalGroupOutput

func (i GetExternalGroupsExternalGroupArgs) ToGetExternalGroupsExternalGroupOutput() GetExternalGroupsExternalGroupOutput

func (GetExternalGroupsExternalGroupArgs) ToGetExternalGroupsExternalGroupOutputWithContext

func (i GetExternalGroupsExternalGroupArgs) ToGetExternalGroupsExternalGroupOutputWithContext(ctx context.Context) GetExternalGroupsExternalGroupOutput

type GetExternalGroupsExternalGroupArray

type GetExternalGroupsExternalGroupArray []GetExternalGroupsExternalGroupInput

func (GetExternalGroupsExternalGroupArray) ElementType

func (GetExternalGroupsExternalGroupArray) ToGetExternalGroupsExternalGroupArrayOutput

func (i GetExternalGroupsExternalGroupArray) ToGetExternalGroupsExternalGroupArrayOutput() GetExternalGroupsExternalGroupArrayOutput

func (GetExternalGroupsExternalGroupArray) ToGetExternalGroupsExternalGroupArrayOutputWithContext

func (i GetExternalGroupsExternalGroupArray) ToGetExternalGroupsExternalGroupArrayOutputWithContext(ctx context.Context) GetExternalGroupsExternalGroupArrayOutput

type GetExternalGroupsExternalGroupArrayInput

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

type GetExternalGroupsExternalGroupArrayOutput struct{ *pulumi.OutputState }

func (GetExternalGroupsExternalGroupArrayOutput) ElementType

func (GetExternalGroupsExternalGroupArrayOutput) Index

func (GetExternalGroupsExternalGroupArrayOutput) ToGetExternalGroupsExternalGroupArrayOutput

func (o GetExternalGroupsExternalGroupArrayOutput) ToGetExternalGroupsExternalGroupArrayOutput() GetExternalGroupsExternalGroupArrayOutput

func (GetExternalGroupsExternalGroupArrayOutput) ToGetExternalGroupsExternalGroupArrayOutputWithContext

func (o GetExternalGroupsExternalGroupArrayOutput) ToGetExternalGroupsExternalGroupArrayOutputWithContext(ctx context.Context) GetExternalGroupsExternalGroupArrayOutput

type GetExternalGroupsExternalGroupInput

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

type GetExternalGroupsExternalGroupOutput struct{ *pulumi.OutputState }

func (GetExternalGroupsExternalGroupOutput) ElementType

func (GetExternalGroupsExternalGroupOutput) GroupId

the ID of the group.

func (GetExternalGroupsExternalGroupOutput) GroupName

the name of the group.

func (GetExternalGroupsExternalGroupOutput) ToGetExternalGroupsExternalGroupOutput

func (o GetExternalGroupsExternalGroupOutput) ToGetExternalGroupsExternalGroupOutput() GetExternalGroupsExternalGroupOutput

func (GetExternalGroupsExternalGroupOutput) ToGetExternalGroupsExternalGroupOutputWithContext

func (o GetExternalGroupsExternalGroupOutput) ToGetExternalGroupsExternalGroupOutputWithContext(ctx context.Context) GetExternalGroupsExternalGroupOutput

func (GetExternalGroupsExternalGroupOutput) UpdatedAt

the date the group was last updated.

type GetExternalGroupsResult

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

func GetExternalGroups(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetExternalGroupsResult, error)

Use this data source to retrieve external groups belonging to an organization.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

type GetExternalGroupsResultOutput

type GetExternalGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getExternalGroups.

func GetExternalGroupsOutput

func GetExternalGroupsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetExternalGroupsResultOutput

func (GetExternalGroupsResultOutput) ElementType

func (GetExternalGroupsResultOutput) ExternalGroups

an array of external groups belonging to the organization. Each group consists of the fields documented below.

func (GetExternalGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetExternalGroupsResultOutput) ToGetExternalGroupsResultOutput

func (o GetExternalGroupsResultOutput) ToGetExternalGroupsResultOutput() GetExternalGroupsResultOutput

func (GetExternalGroupsResultOutput) ToGetExternalGroupsResultOutputWithContext

func (o GetExternalGroupsResultOutput) ToGetExternalGroupsResultOutputWithContext(ctx context.Context) GetExternalGroupsResultOutput

type GetGithubAppArgs

type GetGithubAppArgs struct {
	// The URL-friendly name of your GitHub App.
	Slug string `pulumi:"slug"`
}

A collection of arguments for invoking getGithubApp.

type GetGithubAppOutputArgs

type GetGithubAppOutputArgs struct {
	// The URL-friendly name of your GitHub App.
	Slug pulumi.StringInput `pulumi:"slug"`
}

A collection of arguments for invoking getGithubApp.

func (GetGithubAppOutputArgs) ElementType

func (GetGithubAppOutputArgs) ElementType() reflect.Type

type GetGithubAppResult

type GetGithubAppResult struct {
	// The app's description.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The app's full name.
	Name string `pulumi:"name"`
	// The Node ID of the app.
	NodeId string `pulumi:"nodeId"`
	Slug   string `pulumi:"slug"`
}

A collection of values returned by getGithubApp.

func GetGithubApp

func GetGithubApp(ctx *pulumi.Context, args *GetGithubAppArgs, opts ...pulumi.InvokeOption) (*GetGithubAppResult, error)

Use this data source to retrieve information about an app.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetGithubApp(ctx, &github.GetGithubAppArgs{
			Slug: "foobar",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetGithubAppResultOutput

type GetGithubAppResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGithubApp.

func (GetGithubAppResultOutput) Description

The app's description.

func (GetGithubAppResultOutput) ElementType

func (GetGithubAppResultOutput) ElementType() reflect.Type

func (GetGithubAppResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetGithubAppResultOutput) Name

The app's full name.

func (GetGithubAppResultOutput) NodeId

The Node ID of the app.

func (GetGithubAppResultOutput) Slug

func (GetGithubAppResultOutput) ToGetGithubAppResultOutput

func (o GetGithubAppResultOutput) ToGetGithubAppResultOutput() GetGithubAppResultOutput

func (GetGithubAppResultOutput) ToGetGithubAppResultOutputWithContext

func (o GetGithubAppResultOutput) ToGetGithubAppResultOutputWithContext(ctx context.Context) GetGithubAppResultOutput

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 Packages.
	Packages []string `pulumi:"packages"`
	// A subset of the `packages` array that contains IP addresses in IPv4 CIDR format.
	PackagesIpv4s []string `pulumi:"packagesIpv4s"`
	// A subset of the `packages` array that contains IP addresses in IPv6 CIDR format.
	PackagesIpv6s []string `pulumi:"packagesIpv6s"`
	// 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

type GetIpRangesResultOutput

type GetIpRangesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIpRanges.

func GetIpRangesOutput

func GetIpRangesOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetIpRangesResultOutput

func (GetIpRangesResultOutput) Actions

An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.

func (GetIpRangesResultOutput) ActionsIpv4s

A subset of the `actions` array that contains IP addresses in IPv4 CIDR format.

func (GetIpRangesResultOutput) ActionsIpv6s

A subset of the `actions` array that contains IP addresses in IPv6 CIDR format.

func (GetIpRangesResultOutput) ApiIpv4s

A subset of the `api` array that contains IP addresses in IPv4 CIDR format.

func (GetIpRangesResultOutput) ApiIpv6s

A subset of the `api` array that contains IP addresses in IPv6 CIDR format.

func (GetIpRangesResultOutput) Apis

An Array of IP addresses in CIDR format for the GitHub API.

func (GetIpRangesResultOutput) DependabotIpv4s

func (o GetIpRangesResultOutput) DependabotIpv4s() pulumi.StringArrayOutput

A subset of the `dependabot` array that contains IP addresses in IPv4 CIDR format.

func (GetIpRangesResultOutput) DependabotIpv6s

func (o GetIpRangesResultOutput) DependabotIpv6s() pulumi.StringArrayOutput

A subset of the `dependabot` array that contains IP addresses in IPv6 CIDR format.

func (GetIpRangesResultOutput) Dependabots

An array of IP addresses in CIDR format specifying the A records for dependabot.

func (GetIpRangesResultOutput) ElementType

func (GetIpRangesResultOutput) ElementType() reflect.Type

func (GetIpRangesResultOutput) GitIpv4s

A subset of the `git` array that contains IP addresses in IPv4 CIDR format.

func (GetIpRangesResultOutput) GitIpv6s

A subset of the `git` array that contains IP addresses in IPv6 CIDR format.

func (GetIpRangesResultOutput) Gits

An Array of IP addresses in CIDR format specifying the Git servers.

func (GetIpRangesResultOutput) Hooks

An Array of IP addresses in CIDR format specifying the addresses that incoming service hooks will originate from.

func (GetIpRangesResultOutput) HooksIpv4s

A subset of the `hooks` array that contains IP addresses in IPv4 CIDR format.

func (GetIpRangesResultOutput) HooksIpv6s

A subset of the `hooks` array that contains IP addresses in IPv6 CIDR format.

func (GetIpRangesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetIpRangesResultOutput) ImporterIpv4s

A subset of the `importer` array that contains IP addresses in IPv4 CIDR format.

func (GetIpRangesResultOutput) ImporterIpv6s

A subset of the `importer` array that contains IP addresses in IPv6 CIDR format.

func (GetIpRangesResultOutput) Importers

An Array of IP addresses in CIDR format specifying the A records for GitHub Importer.

func (GetIpRangesResultOutput) Packages

An Array of IP addresses in CIDR format specifying the A records for GitHub Packages.

func (GetIpRangesResultOutput) PackagesIpv4s

A subset of the `packages` array that contains IP addresses in IPv4 CIDR format.

func (GetIpRangesResultOutput) PackagesIpv6s

A subset of the `packages` array that contains IP addresses in IPv6 CIDR format.

func (GetIpRangesResultOutput) Pages

An Array of IP addresses in CIDR format specifying the A records for GitHub Pages.

func (GetIpRangesResultOutput) PagesIpv4s

A subset of the `pages` array that contains IP addresses in IPv4 CIDR format.

func (GetIpRangesResultOutput) PagesIpv6s

A subset of the `pages` array that contains IP addresses in IPv6 CIDR format.

func (GetIpRangesResultOutput) ToGetIpRangesResultOutput

func (o GetIpRangesResultOutput) ToGetIpRangesResultOutput() GetIpRangesResultOutput

func (GetIpRangesResultOutput) ToGetIpRangesResultOutputWithContext

func (o GetIpRangesResultOutput) ToGetIpRangesResultOutputWithContext(ctx context.Context) GetIpRangesResultOutput

func (GetIpRangesResultOutput) WebIpv4s

A subset of the `web` array that contains IP addresses in IPv4 CIDR format.

func (GetIpRangesResultOutput) WebIpv6s

A subset of the `web` array that contains IP addresses in IPv6 CIDR format.

func (GetIpRangesResultOutput) Webs

An Array of IP addresses in CIDR format for GitHub Web.

type GetIssueLabelsLabel

type GetIssueLabelsLabel struct {
	// The hexadecimal color code for the label, without the leading #.
	Color string `pulumi:"color"`
	// A short description of the label.
	Description string `pulumi:"description"`
	// The name of the label.
	Name string `pulumi:"name"`
	// The URL of the label.
	Url string `pulumi:"url"`
}

type GetIssueLabelsLabelArgs

type GetIssueLabelsLabelArgs struct {
	// The hexadecimal color code for the label, without the leading #.
	Color pulumi.StringInput `pulumi:"color"`
	// A short description of the label.
	Description pulumi.StringInput `pulumi:"description"`
	// The name of the label.
	Name pulumi.StringInput `pulumi:"name"`
	// The URL of the label.
	Url pulumi.StringInput `pulumi:"url"`
}

func (GetIssueLabelsLabelArgs) ElementType

func (GetIssueLabelsLabelArgs) ElementType() reflect.Type

func (GetIssueLabelsLabelArgs) ToGetIssueLabelsLabelOutput

func (i GetIssueLabelsLabelArgs) ToGetIssueLabelsLabelOutput() GetIssueLabelsLabelOutput

func (GetIssueLabelsLabelArgs) ToGetIssueLabelsLabelOutputWithContext

func (i GetIssueLabelsLabelArgs) ToGetIssueLabelsLabelOutputWithContext(ctx context.Context) GetIssueLabelsLabelOutput

type GetIssueLabelsLabelArray

type GetIssueLabelsLabelArray []GetIssueLabelsLabelInput

func (GetIssueLabelsLabelArray) ElementType

func (GetIssueLabelsLabelArray) ElementType() reflect.Type

func (GetIssueLabelsLabelArray) ToGetIssueLabelsLabelArrayOutput

func (i GetIssueLabelsLabelArray) ToGetIssueLabelsLabelArrayOutput() GetIssueLabelsLabelArrayOutput

func (GetIssueLabelsLabelArray) ToGetIssueLabelsLabelArrayOutputWithContext

func (i GetIssueLabelsLabelArray) ToGetIssueLabelsLabelArrayOutputWithContext(ctx context.Context) GetIssueLabelsLabelArrayOutput

type GetIssueLabelsLabelArrayInput

type GetIssueLabelsLabelArrayInput interface {
	pulumi.Input

	ToGetIssueLabelsLabelArrayOutput() GetIssueLabelsLabelArrayOutput
	ToGetIssueLabelsLabelArrayOutputWithContext(context.Context) GetIssueLabelsLabelArrayOutput
}

GetIssueLabelsLabelArrayInput is an input type that accepts GetIssueLabelsLabelArray and GetIssueLabelsLabelArrayOutput values. You can construct a concrete instance of `GetIssueLabelsLabelArrayInput` via:

GetIssueLabelsLabelArray{ GetIssueLabelsLabelArgs{...} }

type GetIssueLabelsLabelArrayOutput

type GetIssueLabelsLabelArrayOutput struct{ *pulumi.OutputState }

func (GetIssueLabelsLabelArrayOutput) ElementType

func (GetIssueLabelsLabelArrayOutput) Index

func (GetIssueLabelsLabelArrayOutput) ToGetIssueLabelsLabelArrayOutput

func (o GetIssueLabelsLabelArrayOutput) ToGetIssueLabelsLabelArrayOutput() GetIssueLabelsLabelArrayOutput

func (GetIssueLabelsLabelArrayOutput) ToGetIssueLabelsLabelArrayOutputWithContext

func (o GetIssueLabelsLabelArrayOutput) ToGetIssueLabelsLabelArrayOutputWithContext(ctx context.Context) GetIssueLabelsLabelArrayOutput

type GetIssueLabelsLabelInput

type GetIssueLabelsLabelInput interface {
	pulumi.Input

	ToGetIssueLabelsLabelOutput() GetIssueLabelsLabelOutput
	ToGetIssueLabelsLabelOutputWithContext(context.Context) GetIssueLabelsLabelOutput
}

GetIssueLabelsLabelInput is an input type that accepts GetIssueLabelsLabelArgs and GetIssueLabelsLabelOutput values. You can construct a concrete instance of `GetIssueLabelsLabelInput` via:

GetIssueLabelsLabelArgs{...}

type GetIssueLabelsLabelOutput

type GetIssueLabelsLabelOutput struct{ *pulumi.OutputState }

func (GetIssueLabelsLabelOutput) Color

The hexadecimal color code for the label, without the leading #.

func (GetIssueLabelsLabelOutput) Description

A short description of the label.

func (GetIssueLabelsLabelOutput) ElementType

func (GetIssueLabelsLabelOutput) ElementType() reflect.Type

func (GetIssueLabelsLabelOutput) Name

The name of the label.

func (GetIssueLabelsLabelOutput) ToGetIssueLabelsLabelOutput

func (o GetIssueLabelsLabelOutput) ToGetIssueLabelsLabelOutput() GetIssueLabelsLabelOutput

func (GetIssueLabelsLabelOutput) ToGetIssueLabelsLabelOutputWithContext

func (o GetIssueLabelsLabelOutput) ToGetIssueLabelsLabelOutputWithContext(ctx context.Context) GetIssueLabelsLabelOutput

func (GetIssueLabelsLabelOutput) Url

The URL of the label.

type GetOrganizationArgs

type GetOrganizationArgs struct {
	// Whether or not to include archived repos in the `repositories` list
	IgnoreArchivedRepos *bool `pulumi:"ignoreArchivedRepos"`
	// The organization's public profile name
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getOrganization.

type GetOrganizationExternalIdentitiesIdentity

type GetOrganizationExternalIdentitiesIdentity struct {
	// The username of the GitHub user
	Login string `pulumi:"login"`
	// An Object containing the user's SAML data. This object will
	// be empty if the user is not managed by SAML.
	SamlIdentity map[string]string `pulumi:"samlIdentity"`
	// An Object contining the user's SCIM data. This object will
	// be empty if the user is not managed by SCIM.
	ScimIdentity map[string]string `pulumi:"scimIdentity"`
}

type GetOrganizationExternalIdentitiesIdentityArgs

type GetOrganizationExternalIdentitiesIdentityArgs struct {
	// The username of the GitHub user
	Login pulumi.StringInput `pulumi:"login"`
	// An Object containing the user's SAML data. This object will
	// be empty if the user is not managed by SAML.
	SamlIdentity pulumi.StringMapInput `pulumi:"samlIdentity"`
	// An Object contining the user's SCIM data. This object will
	// be empty if the user is not managed by SCIM.
	ScimIdentity pulumi.StringMapInput `pulumi:"scimIdentity"`
}

func (GetOrganizationExternalIdentitiesIdentityArgs) ElementType

func (GetOrganizationExternalIdentitiesIdentityArgs) ToGetOrganizationExternalIdentitiesIdentityOutput

func (i GetOrganizationExternalIdentitiesIdentityArgs) ToGetOrganizationExternalIdentitiesIdentityOutput() GetOrganizationExternalIdentitiesIdentityOutput

func (GetOrganizationExternalIdentitiesIdentityArgs) ToGetOrganizationExternalIdentitiesIdentityOutputWithContext

func (i GetOrganizationExternalIdentitiesIdentityArgs) ToGetOrganizationExternalIdentitiesIdentityOutputWithContext(ctx context.Context) GetOrganizationExternalIdentitiesIdentityOutput

type GetOrganizationExternalIdentitiesIdentityArray

type GetOrganizationExternalIdentitiesIdentityArray []GetOrganizationExternalIdentitiesIdentityInput

func (GetOrganizationExternalIdentitiesIdentityArray) ElementType

func (GetOrganizationExternalIdentitiesIdentityArray) ToGetOrganizationExternalIdentitiesIdentityArrayOutput

func (i GetOrganizationExternalIdentitiesIdentityArray) ToGetOrganizationExternalIdentitiesIdentityArrayOutput() GetOrganizationExternalIdentitiesIdentityArrayOutput

func (GetOrganizationExternalIdentitiesIdentityArray) ToGetOrganizationExternalIdentitiesIdentityArrayOutputWithContext

func (i GetOrganizationExternalIdentitiesIdentityArray) ToGetOrganizationExternalIdentitiesIdentityArrayOutputWithContext(ctx context.Context) GetOrganizationExternalIdentitiesIdentityArrayOutput

type GetOrganizationExternalIdentitiesIdentityArrayInput

type GetOrganizationExternalIdentitiesIdentityArrayInput interface {
	pulumi.Input

	ToGetOrganizationExternalIdentitiesIdentityArrayOutput() GetOrganizationExternalIdentitiesIdentityArrayOutput
	ToGetOrganizationExternalIdentitiesIdentityArrayOutputWithContext(context.Context) GetOrganizationExternalIdentitiesIdentityArrayOutput
}

GetOrganizationExternalIdentitiesIdentityArrayInput is an input type that accepts GetOrganizationExternalIdentitiesIdentityArray and GetOrganizationExternalIdentitiesIdentityArrayOutput values. You can construct a concrete instance of `GetOrganizationExternalIdentitiesIdentityArrayInput` via:

GetOrganizationExternalIdentitiesIdentityArray{ GetOrganizationExternalIdentitiesIdentityArgs{...} }

type GetOrganizationExternalIdentitiesIdentityArrayOutput

type GetOrganizationExternalIdentitiesIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetOrganizationExternalIdentitiesIdentityArrayOutput) ElementType

func (GetOrganizationExternalIdentitiesIdentityArrayOutput) Index

func (GetOrganizationExternalIdentitiesIdentityArrayOutput) ToGetOrganizationExternalIdentitiesIdentityArrayOutput

func (GetOrganizationExternalIdentitiesIdentityArrayOutput) ToGetOrganizationExternalIdentitiesIdentityArrayOutputWithContext

func (o GetOrganizationExternalIdentitiesIdentityArrayOutput) ToGetOrganizationExternalIdentitiesIdentityArrayOutputWithContext(ctx context.Context) GetOrganizationExternalIdentitiesIdentityArrayOutput

type GetOrganizationExternalIdentitiesIdentityInput

type GetOrganizationExternalIdentitiesIdentityInput interface {
	pulumi.Input

	ToGetOrganizationExternalIdentitiesIdentityOutput() GetOrganizationExternalIdentitiesIdentityOutput
	ToGetOrganizationExternalIdentitiesIdentityOutputWithContext(context.Context) GetOrganizationExternalIdentitiesIdentityOutput
}

GetOrganizationExternalIdentitiesIdentityInput is an input type that accepts GetOrganizationExternalIdentitiesIdentityArgs and GetOrganizationExternalIdentitiesIdentityOutput values. You can construct a concrete instance of `GetOrganizationExternalIdentitiesIdentityInput` via:

GetOrganizationExternalIdentitiesIdentityArgs{...}

type GetOrganizationExternalIdentitiesIdentityOutput

type GetOrganizationExternalIdentitiesIdentityOutput struct{ *pulumi.OutputState }

func (GetOrganizationExternalIdentitiesIdentityOutput) ElementType

func (GetOrganizationExternalIdentitiesIdentityOutput) Login

The username of the GitHub user

func (GetOrganizationExternalIdentitiesIdentityOutput) SamlIdentity

An Object containing the user's SAML data. This object will be empty if the user is not managed by SAML.

func (GetOrganizationExternalIdentitiesIdentityOutput) ScimIdentity

An Object contining the user's SCIM data. This object will be empty if the user is not managed by SCIM.

func (GetOrganizationExternalIdentitiesIdentityOutput) ToGetOrganizationExternalIdentitiesIdentityOutput

func (o GetOrganizationExternalIdentitiesIdentityOutput) ToGetOrganizationExternalIdentitiesIdentityOutput() GetOrganizationExternalIdentitiesIdentityOutput

func (GetOrganizationExternalIdentitiesIdentityOutput) ToGetOrganizationExternalIdentitiesIdentityOutputWithContext

func (o GetOrganizationExternalIdentitiesIdentityOutput) ToGetOrganizationExternalIdentitiesIdentityOutputWithContext(ctx context.Context) GetOrganizationExternalIdentitiesIdentityOutput

type GetOrganizationExternalIdentitiesResult

type GetOrganizationExternalIdentitiesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// An Array of identities returned from GitHub
	Identities []GetOrganizationExternalIdentitiesIdentity `pulumi:"identities"`
}

A collection of values returned by getOrganizationExternalIdentities.

func GetOrganizationExternalIdentities

func GetOrganizationExternalIdentities(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetOrganizationExternalIdentitiesResult, error)

Use this data source to retrieve each organization member's SAML or SCIM user attributes.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetOrganizationExternalIdentities(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetOrganizationExternalIdentitiesResultOutput

type GetOrganizationExternalIdentitiesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getOrganizationExternalIdentities.

func (GetOrganizationExternalIdentitiesResultOutput) ElementType

func (GetOrganizationExternalIdentitiesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetOrganizationExternalIdentitiesResultOutput) Identities

An Array of identities returned from GitHub

func (GetOrganizationExternalIdentitiesResultOutput) ToGetOrganizationExternalIdentitiesResultOutput

func (o GetOrganizationExternalIdentitiesResultOutput) ToGetOrganizationExternalIdentitiesResultOutput() GetOrganizationExternalIdentitiesResultOutput

func (GetOrganizationExternalIdentitiesResultOutput) ToGetOrganizationExternalIdentitiesResultOutputWithContext

func (o GetOrganizationExternalIdentitiesResultOutput) ToGetOrganizationExternalIdentitiesResultOutputWithContext(ctx context.Context) GetOrganizationExternalIdentitiesResultOutput

type GetOrganizationIpAllowListIpAllowList

type GetOrganizationIpAllowListIpAllowList struct {
	// A single IP address or range of IP addresses in CIDR notation.
	AllowListValue string `pulumi:"allowListValue"`
	// Identifies the date and time when the object was created.
	CreatedAt string `pulumi:"createdAt"`
	// The ID of the IP allow list entry.
	Id string `pulumi:"id"`
	// Whether the entry is currently active.
	IsActive bool `pulumi:"isActive"`
	// The name of the IP allow list entry.
	Name string `pulumi:"name"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt string `pulumi:"updatedAt"`
}

type GetOrganizationIpAllowListIpAllowListArgs

type GetOrganizationIpAllowListIpAllowListArgs struct {
	// A single IP address or range of IP addresses in CIDR notation.
	AllowListValue pulumi.StringInput `pulumi:"allowListValue"`
	// Identifies the date and time when the object was created.
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The ID of the IP allow list entry.
	Id pulumi.StringInput `pulumi:"id"`
	// Whether the entry is currently active.
	IsActive pulumi.BoolInput `pulumi:"isActive"`
	// The name of the IP allow list entry.
	Name pulumi.StringInput `pulumi:"name"`
	// Identifies the date and time when the object was last updated.
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
}

func (GetOrganizationIpAllowListIpAllowListArgs) ElementType

func (GetOrganizationIpAllowListIpAllowListArgs) ToGetOrganizationIpAllowListIpAllowListOutput

func (i GetOrganizationIpAllowListIpAllowListArgs) ToGetOrganizationIpAllowListIpAllowListOutput() GetOrganizationIpAllowListIpAllowListOutput

func (GetOrganizationIpAllowListIpAllowListArgs) ToGetOrganizationIpAllowListIpAllowListOutputWithContext

func (i GetOrganizationIpAllowListIpAllowListArgs) ToGetOrganizationIpAllowListIpAllowListOutputWithContext(ctx context.Context) GetOrganizationIpAllowListIpAllowListOutput

type GetOrganizationIpAllowListIpAllowListArray

type GetOrganizationIpAllowListIpAllowListArray []GetOrganizationIpAllowListIpAllowListInput

func (GetOrganizationIpAllowListIpAllowListArray) ElementType

func (GetOrganizationIpAllowListIpAllowListArray) ToGetOrganizationIpAllowListIpAllowListArrayOutput

func (i GetOrganizationIpAllowListIpAllowListArray) ToGetOrganizationIpAllowListIpAllowListArrayOutput() GetOrganizationIpAllowListIpAllowListArrayOutput

func (GetOrganizationIpAllowListIpAllowListArray) ToGetOrganizationIpAllowListIpAllowListArrayOutputWithContext

func (i GetOrganizationIpAllowListIpAllowListArray) ToGetOrganizationIpAllowListIpAllowListArrayOutputWithContext(ctx context.Context) GetOrganizationIpAllowListIpAllowListArrayOutput

type GetOrganizationIpAllowListIpAllowListArrayInput

type GetOrganizationIpAllowListIpAllowListArrayInput interface {
	pulumi.Input

	ToGetOrganizationIpAllowListIpAllowListArrayOutput() GetOrganizationIpAllowListIpAllowListArrayOutput
	ToGetOrganizationIpAllowListIpAllowListArrayOutputWithContext(context.Context) GetOrganizationIpAllowListIpAllowListArrayOutput
}

GetOrganizationIpAllowListIpAllowListArrayInput is an input type that accepts GetOrganizationIpAllowListIpAllowListArray and GetOrganizationIpAllowListIpAllowListArrayOutput values. You can construct a concrete instance of `GetOrganizationIpAllowListIpAllowListArrayInput` via:

GetOrganizationIpAllowListIpAllowListArray{ GetOrganizationIpAllowListIpAllowListArgs{...} }

type GetOrganizationIpAllowListIpAllowListArrayOutput

type GetOrganizationIpAllowListIpAllowListArrayOutput struct{ *pulumi.OutputState }

func (GetOrganizationIpAllowListIpAllowListArrayOutput) ElementType

func (GetOrganizationIpAllowListIpAllowListArrayOutput) Index

func (GetOrganizationIpAllowListIpAllowListArrayOutput) ToGetOrganizationIpAllowListIpAllowListArrayOutput

func (o GetOrganizationIpAllowListIpAllowListArrayOutput) ToGetOrganizationIpAllowListIpAllowListArrayOutput() GetOrganizationIpAllowListIpAllowListArrayOutput

func (GetOrganizationIpAllowListIpAllowListArrayOutput) ToGetOrganizationIpAllowListIpAllowListArrayOutputWithContext

func (o GetOrganizationIpAllowListIpAllowListArrayOutput) ToGetOrganizationIpAllowListIpAllowListArrayOutputWithContext(ctx context.Context) GetOrganizationIpAllowListIpAllowListArrayOutput

type GetOrganizationIpAllowListIpAllowListInput

type GetOrganizationIpAllowListIpAllowListInput interface {
	pulumi.Input

	ToGetOrganizationIpAllowListIpAllowListOutput() GetOrganizationIpAllowListIpAllowListOutput
	ToGetOrganizationIpAllowListIpAllowListOutputWithContext(context.Context) GetOrganizationIpAllowListIpAllowListOutput
}

GetOrganizationIpAllowListIpAllowListInput is an input type that accepts GetOrganizationIpAllowListIpAllowListArgs and GetOrganizationIpAllowListIpAllowListOutput values. You can construct a concrete instance of `GetOrganizationIpAllowListIpAllowListInput` via:

GetOrganizationIpAllowListIpAllowListArgs{...}

type GetOrganizationIpAllowListIpAllowListOutput

type GetOrganizationIpAllowListIpAllowListOutput struct{ *pulumi.OutputState }

func (GetOrganizationIpAllowListIpAllowListOutput) AllowListValue

A single IP address or range of IP addresses in CIDR notation.

func (GetOrganizationIpAllowListIpAllowListOutput) CreatedAt

Identifies the date and time when the object was created.

func (GetOrganizationIpAllowListIpAllowListOutput) ElementType

func (GetOrganizationIpAllowListIpAllowListOutput) Id

The ID of the IP allow list entry.

func (GetOrganizationIpAllowListIpAllowListOutput) IsActive

Whether the entry is currently active.

func (GetOrganizationIpAllowListIpAllowListOutput) Name

The name of the IP allow list entry.

func (GetOrganizationIpAllowListIpAllowListOutput) ToGetOrganizationIpAllowListIpAllowListOutput

func (o GetOrganizationIpAllowListIpAllowListOutput) ToGetOrganizationIpAllowListIpAllowListOutput() GetOrganizationIpAllowListIpAllowListOutput

func (GetOrganizationIpAllowListIpAllowListOutput) ToGetOrganizationIpAllowListIpAllowListOutputWithContext

func (o GetOrganizationIpAllowListIpAllowListOutput) ToGetOrganizationIpAllowListIpAllowListOutputWithContext(ctx context.Context) GetOrganizationIpAllowListIpAllowListOutput

func (GetOrganizationIpAllowListIpAllowListOutput) UpdatedAt

Identifies the date and time when the object was last updated.

type GetOrganizationIpAllowListResult

type GetOrganizationIpAllowListResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// An Array of allowed IP addresses.
	// ***
	IpAllowLists []GetOrganizationIpAllowListIpAllowList `pulumi:"ipAllowLists"`
}

A collection of values returned by getOrganizationIpAllowList.

func GetOrganizationIpAllowList

func GetOrganizationIpAllowList(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetOrganizationIpAllowListResult, error)

Use this data source to retrieve information about the IP allow list of an organization. The allow list for IP addresses will block access to private resources via the web, API, and Git from any IP addresses that are not on the allow list.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetOrganizationIpAllowList(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetOrganizationIpAllowListResultOutput

type GetOrganizationIpAllowListResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getOrganizationIpAllowList.

func (GetOrganizationIpAllowListResultOutput) ElementType

func (GetOrganizationIpAllowListResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetOrganizationIpAllowListResultOutput) IpAllowLists

An Array of allowed IP addresses. ***

func (GetOrganizationIpAllowListResultOutput) ToGetOrganizationIpAllowListResultOutput

func (o GetOrganizationIpAllowListResultOutput) ToGetOrganizationIpAllowListResultOutput() GetOrganizationIpAllowListResultOutput

func (GetOrganizationIpAllowListResultOutput) ToGetOrganizationIpAllowListResultOutputWithContext

func (o GetOrganizationIpAllowListResultOutput) ToGetOrganizationIpAllowListResultOutputWithContext(ctx context.Context) GetOrganizationIpAllowListResultOutput

type GetOrganizationOutputArgs

type GetOrganizationOutputArgs struct {
	// Whether or not to include archived repos in the `repositories` list
	IgnoreArchivedRepos pulumi.BoolPtrInput `pulumi:"ignoreArchivedRepos"`
	// The organization's public profile name
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getOrganization.

func (GetOrganizationOutputArgs) ElementType

func (GetOrganizationOutputArgs) ElementType() reflect.Type

type GetOrganizationResult

type GetOrganizationResult struct {
	// Whether advanced security is enabled for new repositories.
	AdvancedSecurityEnabledForNewRepositories bool `pulumi:"advancedSecurityEnabledForNewRepositories"`
	// Default permission level members have for organization repositories.
	DefaultRepositoryPermission string `pulumi:"defaultRepositoryPermission"`
	// Whether Dependabot alerts is automatically enabled for new repositories.
	DependabotAlertsEnabledForNewRepositories bool `pulumi:"dependabotAlertsEnabledForNewRepositories"`
	// Whether Dependabot security updates is automatically enabled for new repositories.
	DependabotSecurityUpdatesEnabledForNewRepositories bool `pulumi:"dependabotSecurityUpdatesEnabledForNewRepositories"`
	// Whether dependency graph is automatically enabled for new repositories.
	DependencyGraphEnabledForNewRepositories bool `pulumi:"dependencyGraphEnabledForNewRepositories"`
	// The organization account description
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string `pulumi:"id"`
	IgnoreArchivedRepos *bool  `pulumi:"ignoreArchivedRepos"`
	// The members login
	Login string `pulumi:"login"`
	// **Deprecated**: use `users` instead by replacing `github_organization.example.members` to `github_organization.example.users[*].login` which will give you the same value, expect this field to be removed in next major version
	//
	// Deprecated: Use `users` instead by replacing `github_organization.example.members` to `github_organization.example.users[*].login`. Expect this field to be removed in next major version.
	Members []string `pulumi:"members"`
	// The type of repository allowed to be created by members of the organization. Can be one of `ALL`, `PUBLIC`, `PRIVATE`, `NONE`.
	MembersAllowedRepositoryCreationType string `pulumi:"membersAllowedRepositoryCreationType"`
	// Whether organization members can create internal repositories.
	MembersCanCreateInternalRepositories bool `pulumi:"membersCanCreateInternalRepositories"`
	// Whether organization members can create pages sites.
	MembersCanCreatePages bool `pulumi:"membersCanCreatePages"`
	// Whether organization members can create private pages sites.
	MembersCanCreatePrivatePages bool `pulumi:"membersCanCreatePrivatePages"`
	// Whether organization members can create private repositories.
	MembersCanCreatePrivateRepositories bool `pulumi:"membersCanCreatePrivateRepositories"`
	// Whether organization members can create public pages sites.
	MembersCanCreatePublicPages bool `pulumi:"membersCanCreatePublicPages"`
	// Whether organization members can create public repositories.
	MembersCanCreatePublicRepositories bool `pulumi:"membersCanCreatePublicRepositories"`
	// Whether non-admin organization members can create repositories.
	MembersCanCreateRepositories bool `pulumi:"membersCanCreateRepositories"`
	// Whether organization members can create private repository forks.
	MembersCanForkPrivateRepositories bool `pulumi:"membersCanForkPrivateRepositories"`
	// The organization's public profile name
	Name string `pulumi:"name"`
	// GraphQL global node ID for use with the v4 API
	NodeId string `pulumi:"nodeId"`
	// The organization's name as used in URLs and the API
	Orgname string `pulumi:"orgname"`
	// The organization account plan name
	Plan string `pulumi:"plan"`
	// (`list`) A list of the full names of the repositories in the organization formatted as `owner/name` strings
	Repositories []string `pulumi:"repositories"`
	// Whether secret scanning is automatically enabled for new repositories.
	SecretScanningEnabledForNewRepositories bool `pulumi:"secretScanningEnabledForNewRepositories"`
	// Whether secret scanning push protection is automatically enabled for new repositories.
	SecretScanningPushProtectionEnabledForNewRepositories bool `pulumi:"secretScanningPushProtectionEnabledForNewRepositories"`
	// Whether two-factor authentication is required for all members of the organization.
	TwoFactorRequirementEnabled bool `pulumi:"twoFactorRequirementEnabled"`
	// (`list`) A list with the members of the organization with following fields:
	Users []map[string]string `pulumi:"users"`
	// Whether organization members must sign all commits.
	WebCommitSignoffRequired bool `pulumi:"webCommitSignoffRequired"`
}

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetOrganization(ctx, &github.GetOrganizationArgs{
			Name: "github",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetOrganizationResultOutput

type GetOrganizationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getOrganization.

func (GetOrganizationResultOutput) AdvancedSecurityEnabledForNewRepositories

func (o GetOrganizationResultOutput) AdvancedSecurityEnabledForNewRepositories() pulumi.BoolOutput

Whether advanced security is enabled for new repositories.

func (GetOrganizationResultOutput) DefaultRepositoryPermission

func (o GetOrganizationResultOutput) DefaultRepositoryPermission() pulumi.StringOutput

Default permission level members have for organization repositories.

func (GetOrganizationResultOutput) DependabotAlertsEnabledForNewRepositories

func (o GetOrganizationResultOutput) DependabotAlertsEnabledForNewRepositories() pulumi.BoolOutput

Whether Dependabot alerts is automatically enabled for new repositories.

func (GetOrganizationResultOutput) DependabotSecurityUpdatesEnabledForNewRepositories

func (o GetOrganizationResultOutput) DependabotSecurityUpdatesEnabledForNewRepositories() pulumi.BoolOutput

Whether Dependabot security updates is automatically enabled for new repositories.

func (GetOrganizationResultOutput) DependencyGraphEnabledForNewRepositories

func (o GetOrganizationResultOutput) DependencyGraphEnabledForNewRepositories() pulumi.BoolOutput

Whether dependency graph is automatically enabled for new repositories.

func (GetOrganizationResultOutput) Description

The organization account description

func (GetOrganizationResultOutput) ElementType

func (GetOrganizationResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetOrganizationResultOutput) IgnoreArchivedRepos added in v6.0.1

func (o GetOrganizationResultOutput) IgnoreArchivedRepos() pulumi.BoolPtrOutput

func (GetOrganizationResultOutput) Login

The members login

func (GetOrganizationResultOutput) Members deprecated

**Deprecated**: use `users` instead by replacing `github_organization.example.members` to `github_organization.example.users[*].login` which will give you the same value, expect this field to be removed in next major version

Deprecated: Use `users` instead by replacing `github_organization.example.members` to `github_organization.example.users[*].login`. Expect this field to be removed in next major version.

func (GetOrganizationResultOutput) MembersAllowedRepositoryCreationType

func (o GetOrganizationResultOutput) MembersAllowedRepositoryCreationType() pulumi.StringOutput

The type of repository allowed to be created by members of the organization. Can be one of `ALL`, `PUBLIC`, `PRIVATE`, `NONE`.

func (GetOrganizationResultOutput) MembersCanCreateInternalRepositories

func (o GetOrganizationResultOutput) MembersCanCreateInternalRepositories() pulumi.BoolOutput

Whether organization members can create internal repositories.

func (GetOrganizationResultOutput) MembersCanCreatePages

func (o GetOrganizationResultOutput) MembersCanCreatePages() pulumi.BoolOutput

Whether organization members can create pages sites.

func (GetOrganizationResultOutput) MembersCanCreatePrivatePages

func (o GetOrganizationResultOutput) MembersCanCreatePrivatePages() pulumi.BoolOutput

Whether organization members can create private pages sites.

func (GetOrganizationResultOutput) MembersCanCreatePrivateRepositories

func (o GetOrganizationResultOutput) MembersCanCreatePrivateRepositories() pulumi.BoolOutput

Whether organization members can create private repositories.

func (GetOrganizationResultOutput) MembersCanCreatePublicPages

func (o GetOrganizationResultOutput) MembersCanCreatePublicPages() pulumi.BoolOutput

Whether organization members can create public pages sites.

func (GetOrganizationResultOutput) MembersCanCreatePublicRepositories

func (o GetOrganizationResultOutput) MembersCanCreatePublicRepositories() pulumi.BoolOutput

Whether organization members can create public repositories.

func (GetOrganizationResultOutput) MembersCanCreateRepositories

func (o GetOrganizationResultOutput) MembersCanCreateRepositories() pulumi.BoolOutput

Whether non-admin organization members can create repositories.

func (GetOrganizationResultOutput) MembersCanForkPrivateRepositories

func (o GetOrganizationResultOutput) MembersCanForkPrivateRepositories() pulumi.BoolOutput

Whether organization members can create private repository forks.

func (GetOrganizationResultOutput) Name

The organization's public profile name

func (GetOrganizationResultOutput) NodeId

GraphQL global node ID for use with the v4 API

func (GetOrganizationResultOutput) Orgname

The organization's name as used in URLs and the API

func (GetOrganizationResultOutput) Plan

The organization account plan name

func (GetOrganizationResultOutput) Repositories

(`list`) A list of the full names of the repositories in the organization formatted as `owner/name` strings

func (GetOrganizationResultOutput) SecretScanningEnabledForNewRepositories

func (o GetOrganizationResultOutput) SecretScanningEnabledForNewRepositories() pulumi.BoolOutput

Whether secret scanning is automatically enabled for new repositories.

func (GetOrganizationResultOutput) SecretScanningPushProtectionEnabledForNewRepositories

func (o GetOrganizationResultOutput) SecretScanningPushProtectionEnabledForNewRepositories() pulumi.BoolOutput

Whether secret scanning push protection is automatically enabled for new repositories.

func (GetOrganizationResultOutput) ToGetOrganizationResultOutput

func (o GetOrganizationResultOutput) ToGetOrganizationResultOutput() GetOrganizationResultOutput

func (GetOrganizationResultOutput) ToGetOrganizationResultOutputWithContext

func (o GetOrganizationResultOutput) ToGetOrganizationResultOutputWithContext(ctx context.Context) GetOrganizationResultOutput

func (GetOrganizationResultOutput) TwoFactorRequirementEnabled

func (o GetOrganizationResultOutput) TwoFactorRequirementEnabled() pulumi.BoolOutput

Whether two-factor authentication is required for all members of the organization.

func (GetOrganizationResultOutput) Users

(`list`) A list with the members of the organization with following fields:

func (GetOrganizationResultOutput) WebCommitSignoffRequired

func (o GetOrganizationResultOutput) WebCommitSignoffRequired() pulumi.BoolOutput

Whether organization members must sign all commits.

type GetOrganizationTeamSyncGroupsGroup

type GetOrganizationTeamSyncGroupsGroup struct {
	// The description of the IdP group.
	GroupDescription string `pulumi:"groupDescription"`
	// The ID of the IdP group.
	GroupId string `pulumi:"groupId"`
	// The name of the IdP group.
	GroupName string `pulumi:"groupName"`
}

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) 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) 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) Index

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) GroupDescription

The description of the IdP group.

func (GetOrganizationTeamSyncGroupsGroupOutput) GroupId

The ID of the IdP group.

func (GetOrganizationTeamSyncGroupsGroupOutput) GroupName

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

type GetOrganizationTeamSyncGroupsResultOutput

type GetOrganizationTeamSyncGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getOrganizationTeamSyncGroups.

func (GetOrganizationTeamSyncGroupsResultOutput) ElementType

func (GetOrganizationTeamSyncGroupsResultOutput) Groups

An Array of GitHub Identity Provider Groups. Each `group` block consists of the fields documented below.

func (GetOrganizationTeamSyncGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetOrganizationTeamSyncGroupsResultOutput) ToGetOrganizationTeamSyncGroupsResultOutput

func (o GetOrganizationTeamSyncGroupsResultOutput) ToGetOrganizationTeamSyncGroupsResultOutput() GetOrganizationTeamSyncGroupsResultOutput

func (GetOrganizationTeamSyncGroupsResultOutput) ToGetOrganizationTeamSyncGroupsResultOutputWithContext

func (o GetOrganizationTeamSyncGroupsResultOutput) ToGetOrganizationTeamSyncGroupsResultOutputWithContext(ctx context.Context) GetOrganizationTeamSyncGroupsResultOutput

type GetOrganizationTeamsArgs

type GetOrganizationTeamsArgs struct {
	// (Optional) Set the number of results per graphql query. Reducing this number can alleviate timeout errors. Accepts a value between 0 - 100. Defaults to `100`.
	ResultsPerPage *int `pulumi:"resultsPerPage"`
	// (Optional) Only return teams that are at the organization's root, i.e. no nested teams. Defaults to `false`.
	RootTeamsOnly *bool `pulumi:"rootTeamsOnly"`
	// (Optional) Exclude the members and repositories of the team from the returned result. Defaults to `false`.
	SummaryOnly *bool `pulumi:"summaryOnly"`
}

A collection of arguments for invoking getOrganizationTeams.

type GetOrganizationTeamsOutputArgs

type GetOrganizationTeamsOutputArgs struct {
	// (Optional) Set the number of results per graphql query. Reducing this number can alleviate timeout errors. Accepts a value between 0 - 100. Defaults to `100`.
	ResultsPerPage pulumi.IntPtrInput `pulumi:"resultsPerPage"`
	// (Optional) Only return teams that are at the organization's root, i.e. no nested teams. Defaults to `false`.
	RootTeamsOnly pulumi.BoolPtrInput `pulumi:"rootTeamsOnly"`
	// (Optional) Exclude the members and repositories of the team from the returned result. Defaults to `false`.
	SummaryOnly pulumi.BoolPtrInput `pulumi:"summaryOnly"`
}

A collection of arguments for invoking getOrganizationTeams.

func (GetOrganizationTeamsOutputArgs) ElementType

type GetOrganizationTeamsResult

type GetOrganizationTeamsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// (Optional) Set the number of results per graphql query. Reducing this number can alleviate timeout errors. Accepts a value between 0 - 100. Defaults to `100`.
	ResultsPerPage *int `pulumi:"resultsPerPage"`
	// (Optional) Only return teams that are at the organization's root, i.e. no nested teams. Defaults to `false`.
	RootTeamsOnly *bool `pulumi:"rootTeamsOnly"`
	// (Optional) Exclude the members and repositories of the team from the returned result. Defaults to `false`.
	SummaryOnly *bool `pulumi:"summaryOnly"`
	// (Required) 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:

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

To retrieve only the team's at the root of the organization:

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetOrganizationTeams(ctx, &github.GetOrganizationTeamsArgs{
			RootTeamsOnly: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetOrganizationTeamsResultOutput

type GetOrganizationTeamsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getOrganizationTeams.

func (GetOrganizationTeamsResultOutput) ElementType

func (GetOrganizationTeamsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetOrganizationTeamsResultOutput) ResultsPerPage

(Optional) Set the number of results per graphql query. Reducing this number can alleviate timeout errors. Accepts a value between 0 - 100. Defaults to `100`.

func (GetOrganizationTeamsResultOutput) RootTeamsOnly

(Optional) Only return teams that are at the organization's root, i.e. no nested teams. Defaults to `false`.

func (GetOrganizationTeamsResultOutput) SummaryOnly

(Optional) Exclude the members and repositories of the team from the returned result. Defaults to `false`.

func (GetOrganizationTeamsResultOutput) Teams

(Required) An Array of GitHub Teams. Each `team` block consists of the fields documented below.

func (GetOrganizationTeamsResultOutput) ToGetOrganizationTeamsResultOutput

func (o GetOrganizationTeamsResultOutput) ToGetOrganizationTeamsResultOutput() GetOrganizationTeamsResultOutput

func (GetOrganizationTeamsResultOutput) ToGetOrganizationTeamsResultOutputWithContext

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. Not returned if `summaryOnly = true`
	Members []string `pulumi:"members"`
	// the team's full name.
	Name string `pulumi:"name"`
	// the Node ID of the team.
	NodeId string `pulumi:"nodeId"`
	// the parent team.
	Parent map[string]string `pulumi:"parent"`
	// the team's privacy type.
	Privacy string `pulumi:"privacy"`
	// List of team repositories. Not returned if `summaryOnly = true`
	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. Not returned if `summaryOnly = true`
	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 parent team.
	Parent pulumi.StringMapInput `pulumi:"parent"`
	// the team's privacy type.
	Privacy pulumi.StringInput `pulumi:"privacy"`
	// List of team repositories. Not returned if `summaryOnly = true`
	Repositories pulumi.StringArrayInput `pulumi:"repositories"`
	// the slug of the team.
	Slug pulumi.StringInput `pulumi:"slug"`
}

func (GetOrganizationTeamsTeamArgs) ElementType

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) 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) Index

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

the team's description.

func (GetOrganizationTeamsTeamOutput) ElementType

func (GetOrganizationTeamsTeamOutput) Id

the ID of the team.

func (GetOrganizationTeamsTeamOutput) Members

List of team members. Not returned if `summaryOnly = true`

func (GetOrganizationTeamsTeamOutput) Name

the team's full name.

func (GetOrganizationTeamsTeamOutput) NodeId

the Node ID of the team.

func (GetOrganizationTeamsTeamOutput) Parent

the parent team.

func (GetOrganizationTeamsTeamOutput) Privacy

the team's privacy type.

func (GetOrganizationTeamsTeamOutput) Repositories

List of team repositories. Not returned if `summaryOnly = true`

func (GetOrganizationTeamsTeamOutput) Slug

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 GetOrganizationWebhooksResult

type GetOrganizationWebhooksResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// An Array of GitHub Webhooks.  Each `webhook` block consists of the fields documented below.
	// ***
	Webhooks []GetOrganizationWebhooksWebhook `pulumi:"webhooks"`
}

A collection of values returned by getOrganizationWebhooks.

func GetOrganizationWebhooks

func GetOrganizationWebhooks(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetOrganizationWebhooksResult, error)

Use this data source to retrieve all webhooks of the organization.

## Example Usage

To retrieve *all* webhooks of the organization:

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetOrganizationWebhooks(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetOrganizationWebhooksResultOutput

type GetOrganizationWebhooksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getOrganizationWebhooks.

func (GetOrganizationWebhooksResultOutput) ElementType

func (GetOrganizationWebhooksResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetOrganizationWebhooksResultOutput) ToGetOrganizationWebhooksResultOutput

func (o GetOrganizationWebhooksResultOutput) ToGetOrganizationWebhooksResultOutput() GetOrganizationWebhooksResultOutput

func (GetOrganizationWebhooksResultOutput) ToGetOrganizationWebhooksResultOutputWithContext

func (o GetOrganizationWebhooksResultOutput) ToGetOrganizationWebhooksResultOutputWithContext(ctx context.Context) GetOrganizationWebhooksResultOutput

func (GetOrganizationWebhooksResultOutput) Webhooks

An Array of GitHub Webhooks. Each `webhook` block consists of the fields documented below. ***

type GetOrganizationWebhooksWebhook

type GetOrganizationWebhooksWebhook struct {
	// `true` if the webhook is active.
	Active bool `pulumi:"active"`
	// the ID of the webhook.
	Id int `pulumi:"id"`
	// the name of the webhook.
	Name string `pulumi:"name"`
	// the type of the webhook.
	Type string `pulumi:"type"`
	// the url of the webhook.
	Url string `pulumi:"url"`
}

type GetOrganizationWebhooksWebhookArgs

type GetOrganizationWebhooksWebhookArgs struct {
	// `true` if the webhook is active.
	Active pulumi.BoolInput `pulumi:"active"`
	// the ID of the webhook.
	Id pulumi.IntInput `pulumi:"id"`
	// the name of the webhook.
	Name pulumi.StringInput `pulumi:"name"`
	// the type of the webhook.
	Type pulumi.StringInput `pulumi:"type"`
	// the url of the webhook.
	Url pulumi.StringInput `pulumi:"url"`
}

func (GetOrganizationWebhooksWebhookArgs) ElementType

func (GetOrganizationWebhooksWebhookArgs) ToGetOrganizationWebhooksWebhookOutput

func (i GetOrganizationWebhooksWebhookArgs) ToGetOrganizationWebhooksWebhookOutput() GetOrganizationWebhooksWebhookOutput

func (GetOrganizationWebhooksWebhookArgs) ToGetOrganizationWebhooksWebhookOutputWithContext

func (i GetOrganizationWebhooksWebhookArgs) ToGetOrganizationWebhooksWebhookOutputWithContext(ctx context.Context) GetOrganizationWebhooksWebhookOutput

type GetOrganizationWebhooksWebhookArray

type GetOrganizationWebhooksWebhookArray []GetOrganizationWebhooksWebhookInput

func (GetOrganizationWebhooksWebhookArray) ElementType

func (GetOrganizationWebhooksWebhookArray) ToGetOrganizationWebhooksWebhookArrayOutput

func (i GetOrganizationWebhooksWebhookArray) ToGetOrganizationWebhooksWebhookArrayOutput() GetOrganizationWebhooksWebhookArrayOutput

func (GetOrganizationWebhooksWebhookArray) ToGetOrganizationWebhooksWebhookArrayOutputWithContext

func (i GetOrganizationWebhooksWebhookArray) ToGetOrganizationWebhooksWebhookArrayOutputWithContext(ctx context.Context) GetOrganizationWebhooksWebhookArrayOutput

type GetOrganizationWebhooksWebhookArrayInput

type GetOrganizationWebhooksWebhookArrayInput interface {
	pulumi.Input

	ToGetOrganizationWebhooksWebhookArrayOutput() GetOrganizationWebhooksWebhookArrayOutput
	ToGetOrganizationWebhooksWebhookArrayOutputWithContext(context.Context) GetOrganizationWebhooksWebhookArrayOutput
}

GetOrganizationWebhooksWebhookArrayInput is an input type that accepts GetOrganizationWebhooksWebhookArray and GetOrganizationWebhooksWebhookArrayOutput values. You can construct a concrete instance of `GetOrganizationWebhooksWebhookArrayInput` via:

GetOrganizationWebhooksWebhookArray{ GetOrganizationWebhooksWebhookArgs{...} }

type GetOrganizationWebhooksWebhookArrayOutput

type GetOrganizationWebhooksWebhookArrayOutput struct{ *pulumi.OutputState }

func (GetOrganizationWebhooksWebhookArrayOutput) ElementType

func (GetOrganizationWebhooksWebhookArrayOutput) Index

func (GetOrganizationWebhooksWebhookArrayOutput) ToGetOrganizationWebhooksWebhookArrayOutput

func (o GetOrganizationWebhooksWebhookArrayOutput) ToGetOrganizationWebhooksWebhookArrayOutput() GetOrganizationWebhooksWebhookArrayOutput

func (GetOrganizationWebhooksWebhookArrayOutput) ToGetOrganizationWebhooksWebhookArrayOutputWithContext

func (o GetOrganizationWebhooksWebhookArrayOutput) ToGetOrganizationWebhooksWebhookArrayOutputWithContext(ctx context.Context) GetOrganizationWebhooksWebhookArrayOutput

type GetOrganizationWebhooksWebhookInput

type GetOrganizationWebhooksWebhookInput interface {
	pulumi.Input

	ToGetOrganizationWebhooksWebhookOutput() GetOrganizationWebhooksWebhookOutput
	ToGetOrganizationWebhooksWebhookOutputWithContext(context.Context) GetOrganizationWebhooksWebhookOutput
}

GetOrganizationWebhooksWebhookInput is an input type that accepts GetOrganizationWebhooksWebhookArgs and GetOrganizationWebhooksWebhookOutput values. You can construct a concrete instance of `GetOrganizationWebhooksWebhookInput` via:

GetOrganizationWebhooksWebhookArgs{...}

type GetOrganizationWebhooksWebhookOutput

type GetOrganizationWebhooksWebhookOutput struct{ *pulumi.OutputState }

func (GetOrganizationWebhooksWebhookOutput) Active

`true` if the webhook is active.

func (GetOrganizationWebhooksWebhookOutput) ElementType

func (GetOrganizationWebhooksWebhookOutput) Id

the ID of the webhook.

func (GetOrganizationWebhooksWebhookOutput) Name

the name of the webhook.

func (GetOrganizationWebhooksWebhookOutput) ToGetOrganizationWebhooksWebhookOutput

func (o GetOrganizationWebhooksWebhookOutput) ToGetOrganizationWebhooksWebhookOutput() GetOrganizationWebhooksWebhookOutput

func (GetOrganizationWebhooksWebhookOutput) ToGetOrganizationWebhooksWebhookOutputWithContext

func (o GetOrganizationWebhooksWebhookOutput) ToGetOrganizationWebhooksWebhookOutputWithContext(ctx context.Context) GetOrganizationWebhooksWebhookOutput

func (GetOrganizationWebhooksWebhookOutput) Type

the type of the webhook.

func (GetOrganizationWebhooksWebhookOutput) Url

the url of the webhook.

type GetRefArgs

type GetRefArgs struct {
	// Owner of the repository.
	Owner *string `pulumi:"owner"`
	// 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

type GetRefOutputArgs struct {
	// Owner of the repository.
	Owner pulumi.StringPtrInput `pulumi:"owner"`
	// 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

func (GetRefOutputArgs) ElementType() reflect.Type

type GetRefResult

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"`
	Owner      *string `pulumi:"owner"`
	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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetRef(ctx, &github.GetRefArgs{
			Owner:      pulumi.StringRef("example"),
			Ref:        "heads/development",
			Repository: "example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetRefResultOutput

type GetRefResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRef.

func GetRefOutput

func GetRefOutput(ctx *pulumi.Context, args GetRefOutputArgs, opts ...pulumi.InvokeOption) GetRefResultOutput

func (GetRefResultOutput) ElementType

func (GetRefResultOutput) ElementType() reflect.Type

func (GetRefResultOutput) Etag

An etag representing the ref.

func (GetRefResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRefResultOutput) Owner

func (GetRefResultOutput) Ref

func (GetRefResultOutput) Repository

func (o GetRefResultOutput) Repository() pulumi.StringOutput

func (GetRefResultOutput) Sha

A string storing the reference's `HEAD` commit's SHA1.

func (GetRefResultOutput) ToGetRefResultOutput

func (o GetRefResultOutput) ToGetRefResultOutput() GetRefResultOutput

func (GetRefResultOutput) ToGetRefResultOutputWithContext

func (o GetRefResultOutput) ToGetRefResultOutputWithContext(ctx context.Context) GetRefResultOutput

type GetReleaseAsset

type GetReleaseAsset struct {
	// Browser download URL
	BrowserDownloadUrl string `pulumi:"browserDownloadUrl"`
	// MIME type of the asset
	ContentType string `pulumi:"contentType"`
	// Date the asset was created
	CreatedAt string `pulumi:"createdAt"`
	// ID of the asset
	Id int `pulumi:"id"`
	// Label for the asset
	Label string `pulumi:"label"`
	// The file name of the asset
	Name string `pulumi:"name"`
	// Node ID of the asset
	NodeId string `pulumi:"nodeId"`
	// Size in byte
	Size int `pulumi:"size"`
	// Date the asset was last updated
	UpdatedAt string `pulumi:"updatedAt"`
	// URL of the asset
	Url string `pulumi:"url"`
}

type GetReleaseAssetArgs

type GetReleaseAssetArgs struct {
	// Browser download URL
	BrowserDownloadUrl pulumi.StringInput `pulumi:"browserDownloadUrl"`
	// MIME type of the asset
	ContentType pulumi.StringInput `pulumi:"contentType"`
	// Date the asset was created
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// ID of the asset
	Id pulumi.IntInput `pulumi:"id"`
	// Label for the asset
	Label pulumi.StringInput `pulumi:"label"`
	// The file name of the asset
	Name pulumi.StringInput `pulumi:"name"`
	// Node ID of the asset
	NodeId pulumi.StringInput `pulumi:"nodeId"`
	// Size in byte
	Size pulumi.IntInput `pulumi:"size"`
	// Date the asset was last updated
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
	// URL of the asset
	Url pulumi.StringInput `pulumi:"url"`
}

func (GetReleaseAssetArgs) ElementType

func (GetReleaseAssetArgs) ElementType() reflect.Type

func (GetReleaseAssetArgs) ToGetReleaseAssetOutput

func (i GetReleaseAssetArgs) ToGetReleaseAssetOutput() GetReleaseAssetOutput

func (GetReleaseAssetArgs) ToGetReleaseAssetOutputWithContext

func (i GetReleaseAssetArgs) ToGetReleaseAssetOutputWithContext(ctx context.Context) GetReleaseAssetOutput

type GetReleaseAssetArray

type GetReleaseAssetArray []GetReleaseAssetInput

func (GetReleaseAssetArray) ElementType

func (GetReleaseAssetArray) ElementType() reflect.Type

func (GetReleaseAssetArray) ToGetReleaseAssetArrayOutput

func (i GetReleaseAssetArray) ToGetReleaseAssetArrayOutput() GetReleaseAssetArrayOutput

func (GetReleaseAssetArray) ToGetReleaseAssetArrayOutputWithContext

func (i GetReleaseAssetArray) ToGetReleaseAssetArrayOutputWithContext(ctx context.Context) GetReleaseAssetArrayOutput

type GetReleaseAssetArrayInput

type GetReleaseAssetArrayInput interface {
	pulumi.Input

	ToGetReleaseAssetArrayOutput() GetReleaseAssetArrayOutput
	ToGetReleaseAssetArrayOutputWithContext(context.Context) GetReleaseAssetArrayOutput
}

GetReleaseAssetArrayInput is an input type that accepts GetReleaseAssetArray and GetReleaseAssetArrayOutput values. You can construct a concrete instance of `GetReleaseAssetArrayInput` via:

GetReleaseAssetArray{ GetReleaseAssetArgs{...} }

type GetReleaseAssetArrayOutput

type GetReleaseAssetArrayOutput struct{ *pulumi.OutputState }

func (GetReleaseAssetArrayOutput) ElementType

func (GetReleaseAssetArrayOutput) ElementType() reflect.Type

func (GetReleaseAssetArrayOutput) Index

func (GetReleaseAssetArrayOutput) ToGetReleaseAssetArrayOutput

func (o GetReleaseAssetArrayOutput) ToGetReleaseAssetArrayOutput() GetReleaseAssetArrayOutput

func (GetReleaseAssetArrayOutput) ToGetReleaseAssetArrayOutputWithContext

func (o GetReleaseAssetArrayOutput) ToGetReleaseAssetArrayOutputWithContext(ctx context.Context) GetReleaseAssetArrayOutput

type GetReleaseAssetInput

type GetReleaseAssetInput interface {
	pulumi.Input

	ToGetReleaseAssetOutput() GetReleaseAssetOutput
	ToGetReleaseAssetOutputWithContext(context.Context) GetReleaseAssetOutput
}

GetReleaseAssetInput is an input type that accepts GetReleaseAssetArgs and GetReleaseAssetOutput values. You can construct a concrete instance of `GetReleaseAssetInput` via:

GetReleaseAssetArgs{...}

type GetReleaseAssetOutput

type GetReleaseAssetOutput struct{ *pulumi.OutputState }

func (GetReleaseAssetOutput) BrowserDownloadUrl

func (o GetReleaseAssetOutput) BrowserDownloadUrl() pulumi.StringOutput

Browser download URL

func (GetReleaseAssetOutput) ContentType

func (o GetReleaseAssetOutput) ContentType() pulumi.StringOutput

MIME type of the asset

func (GetReleaseAssetOutput) CreatedAt

Date the asset was created

func (GetReleaseAssetOutput) ElementType

func (GetReleaseAssetOutput) ElementType() reflect.Type

func (GetReleaseAssetOutput) Id

ID of the asset

func (GetReleaseAssetOutput) Label

Label for the asset

func (GetReleaseAssetOutput) Name

The file name of the asset

func (GetReleaseAssetOutput) NodeId

Node ID of the asset

func (GetReleaseAssetOutput) Size

Size in byte

func (GetReleaseAssetOutput) ToGetReleaseAssetOutput

func (o GetReleaseAssetOutput) ToGetReleaseAssetOutput() GetReleaseAssetOutput

func (GetReleaseAssetOutput) ToGetReleaseAssetOutputWithContext

func (o GetReleaseAssetOutput) ToGetReleaseAssetOutputWithContext(ctx context.Context) GetReleaseAssetOutput

func (GetReleaseAssetOutput) UpdatedAt

Date the asset was last updated

func (GetReleaseAssetOutput) Url

URL of the asset

type GetRepositoriesArgs

type GetRepositoriesArgs struct {
	// Returns a list of found repository IDs
	IncludeRepoId *bool `pulumi:"includeRepoId"`
	// Search query. See [documentation for the search syntax](https://help.github.com/articles/understanding-the-search-syntax/).
	Query string `pulumi:"query"`
	// Set the number of repositories requested per API call. Can be useful to decrease if requests are timing out or to increase to reduce the number of API calls. Defaults to 100.
	ResultsPerPage *int `pulumi:"resultsPerPage"`
	// 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

type GetRepositoriesOutputArgs struct {
	// Returns a list of found repository IDs
	IncludeRepoId pulumi.BoolPtrInput `pulumi:"includeRepoId"`
	// Search query. See [documentation for the search syntax](https://help.github.com/articles/understanding-the-search-syntax/).
	Query pulumi.StringInput `pulumi:"query"`
	// Set the number of repositories requested per API call. Can be useful to decrease if requests are timing out or to increase to reduce the number of API calls. Defaults to 100.
	ResultsPerPage pulumi.IntPtrInput `pulumi:"resultsPerPage"`
	// 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

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"`
	IncludeRepoId *bool    `pulumi:"includeRepoId"`
	Names         []string `pulumi:"names"`
	Query         string   `pulumi:"query"`
	// (Optional) A list of found repository IDs (e.g. `449898861`)
	RepoIds        []int   `pulumi:"repoIds"`
	ResultsPerPage *int    `pulumi:"resultsPerPage"`
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetRepositories(ctx, &github.GetRepositoriesArgs{
			IncludeRepoId: pulumi.BoolRef(true),
			Query:         "org:hashicorp language:Go",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetRepositoriesResultOutput

type GetRepositoriesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositories.

func (GetRepositoriesResultOutput) ElementType

func (GetRepositoriesResultOutput) FullNames

func (GetRepositoriesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRepositoriesResultOutput) IncludeRepoId

func (GetRepositoriesResultOutput) Names

func (GetRepositoriesResultOutput) Query

func (GetRepositoriesResultOutput) RepoIds

(Optional) A list of found repository IDs (e.g. `449898861`)

func (GetRepositoriesResultOutput) ResultsPerPage

func (o GetRepositoriesResultOutput) ResultsPerPage() pulumi.IntPtrOutput

func (GetRepositoriesResultOutput) Sort

func (GetRepositoriesResultOutput) ToGetRepositoriesResultOutput

func (o GetRepositoriesResultOutput) ToGetRepositoriesResultOutput() GetRepositoriesResultOutput

func (GetRepositoriesResultOutput) ToGetRepositoriesResultOutputWithContext

func (o GetRepositoriesResultOutput) ToGetRepositoriesResultOutputWithContext(ctx context.Context) GetRepositoriesResultOutput

type GetRepositoryAutolinkReferencesArgs

type GetRepositoryAutolinkReferencesArgs struct {
	// Name of the repository to retrieve the autolink references from.
	Repository string `pulumi:"repository"`
}

A collection of arguments for invoking getRepositoryAutolinkReferences.

type GetRepositoryAutolinkReferencesAutolinkReference

type GetRepositoryAutolinkReferencesAutolinkReference struct {
	// True if alphanumeric.
	IsAlphanumeric bool `pulumi:"isAlphanumeric"`
	// Key prefix.
	KeyPrefix string `pulumi:"keyPrefix"`
	// Target url template.
	TargetUrlTemplate string `pulumi:"targetUrlTemplate"`
}

type GetRepositoryAutolinkReferencesAutolinkReferenceArgs

type GetRepositoryAutolinkReferencesAutolinkReferenceArgs struct {
	// True if alphanumeric.
	IsAlphanumeric pulumi.BoolInput `pulumi:"isAlphanumeric"`
	// Key prefix.
	KeyPrefix pulumi.StringInput `pulumi:"keyPrefix"`
	// Target url template.
	TargetUrlTemplate pulumi.StringInput `pulumi:"targetUrlTemplate"`
}

func (GetRepositoryAutolinkReferencesAutolinkReferenceArgs) ElementType

func (GetRepositoryAutolinkReferencesAutolinkReferenceArgs) ToGetRepositoryAutolinkReferencesAutolinkReferenceOutput

func (i GetRepositoryAutolinkReferencesAutolinkReferenceArgs) ToGetRepositoryAutolinkReferencesAutolinkReferenceOutput() GetRepositoryAutolinkReferencesAutolinkReferenceOutput

func (GetRepositoryAutolinkReferencesAutolinkReferenceArgs) ToGetRepositoryAutolinkReferencesAutolinkReferenceOutputWithContext

func (i GetRepositoryAutolinkReferencesAutolinkReferenceArgs) ToGetRepositoryAutolinkReferencesAutolinkReferenceOutputWithContext(ctx context.Context) GetRepositoryAutolinkReferencesAutolinkReferenceOutput

type GetRepositoryAutolinkReferencesAutolinkReferenceArray

type GetRepositoryAutolinkReferencesAutolinkReferenceArray []GetRepositoryAutolinkReferencesAutolinkReferenceInput

func (GetRepositoryAutolinkReferencesAutolinkReferenceArray) ElementType

func (GetRepositoryAutolinkReferencesAutolinkReferenceArray) ToGetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput

func (i GetRepositoryAutolinkReferencesAutolinkReferenceArray) ToGetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput() GetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput

func (GetRepositoryAutolinkReferencesAutolinkReferenceArray) ToGetRepositoryAutolinkReferencesAutolinkReferenceArrayOutputWithContext

func (i GetRepositoryAutolinkReferencesAutolinkReferenceArray) ToGetRepositoryAutolinkReferencesAutolinkReferenceArrayOutputWithContext(ctx context.Context) GetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput

type GetRepositoryAutolinkReferencesAutolinkReferenceArrayInput

type GetRepositoryAutolinkReferencesAutolinkReferenceArrayInput interface {
	pulumi.Input

	ToGetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput() GetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput
	ToGetRepositoryAutolinkReferencesAutolinkReferenceArrayOutputWithContext(context.Context) GetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput
}

GetRepositoryAutolinkReferencesAutolinkReferenceArrayInput is an input type that accepts GetRepositoryAutolinkReferencesAutolinkReferenceArray and GetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput values. You can construct a concrete instance of `GetRepositoryAutolinkReferencesAutolinkReferenceArrayInput` via:

GetRepositoryAutolinkReferencesAutolinkReferenceArray{ GetRepositoryAutolinkReferencesAutolinkReferenceArgs{...} }

type GetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput

type GetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput struct{ *pulumi.OutputState }

func (GetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput) ElementType

func (GetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput) Index

func (GetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput) ToGetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput

func (GetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput) ToGetRepositoryAutolinkReferencesAutolinkReferenceArrayOutputWithContext

func (o GetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput) ToGetRepositoryAutolinkReferencesAutolinkReferenceArrayOutputWithContext(ctx context.Context) GetRepositoryAutolinkReferencesAutolinkReferenceArrayOutput

type GetRepositoryAutolinkReferencesAutolinkReferenceInput

type GetRepositoryAutolinkReferencesAutolinkReferenceInput interface {
	pulumi.Input

	ToGetRepositoryAutolinkReferencesAutolinkReferenceOutput() GetRepositoryAutolinkReferencesAutolinkReferenceOutput
	ToGetRepositoryAutolinkReferencesAutolinkReferenceOutputWithContext(context.Context) GetRepositoryAutolinkReferencesAutolinkReferenceOutput
}

GetRepositoryAutolinkReferencesAutolinkReferenceInput is an input type that accepts GetRepositoryAutolinkReferencesAutolinkReferenceArgs and GetRepositoryAutolinkReferencesAutolinkReferenceOutput values. You can construct a concrete instance of `GetRepositoryAutolinkReferencesAutolinkReferenceInput` via:

GetRepositoryAutolinkReferencesAutolinkReferenceArgs{...}

type GetRepositoryAutolinkReferencesAutolinkReferenceOutput

type GetRepositoryAutolinkReferencesAutolinkReferenceOutput struct{ *pulumi.OutputState }

func (GetRepositoryAutolinkReferencesAutolinkReferenceOutput) ElementType

func (GetRepositoryAutolinkReferencesAutolinkReferenceOutput) IsAlphanumeric

True if alphanumeric.

func (GetRepositoryAutolinkReferencesAutolinkReferenceOutput) KeyPrefix

Key prefix.

func (GetRepositoryAutolinkReferencesAutolinkReferenceOutput) TargetUrlTemplate

Target url template.

func (GetRepositoryAutolinkReferencesAutolinkReferenceOutput) ToGetRepositoryAutolinkReferencesAutolinkReferenceOutput

func (GetRepositoryAutolinkReferencesAutolinkReferenceOutput) ToGetRepositoryAutolinkReferencesAutolinkReferenceOutputWithContext

func (o GetRepositoryAutolinkReferencesAutolinkReferenceOutput) ToGetRepositoryAutolinkReferencesAutolinkReferenceOutputWithContext(ctx context.Context) GetRepositoryAutolinkReferencesAutolinkReferenceOutput

type GetRepositoryAutolinkReferencesOutputArgs

type GetRepositoryAutolinkReferencesOutputArgs struct {
	// Name of the repository to retrieve the autolink references from.
	Repository pulumi.StringInput `pulumi:"repository"`
}

A collection of arguments for invoking getRepositoryAutolinkReferences.

func (GetRepositoryAutolinkReferencesOutputArgs) ElementType

type GetRepositoryAutolinkReferencesResult

type GetRepositoryAutolinkReferencesResult struct {
	// The list of this repository's autolink references. Each element of `autolinkReferences` has the following attributes:
	AutolinkReferences []GetRepositoryAutolinkReferencesAutolinkReference `pulumi:"autolinkReferences"`
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	Repository string `pulumi:"repository"`
}

A collection of values returned by getRepositoryAutolinkReferences.

func GetRepositoryAutolinkReferences

Use this data source to retrieve autolink references for a repository.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetRepositoryAutolinkReferences(ctx, &github.GetRepositoryAutolinkReferencesArgs{
			Repository: "example-repository",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetRepositoryAutolinkReferencesResultOutput

type GetRepositoryAutolinkReferencesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositoryAutolinkReferences.

func (GetRepositoryAutolinkReferencesResultOutput) AutolinkReferences

The list of this repository's autolink references. Each element of `autolinkReferences` has the following attributes:

func (GetRepositoryAutolinkReferencesResultOutput) ElementType

func (GetRepositoryAutolinkReferencesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRepositoryAutolinkReferencesResultOutput) Repository

func (GetRepositoryAutolinkReferencesResultOutput) ToGetRepositoryAutolinkReferencesResultOutput

func (o GetRepositoryAutolinkReferencesResultOutput) ToGetRepositoryAutolinkReferencesResultOutput() GetRepositoryAutolinkReferencesResultOutput

func (GetRepositoryAutolinkReferencesResultOutput) ToGetRepositoryAutolinkReferencesResultOutputWithContext

func (o GetRepositoryAutolinkReferencesResultOutput) ToGetRepositoryAutolinkReferencesResultOutputWithContext(ctx context.Context) GetRepositoryAutolinkReferencesResultOutput

type GetRepositoryBranchesArgs

type GetRepositoryBranchesArgs struct {
	// . If true, the `branches` attributes will be populated only with non protected branches. Default: `false`.
	OnlyNonProtectedBranches *bool `pulumi:"onlyNonProtectedBranches"`
	// . If true, the `branches` attributes will be populated only with protected branches. Default: `false`.
	OnlyProtectedBranches *bool `pulumi:"onlyProtectedBranches"`
	// Name of the repository to retrieve the branches from.
	Repository string `pulumi:"repository"`
}

A collection of arguments for invoking getRepositoryBranches.

type GetRepositoryBranchesBranch

type GetRepositoryBranchesBranch struct {
	// Name of the branch.
	Name string `pulumi:"name"`
	// Whether the branch is protected.
	Protected bool `pulumi:"protected"`
}

type GetRepositoryBranchesBranchArgs

type GetRepositoryBranchesBranchArgs struct {
	// Name of the branch.
	Name pulumi.StringInput `pulumi:"name"`
	// Whether the branch is protected.
	Protected pulumi.BoolInput `pulumi:"protected"`
}

func (GetRepositoryBranchesBranchArgs) ElementType

func (GetRepositoryBranchesBranchArgs) ToGetRepositoryBranchesBranchOutput

func (i GetRepositoryBranchesBranchArgs) ToGetRepositoryBranchesBranchOutput() GetRepositoryBranchesBranchOutput

func (GetRepositoryBranchesBranchArgs) ToGetRepositoryBranchesBranchOutputWithContext

func (i GetRepositoryBranchesBranchArgs) ToGetRepositoryBranchesBranchOutputWithContext(ctx context.Context) GetRepositoryBranchesBranchOutput

type GetRepositoryBranchesBranchArray

type GetRepositoryBranchesBranchArray []GetRepositoryBranchesBranchInput

func (GetRepositoryBranchesBranchArray) ElementType

func (GetRepositoryBranchesBranchArray) ToGetRepositoryBranchesBranchArrayOutput

func (i GetRepositoryBranchesBranchArray) ToGetRepositoryBranchesBranchArrayOutput() GetRepositoryBranchesBranchArrayOutput

func (GetRepositoryBranchesBranchArray) ToGetRepositoryBranchesBranchArrayOutputWithContext

func (i GetRepositoryBranchesBranchArray) ToGetRepositoryBranchesBranchArrayOutputWithContext(ctx context.Context) GetRepositoryBranchesBranchArrayOutput

type GetRepositoryBranchesBranchArrayInput

type GetRepositoryBranchesBranchArrayInput interface {
	pulumi.Input

	ToGetRepositoryBranchesBranchArrayOutput() GetRepositoryBranchesBranchArrayOutput
	ToGetRepositoryBranchesBranchArrayOutputWithContext(context.Context) GetRepositoryBranchesBranchArrayOutput
}

GetRepositoryBranchesBranchArrayInput is an input type that accepts GetRepositoryBranchesBranchArray and GetRepositoryBranchesBranchArrayOutput values. You can construct a concrete instance of `GetRepositoryBranchesBranchArrayInput` via:

GetRepositoryBranchesBranchArray{ GetRepositoryBranchesBranchArgs{...} }

type GetRepositoryBranchesBranchArrayOutput

type GetRepositoryBranchesBranchArrayOutput struct{ *pulumi.OutputState }

func (GetRepositoryBranchesBranchArrayOutput) ElementType

func (GetRepositoryBranchesBranchArrayOutput) Index

func (GetRepositoryBranchesBranchArrayOutput) ToGetRepositoryBranchesBranchArrayOutput

func (o GetRepositoryBranchesBranchArrayOutput) ToGetRepositoryBranchesBranchArrayOutput() GetRepositoryBranchesBranchArrayOutput

func (GetRepositoryBranchesBranchArrayOutput) ToGetRepositoryBranchesBranchArrayOutputWithContext

func (o GetRepositoryBranchesBranchArrayOutput) ToGetRepositoryBranchesBranchArrayOutputWithContext(ctx context.Context) GetRepositoryBranchesBranchArrayOutput

type GetRepositoryBranchesBranchInput

type GetRepositoryBranchesBranchInput interface {
	pulumi.Input

	ToGetRepositoryBranchesBranchOutput() GetRepositoryBranchesBranchOutput
	ToGetRepositoryBranchesBranchOutputWithContext(context.Context) GetRepositoryBranchesBranchOutput
}

GetRepositoryBranchesBranchInput is an input type that accepts GetRepositoryBranchesBranchArgs and GetRepositoryBranchesBranchOutput values. You can construct a concrete instance of `GetRepositoryBranchesBranchInput` via:

GetRepositoryBranchesBranchArgs{...}

type GetRepositoryBranchesBranchOutput

type GetRepositoryBranchesBranchOutput struct{ *pulumi.OutputState }

func (GetRepositoryBranchesBranchOutput) ElementType

func (GetRepositoryBranchesBranchOutput) Name

Name of the branch.

func (GetRepositoryBranchesBranchOutput) Protected

Whether the branch is protected.

func (GetRepositoryBranchesBranchOutput) ToGetRepositoryBranchesBranchOutput

func (o GetRepositoryBranchesBranchOutput) ToGetRepositoryBranchesBranchOutput() GetRepositoryBranchesBranchOutput

func (GetRepositoryBranchesBranchOutput) ToGetRepositoryBranchesBranchOutputWithContext

func (o GetRepositoryBranchesBranchOutput) ToGetRepositoryBranchesBranchOutputWithContext(ctx context.Context) GetRepositoryBranchesBranchOutput

type GetRepositoryBranchesOutputArgs

type GetRepositoryBranchesOutputArgs struct {
	// . If true, the `branches` attributes will be populated only with non protected branches. Default: `false`.
	OnlyNonProtectedBranches pulumi.BoolPtrInput `pulumi:"onlyNonProtectedBranches"`
	// . If true, the `branches` attributes will be populated only with protected branches. Default: `false`.
	OnlyProtectedBranches pulumi.BoolPtrInput `pulumi:"onlyProtectedBranches"`
	// Name of the repository to retrieve the branches from.
	Repository pulumi.StringInput `pulumi:"repository"`
}

A collection of arguments for invoking getRepositoryBranches.

func (GetRepositoryBranchesOutputArgs) ElementType

type GetRepositoryBranchesResult

type GetRepositoryBranchesResult struct {
	// The list of this repository's branches. Each element of `branches` has the following attributes:
	Branches []GetRepositoryBranchesBranch `pulumi:"branches"`
	// The provider-assigned unique ID for this managed resource.
	Id                       string `pulumi:"id"`
	OnlyNonProtectedBranches *bool  `pulumi:"onlyNonProtectedBranches"`
	OnlyProtectedBranches    *bool  `pulumi:"onlyProtectedBranches"`
	Repository               string `pulumi:"repository"`
}

A collection of values returned by getRepositoryBranches.

func GetRepositoryBranches

func GetRepositoryBranches(ctx *pulumi.Context, args *GetRepositoryBranchesArgs, opts ...pulumi.InvokeOption) (*GetRepositoryBranchesResult, error)

Use this data source to retrieve information about branches in a repository.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetRepositoryBranches(ctx, &github.GetRepositoryBranchesArgs{
			Repository: "example-repository",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetRepositoryBranchesResultOutput

type GetRepositoryBranchesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositoryBranches.

func (GetRepositoryBranchesResultOutput) Branches

The list of this repository's branches. Each element of `branches` has the following attributes:

func (GetRepositoryBranchesResultOutput) ElementType

func (GetRepositoryBranchesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRepositoryBranchesResultOutput) OnlyNonProtectedBranches

func (o GetRepositoryBranchesResultOutput) OnlyNonProtectedBranches() pulumi.BoolPtrOutput

func (GetRepositoryBranchesResultOutput) OnlyProtectedBranches

func (o GetRepositoryBranchesResultOutput) OnlyProtectedBranches() pulumi.BoolPtrOutput

func (GetRepositoryBranchesResultOutput) Repository

func (GetRepositoryBranchesResultOutput) ToGetRepositoryBranchesResultOutput

func (o GetRepositoryBranchesResultOutput) ToGetRepositoryBranchesResultOutput() GetRepositoryBranchesResultOutput

func (GetRepositoryBranchesResultOutput) ToGetRepositoryBranchesResultOutputWithContext

func (o GetRepositoryBranchesResultOutput) ToGetRepositoryBranchesResultOutputWithContext(ctx context.Context) GetRepositoryBranchesResultOutput

type GetRepositoryDeployKeysArgs

type GetRepositoryDeployKeysArgs struct {
	// Name of the repository to retrieve the branches from.
	Repository string `pulumi:"repository"`
}

A collection of arguments for invoking getRepositoryDeployKeys.

type GetRepositoryDeployKeysKey

type GetRepositoryDeployKeysKey struct {
	// Key id
	Id int `pulumi:"id"`
	// Key itself
	Key string `pulumi:"key"`
	// Key title
	Title string `pulumi:"title"`
	// `true` if the key was verified.
	Verified bool `pulumi:"verified"`
}

type GetRepositoryDeployKeysKeyArgs

type GetRepositoryDeployKeysKeyArgs struct {
	// Key id
	Id pulumi.IntInput `pulumi:"id"`
	// Key itself
	Key pulumi.StringInput `pulumi:"key"`
	// Key title
	Title pulumi.StringInput `pulumi:"title"`
	// `true` if the key was verified.
	Verified pulumi.BoolInput `pulumi:"verified"`
}

func (GetRepositoryDeployKeysKeyArgs) ElementType

func (GetRepositoryDeployKeysKeyArgs) ToGetRepositoryDeployKeysKeyOutput

func (i GetRepositoryDeployKeysKeyArgs) ToGetRepositoryDeployKeysKeyOutput() GetRepositoryDeployKeysKeyOutput

func (GetRepositoryDeployKeysKeyArgs) ToGetRepositoryDeployKeysKeyOutputWithContext

func (i GetRepositoryDeployKeysKeyArgs) ToGetRepositoryDeployKeysKeyOutputWithContext(ctx context.Context) GetRepositoryDeployKeysKeyOutput

type GetRepositoryDeployKeysKeyArray

type GetRepositoryDeployKeysKeyArray []GetRepositoryDeployKeysKeyInput

func (GetRepositoryDeployKeysKeyArray) ElementType

func (GetRepositoryDeployKeysKeyArray) ToGetRepositoryDeployKeysKeyArrayOutput

func (i GetRepositoryDeployKeysKeyArray) ToGetRepositoryDeployKeysKeyArrayOutput() GetRepositoryDeployKeysKeyArrayOutput

func (GetRepositoryDeployKeysKeyArray) ToGetRepositoryDeployKeysKeyArrayOutputWithContext

func (i GetRepositoryDeployKeysKeyArray) ToGetRepositoryDeployKeysKeyArrayOutputWithContext(ctx context.Context) GetRepositoryDeployKeysKeyArrayOutput

type GetRepositoryDeployKeysKeyArrayInput

type GetRepositoryDeployKeysKeyArrayInput interface {
	pulumi.Input

	ToGetRepositoryDeployKeysKeyArrayOutput() GetRepositoryDeployKeysKeyArrayOutput
	ToGetRepositoryDeployKeysKeyArrayOutputWithContext(context.Context) GetRepositoryDeployKeysKeyArrayOutput
}

GetRepositoryDeployKeysKeyArrayInput is an input type that accepts GetRepositoryDeployKeysKeyArray and GetRepositoryDeployKeysKeyArrayOutput values. You can construct a concrete instance of `GetRepositoryDeployKeysKeyArrayInput` via:

GetRepositoryDeployKeysKeyArray{ GetRepositoryDeployKeysKeyArgs{...} }

type GetRepositoryDeployKeysKeyArrayOutput

type GetRepositoryDeployKeysKeyArrayOutput struct{ *pulumi.OutputState }

func (GetRepositoryDeployKeysKeyArrayOutput) ElementType

func (GetRepositoryDeployKeysKeyArrayOutput) Index

func (GetRepositoryDeployKeysKeyArrayOutput) ToGetRepositoryDeployKeysKeyArrayOutput

func (o GetRepositoryDeployKeysKeyArrayOutput) ToGetRepositoryDeployKeysKeyArrayOutput() GetRepositoryDeployKeysKeyArrayOutput

func (GetRepositoryDeployKeysKeyArrayOutput) ToGetRepositoryDeployKeysKeyArrayOutputWithContext

func (o GetRepositoryDeployKeysKeyArrayOutput) ToGetRepositoryDeployKeysKeyArrayOutputWithContext(ctx context.Context) GetRepositoryDeployKeysKeyArrayOutput

type GetRepositoryDeployKeysKeyInput

type GetRepositoryDeployKeysKeyInput interface {
	pulumi.Input

	ToGetRepositoryDeployKeysKeyOutput() GetRepositoryDeployKeysKeyOutput
	ToGetRepositoryDeployKeysKeyOutputWithContext(context.Context) GetRepositoryDeployKeysKeyOutput
}

GetRepositoryDeployKeysKeyInput is an input type that accepts GetRepositoryDeployKeysKeyArgs and GetRepositoryDeployKeysKeyOutput values. You can construct a concrete instance of `GetRepositoryDeployKeysKeyInput` via:

GetRepositoryDeployKeysKeyArgs{...}

type GetRepositoryDeployKeysKeyOutput

type GetRepositoryDeployKeysKeyOutput struct{ *pulumi.OutputState }

func (GetRepositoryDeployKeysKeyOutput) ElementType

func (GetRepositoryDeployKeysKeyOutput) Id

Key id

func (GetRepositoryDeployKeysKeyOutput) Key

Key itself

func (GetRepositoryDeployKeysKeyOutput) Title

Key title

func (GetRepositoryDeployKeysKeyOutput) ToGetRepositoryDeployKeysKeyOutput

func (o GetRepositoryDeployKeysKeyOutput) ToGetRepositoryDeployKeysKeyOutput() GetRepositoryDeployKeysKeyOutput

func (GetRepositoryDeployKeysKeyOutput) ToGetRepositoryDeployKeysKeyOutputWithContext

func (o GetRepositoryDeployKeysKeyOutput) ToGetRepositoryDeployKeysKeyOutputWithContext(ctx context.Context) GetRepositoryDeployKeysKeyOutput

func (GetRepositoryDeployKeysKeyOutput) Verified

`true` if the key was verified.

type GetRepositoryDeployKeysOutputArgs

type GetRepositoryDeployKeysOutputArgs struct {
	// Name of the repository to retrieve the branches from.
	Repository pulumi.StringInput `pulumi:"repository"`
}

A collection of arguments for invoking getRepositoryDeployKeys.

func (GetRepositoryDeployKeysOutputArgs) ElementType

type GetRepositoryDeployKeysResult

type GetRepositoryDeployKeysResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of this repository's deploy keys. Each element of `keys` has the following attributes:
	Keys       []GetRepositoryDeployKeysKey `pulumi:"keys"`
	Repository string                       `pulumi:"repository"`
}

A collection of values returned by getRepositoryDeployKeys.

func GetRepositoryDeployKeys

func GetRepositoryDeployKeys(ctx *pulumi.Context, args *GetRepositoryDeployKeysArgs, opts ...pulumi.InvokeOption) (*GetRepositoryDeployKeysResult, error)

Use this data source to retrieve all deploy keys of a repository.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetRepositoryDeployKeys(ctx, &github.GetRepositoryDeployKeysArgs{
			Repository: "example-repository",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetRepositoryDeployKeysResultOutput

type GetRepositoryDeployKeysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositoryDeployKeys.

func (GetRepositoryDeployKeysResultOutput) ElementType

func (GetRepositoryDeployKeysResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRepositoryDeployKeysResultOutput) Keys

The list of this repository's deploy keys. Each element of `keys` has the following attributes:

func (GetRepositoryDeployKeysResultOutput) Repository

func (GetRepositoryDeployKeysResultOutput) ToGetRepositoryDeployKeysResultOutput

func (o GetRepositoryDeployKeysResultOutput) ToGetRepositoryDeployKeysResultOutput() GetRepositoryDeployKeysResultOutput

func (GetRepositoryDeployKeysResultOutput) ToGetRepositoryDeployKeysResultOutputWithContext

func (o GetRepositoryDeployKeysResultOutput) ToGetRepositoryDeployKeysResultOutputWithContext(ctx context.Context) GetRepositoryDeployKeysResultOutput

type GetRepositoryDeploymentBranchPoliciesArgs

type GetRepositoryDeploymentBranchPoliciesArgs struct {
	// Name of the environment to retrieve the deployment branch policies  from.
	EnvironmentName string `pulumi:"environmentName"`
	// Name of the repository to retrieve the deployment branch policies from.
	Repository string `pulumi:"repository"`
}

A collection of arguments for invoking getRepositoryDeploymentBranchPolicies.

type GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicy

type GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicy struct {
	// Id of the policy.
	Id string `pulumi:"id"`
	// The name pattern that branches must match in order to deploy to the environment.
	Name string `pulumi:"name"`
}

type GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArgs

type GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArgs struct {
	// Id of the policy.
	Id pulumi.StringInput `pulumi:"id"`
	// The name pattern that branches must match in order to deploy to the environment.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArgs) ElementType

func (GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArgs) ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput

func (GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArgs) ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutputWithContext

func (i GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArgs) ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutputWithContext(ctx context.Context) GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput

type GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArray

type GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArray []GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyInput

func (GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArray) ElementType

func (GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArray) ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutput

func (GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArray) ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutputWithContext

func (i GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArray) ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutputWithContext(ctx context.Context) GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutput

type GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayInput

type GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayInput interface {
	pulumi.Input

	ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutput() GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutput
	ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutputWithContext(context.Context) GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutput
}

GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayInput is an input type that accepts GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArray and GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutput values. You can construct a concrete instance of `GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayInput` via:

GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArray{ GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArgs{...} }

type GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutput

type GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutput) ElementType

func (GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutput) ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutput

func (GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutput) ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutputWithContext

func (o GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutput) ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutputWithContext(ctx context.Context) GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArrayOutput

type GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyInput

type GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyInput interface {
	pulumi.Input

	ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput() GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput
	ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutputWithContext(context.Context) GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput
}

GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyInput is an input type that accepts GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArgs and GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput values. You can construct a concrete instance of `GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyInput` via:

GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyArgs{...}

type GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput

type GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput struct{ *pulumi.OutputState }

func (GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput) ElementType

func (GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput) Id

Id of the policy.

func (GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput) Name

The name pattern that branches must match in order to deploy to the environment.

func (GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput) ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput

func (GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput) ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutputWithContext

func (o GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput) ToGetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutputWithContext(ctx context.Context) GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicyOutput

type GetRepositoryDeploymentBranchPoliciesOutputArgs

type GetRepositoryDeploymentBranchPoliciesOutputArgs struct {
	// Name of the environment to retrieve the deployment branch policies  from.
	EnvironmentName pulumi.StringInput `pulumi:"environmentName"`
	// Name of the repository to retrieve the deployment branch policies from.
	Repository pulumi.StringInput `pulumi:"repository"`
}

A collection of arguments for invoking getRepositoryDeploymentBranchPolicies.

func (GetRepositoryDeploymentBranchPoliciesOutputArgs) ElementType

type GetRepositoryDeploymentBranchPoliciesResult

type GetRepositoryDeploymentBranchPoliciesResult struct {
	// The list of this repository / environment deployment policies. Each element of `deploymentBranchPolicies` has the following attributes:
	DeploymentBranchPolicies []GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicy `pulumi:"deploymentBranchPolicies"`
	EnvironmentName          string                                                        `pulumi:"environmentName"`
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	Repository string `pulumi:"repository"`
}

A collection of values returned by getRepositoryDeploymentBranchPolicies.

func GetRepositoryDeploymentBranchPolicies

Use this data source to retrieve deployment branch policies for a repository / environment.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetRepositoryDeploymentBranchPolicies(ctx, &github.GetRepositoryDeploymentBranchPoliciesArgs{
			EnvironmentName: "env_name",
			Repository:      "example-repository",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetRepositoryDeploymentBranchPoliciesResultOutput

type GetRepositoryDeploymentBranchPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositoryDeploymentBranchPolicies.

func (GetRepositoryDeploymentBranchPoliciesResultOutput) DeploymentBranchPolicies

The list of this repository / environment deployment policies. Each element of `deploymentBranchPolicies` has the following attributes:

func (GetRepositoryDeploymentBranchPoliciesResultOutput) ElementType

func (GetRepositoryDeploymentBranchPoliciesResultOutput) EnvironmentName

func (GetRepositoryDeploymentBranchPoliciesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRepositoryDeploymentBranchPoliciesResultOutput) Repository

func (GetRepositoryDeploymentBranchPoliciesResultOutput) ToGetRepositoryDeploymentBranchPoliciesResultOutput

func (o GetRepositoryDeploymentBranchPoliciesResultOutput) ToGetRepositoryDeploymentBranchPoliciesResultOutput() GetRepositoryDeploymentBranchPoliciesResultOutput

func (GetRepositoryDeploymentBranchPoliciesResultOutput) ToGetRepositoryDeploymentBranchPoliciesResultOutputWithContext

func (o GetRepositoryDeploymentBranchPoliciesResultOutput) ToGetRepositoryDeploymentBranchPoliciesResultOutputWithContext(ctx context.Context) GetRepositoryDeploymentBranchPoliciesResultOutput

type GetRepositoryEnvironmentsArgs

type GetRepositoryEnvironmentsArgs struct {
	// Name of the repository to retrieve the environments from.
	Repository string `pulumi:"repository"`
}

A collection of arguments for invoking getRepositoryEnvironments.

type GetRepositoryEnvironmentsEnvironment

type GetRepositoryEnvironmentsEnvironment struct {
	// Environment name.
	Name string `pulumi:"name"`
	// Environment node id.
	NodeId string `pulumi:"nodeId"`
}

type GetRepositoryEnvironmentsEnvironmentArgs

type GetRepositoryEnvironmentsEnvironmentArgs struct {
	// Environment name.
	Name pulumi.StringInput `pulumi:"name"`
	// Environment node id.
	NodeId pulumi.StringInput `pulumi:"nodeId"`
}

func (GetRepositoryEnvironmentsEnvironmentArgs) ElementType

func (GetRepositoryEnvironmentsEnvironmentArgs) ToGetRepositoryEnvironmentsEnvironmentOutput

func (i GetRepositoryEnvironmentsEnvironmentArgs) ToGetRepositoryEnvironmentsEnvironmentOutput() GetRepositoryEnvironmentsEnvironmentOutput

func (GetRepositoryEnvironmentsEnvironmentArgs) ToGetRepositoryEnvironmentsEnvironmentOutputWithContext

func (i GetRepositoryEnvironmentsEnvironmentArgs) ToGetRepositoryEnvironmentsEnvironmentOutputWithContext(ctx context.Context) GetRepositoryEnvironmentsEnvironmentOutput

type GetRepositoryEnvironmentsEnvironmentArray

type GetRepositoryEnvironmentsEnvironmentArray []GetRepositoryEnvironmentsEnvironmentInput

func (GetRepositoryEnvironmentsEnvironmentArray) ElementType

func (GetRepositoryEnvironmentsEnvironmentArray) ToGetRepositoryEnvironmentsEnvironmentArrayOutput

func (i GetRepositoryEnvironmentsEnvironmentArray) ToGetRepositoryEnvironmentsEnvironmentArrayOutput() GetRepositoryEnvironmentsEnvironmentArrayOutput

func (GetRepositoryEnvironmentsEnvironmentArray) ToGetRepositoryEnvironmentsEnvironmentArrayOutputWithContext

func (i GetRepositoryEnvironmentsEnvironmentArray) ToGetRepositoryEnvironmentsEnvironmentArrayOutputWithContext(ctx context.Context) GetRepositoryEnvironmentsEnvironmentArrayOutput

type GetRepositoryEnvironmentsEnvironmentArrayInput

type GetRepositoryEnvironmentsEnvironmentArrayInput interface {
	pulumi.Input

	ToGetRepositoryEnvironmentsEnvironmentArrayOutput() GetRepositoryEnvironmentsEnvironmentArrayOutput
	ToGetRepositoryEnvironmentsEnvironmentArrayOutputWithContext(context.Context) GetRepositoryEnvironmentsEnvironmentArrayOutput
}

GetRepositoryEnvironmentsEnvironmentArrayInput is an input type that accepts GetRepositoryEnvironmentsEnvironmentArray and GetRepositoryEnvironmentsEnvironmentArrayOutput values. You can construct a concrete instance of `GetRepositoryEnvironmentsEnvironmentArrayInput` via:

GetRepositoryEnvironmentsEnvironmentArray{ GetRepositoryEnvironmentsEnvironmentArgs{...} }

type GetRepositoryEnvironmentsEnvironmentArrayOutput

type GetRepositoryEnvironmentsEnvironmentArrayOutput struct{ *pulumi.OutputState }

func (GetRepositoryEnvironmentsEnvironmentArrayOutput) ElementType

func (GetRepositoryEnvironmentsEnvironmentArrayOutput) Index

func (GetRepositoryEnvironmentsEnvironmentArrayOutput) ToGetRepositoryEnvironmentsEnvironmentArrayOutput

func (o GetRepositoryEnvironmentsEnvironmentArrayOutput) ToGetRepositoryEnvironmentsEnvironmentArrayOutput() GetRepositoryEnvironmentsEnvironmentArrayOutput

func (GetRepositoryEnvironmentsEnvironmentArrayOutput) ToGetRepositoryEnvironmentsEnvironmentArrayOutputWithContext

func (o GetRepositoryEnvironmentsEnvironmentArrayOutput) ToGetRepositoryEnvironmentsEnvironmentArrayOutputWithContext(ctx context.Context) GetRepositoryEnvironmentsEnvironmentArrayOutput

type GetRepositoryEnvironmentsEnvironmentInput

type GetRepositoryEnvironmentsEnvironmentInput interface {
	pulumi.Input

	ToGetRepositoryEnvironmentsEnvironmentOutput() GetRepositoryEnvironmentsEnvironmentOutput
	ToGetRepositoryEnvironmentsEnvironmentOutputWithContext(context.Context) GetRepositoryEnvironmentsEnvironmentOutput
}

GetRepositoryEnvironmentsEnvironmentInput is an input type that accepts GetRepositoryEnvironmentsEnvironmentArgs and GetRepositoryEnvironmentsEnvironmentOutput values. You can construct a concrete instance of `GetRepositoryEnvironmentsEnvironmentInput` via:

GetRepositoryEnvironmentsEnvironmentArgs{...}

type GetRepositoryEnvironmentsEnvironmentOutput

type GetRepositoryEnvironmentsEnvironmentOutput struct{ *pulumi.OutputState }

func (GetRepositoryEnvironmentsEnvironmentOutput) ElementType

func (GetRepositoryEnvironmentsEnvironmentOutput) Name

Environment name.

func (GetRepositoryEnvironmentsEnvironmentOutput) NodeId

Environment node id.

func (GetRepositoryEnvironmentsEnvironmentOutput) ToGetRepositoryEnvironmentsEnvironmentOutput

func (o GetRepositoryEnvironmentsEnvironmentOutput) ToGetRepositoryEnvironmentsEnvironmentOutput() GetRepositoryEnvironmentsEnvironmentOutput

func (GetRepositoryEnvironmentsEnvironmentOutput) ToGetRepositoryEnvironmentsEnvironmentOutputWithContext

func (o GetRepositoryEnvironmentsEnvironmentOutput) ToGetRepositoryEnvironmentsEnvironmentOutputWithContext(ctx context.Context) GetRepositoryEnvironmentsEnvironmentOutput

type GetRepositoryEnvironmentsOutputArgs

type GetRepositoryEnvironmentsOutputArgs struct {
	// Name of the repository to retrieve the environments from.
	Repository pulumi.StringInput `pulumi:"repository"`
}

A collection of arguments for invoking getRepositoryEnvironments.

func (GetRepositoryEnvironmentsOutputArgs) ElementType

type GetRepositoryEnvironmentsResult

type GetRepositoryEnvironmentsResult struct {
	// The list of this repository's environments. Each element of `environments` has the following attributes:
	Environments []GetRepositoryEnvironmentsEnvironment `pulumi:"environments"`
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	Repository string `pulumi:"repository"`
}

A collection of values returned by getRepositoryEnvironments.

func GetRepositoryEnvironments

func GetRepositoryEnvironments(ctx *pulumi.Context, args *GetRepositoryEnvironmentsArgs, opts ...pulumi.InvokeOption) (*GetRepositoryEnvironmentsResult, error)

Use this data source to retrieve information about environments for a repository.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetRepositoryEnvironments(ctx, &github.GetRepositoryEnvironmentsArgs{
			Repository: "example-repository",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetRepositoryEnvironmentsResultOutput

type GetRepositoryEnvironmentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositoryEnvironments.

func (GetRepositoryEnvironmentsResultOutput) ElementType

func (GetRepositoryEnvironmentsResultOutput) Environments

The list of this repository's environments. Each element of `environments` has the following attributes:

func (GetRepositoryEnvironmentsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRepositoryEnvironmentsResultOutput) Repository

func (GetRepositoryEnvironmentsResultOutput) ToGetRepositoryEnvironmentsResultOutput

func (o GetRepositoryEnvironmentsResultOutput) ToGetRepositoryEnvironmentsResultOutput() GetRepositoryEnvironmentsResultOutput

func (GetRepositoryEnvironmentsResultOutput) ToGetRepositoryEnvironmentsResultOutputWithContext

func (o GetRepositoryEnvironmentsResultOutput) ToGetRepositoryEnvironmentsResultOutputWithContext(ctx context.Context) GetRepositoryEnvironmentsResultOutput

type GetRepositoryPage

type GetRepositoryPage struct {
	BuildType string `pulumi:"buildType"`
	Cname     string `pulumi:"cname"`
	Custom404 bool   `pulumi:"custom404"`
	// The URL to view the license details on GitHub.
	HtmlUrl string                    `pulumi:"htmlUrl"`
	Sources []GetRepositoryPageSource `pulumi:"sources"`
	Status  string                    `pulumi:"status"`
	// The URL to access information about the license on GitHub.
	Url string `pulumi:"url"`
}

type GetRepositoryPageArgs

type GetRepositoryPageArgs struct {
	BuildType pulumi.StringInput `pulumi:"buildType"`
	Cname     pulumi.StringInput `pulumi:"cname"`
	Custom404 pulumi.BoolInput   `pulumi:"custom404"`
	// The URL to view the license details on GitHub.
	HtmlUrl pulumi.StringInput                `pulumi:"htmlUrl"`
	Sources GetRepositoryPageSourceArrayInput `pulumi:"sources"`
	Status  pulumi.StringInput                `pulumi:"status"`
	// The URL to access information about the license on GitHub.
	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) Index

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) BuildType

func (GetRepositoryPageOutput) Cname

func (GetRepositoryPageOutput) Custom404

func (GetRepositoryPageOutput) ElementType

func (GetRepositoryPageOutput) ElementType() reflect.Type

func (GetRepositoryPageOutput) HtmlUrl

The URL to view the license details on GitHub.

func (GetRepositoryPageOutput) Sources

func (GetRepositoryPageOutput) Status

func (GetRepositoryPageOutput) ToGetRepositoryPageOutput

func (o GetRepositoryPageOutput) ToGetRepositoryPageOutput() GetRepositoryPageOutput

func (GetRepositoryPageOutput) ToGetRepositoryPageOutputWithContext

func (o GetRepositoryPageOutput) ToGetRepositoryPageOutputWithContext(ctx context.Context) GetRepositoryPageOutput

func (GetRepositoryPageOutput) Url

The URL to access information about the license on GitHub.

type GetRepositoryPageSource

type GetRepositoryPageSource struct {
	Branch string `pulumi:"branch"`
	// The path to the license file within the repository.
	Path string `pulumi:"path"`
}

type GetRepositoryPageSourceArgs

type GetRepositoryPageSourceArgs struct {
	Branch pulumi.StringInput `pulumi:"branch"`
	// The path to the license file within the repository.
	Path pulumi.StringInput `pulumi:"path"`
}

func (GetRepositoryPageSourceArgs) ElementType

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) 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) Index

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 (GetRepositoryPageSourceOutput) ElementType

func (GetRepositoryPageSourceOutput) Path

The path to the license file within the repository.

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

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

func (GetRepositoryPullRequestsResultArgs) ToGetRepositoryPullRequestsResultOutput

func (i GetRepositoryPullRequestsResultArgs) ToGetRepositoryPullRequestsResultOutput() GetRepositoryPullRequestsResultOutput

func (GetRepositoryPullRequestsResultArgs) ToGetRepositoryPullRequestsResultOutputWithContext

func (i GetRepositoryPullRequestsResultArgs) ToGetRepositoryPullRequestsResultOutputWithContext(ctx context.Context) GetRepositoryPullRequestsResultOutput

type GetRepositoryPullRequestsResultArray

type GetRepositoryPullRequestsResultArray []GetRepositoryPullRequestsResultInput

func (GetRepositoryPullRequestsResultArray) ElementType

func (GetRepositoryPullRequestsResultArray) ToGetRepositoryPullRequestsResultArrayOutput

func (i GetRepositoryPullRequestsResultArray) ToGetRepositoryPullRequestsResultArrayOutput() GetRepositoryPullRequestsResultArrayOutput

func (GetRepositoryPullRequestsResultArray) ToGetRepositoryPullRequestsResultArrayOutputWithContext

func (i GetRepositoryPullRequestsResultArray) ToGetRepositoryPullRequestsResultArrayOutputWithContext(ctx context.Context) GetRepositoryPullRequestsResultArrayOutput

type GetRepositoryPullRequestsResultArrayInput

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

type GetRepositoryPullRequestsResultArrayOutput struct{ *pulumi.OutputState }

func (GetRepositoryPullRequestsResultArrayOutput) ElementType

func (GetRepositoryPullRequestsResultArrayOutput) Index

func (GetRepositoryPullRequestsResultArrayOutput) ToGetRepositoryPullRequestsResultArrayOutput

func (o GetRepositoryPullRequestsResultArrayOutput) ToGetRepositoryPullRequestsResultArrayOutput() GetRepositoryPullRequestsResultArrayOutput

func (GetRepositoryPullRequestsResultArrayOutput) ToGetRepositoryPullRequestsResultArrayOutputWithContext

func (o GetRepositoryPullRequestsResultArrayOutput) ToGetRepositoryPullRequestsResultArrayOutputWithContext(ctx context.Context) GetRepositoryPullRequestsResultArrayOutput

type GetRepositoryPullRequestsResultInput

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

type GetRepositoryPullRequestsResultOutput struct{ *pulumi.OutputState }

func (GetRepositoryPullRequestsResultOutput) BaseRef

If set, filters Pull Requests by base branch name.

func (GetRepositoryPullRequestsResultOutput) BaseSha

Head commit SHA of the Pull Request base.

func (GetRepositoryPullRequestsResultOutput) Body

Body of the Pull Request.

func (GetRepositoryPullRequestsResultOutput) Draft

Indicates Whether this Pull Request is a draft.

func (GetRepositoryPullRequestsResultOutput) ElementType

func (GetRepositoryPullRequestsResultOutput) HeadOwner

Owner of the Pull Request head repository.

func (GetRepositoryPullRequestsResultOutput) HeadRef

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

Name of the Pull Request head repository.

func (GetRepositoryPullRequestsResultOutput) HeadSha

Head commit SHA of the Pull Request head.

func (GetRepositoryPullRequestsResultOutput) Labels

List of label names set on the Pull Request.

func (GetRepositoryPullRequestsResultOutput) MaintainerCanModify

Indicates whether the base repository maintainers can modify the Pull Request.

func (GetRepositoryPullRequestsResultOutput) Number

The number of the Pull Request within the repository.

func (GetRepositoryPullRequestsResultOutput) OpenedAt

Unix timestamp indicating the Pull Request creation time.

func (GetRepositoryPullRequestsResultOutput) OpenedBy

GitHub login of the user who opened the Pull Request.

func (GetRepositoryPullRequestsResultOutput) State

If set, filters Pull Requests by state. Can be "open", "closed", or "all". Default: "open".

func (GetRepositoryPullRequestsResultOutput) Title

The title of the Pull Request.

func (GetRepositoryPullRequestsResultOutput) ToGetRepositoryPullRequestsResultOutput

func (o GetRepositoryPullRequestsResultOutput) ToGetRepositoryPullRequestsResultOutput() GetRepositoryPullRequestsResultOutput

func (GetRepositoryPullRequestsResultOutput) ToGetRepositoryPullRequestsResultOutputWithContext

func (o GetRepositoryPullRequestsResultOutput) ToGetRepositoryPullRequestsResultOutputWithContext(ctx context.Context) GetRepositoryPullRequestsResultOutput

func (GetRepositoryPullRequestsResultOutput) UpdatedAt

The timestamp of the last Pull Request update.

type GetRepositoryRepositoryLicense

type GetRepositoryRepositoryLicense struct {
	// Content of the license file, encoded by encoding scheme mentioned below.
	Content string `pulumi:"content"`
	// The URL to download the raw content of the license file.
	DownloadUrl string `pulumi:"downloadUrl"`
	// The encoding used for the content (e.g., "base64").
	Encoding string `pulumi:"encoding"`
	// The URL to access information about the license file as a Git blob.
	GitUrl string `pulumi:"gitUrl"`
	// The URL to view the license details on GitHub.
	HtmlUrl string `pulumi:"htmlUrl"`
	// `license` block consists of the fields documented below.
	Licenses []GetRepositoryRepositoryLicenseLicense `pulumi:"licenses"`
	// The name of the repository.
	Name string `pulumi:"name"`
	// The path to the license file within the repository.
	Path string `pulumi:"path"`
	// The SHA hash of the license file.
	Sha string `pulumi:"sha"`
	// The size of the license file in bytes.
	Size int `pulumi:"size"`
	// The type of the content, (e.g., "file").
	Type string `pulumi:"type"`
	// The URL to access information about the license on GitHub.
	Url string `pulumi:"url"`
}

type GetRepositoryRepositoryLicenseArgs

type GetRepositoryRepositoryLicenseArgs struct {
	// Content of the license file, encoded by encoding scheme mentioned below.
	Content pulumi.StringInput `pulumi:"content"`
	// The URL to download the raw content of the license file.
	DownloadUrl pulumi.StringInput `pulumi:"downloadUrl"`
	// The encoding used for the content (e.g., "base64").
	Encoding pulumi.StringInput `pulumi:"encoding"`
	// The URL to access information about the license file as a Git blob.
	GitUrl pulumi.StringInput `pulumi:"gitUrl"`
	// The URL to view the license details on GitHub.
	HtmlUrl pulumi.StringInput `pulumi:"htmlUrl"`
	// `license` block consists of the fields documented below.
	Licenses GetRepositoryRepositoryLicenseLicenseArrayInput `pulumi:"licenses"`
	// The name of the repository.
	Name pulumi.StringInput `pulumi:"name"`
	// The path to the license file within the repository.
	Path pulumi.StringInput `pulumi:"path"`
	// The SHA hash of the license file.
	Sha pulumi.StringInput `pulumi:"sha"`
	// The size of the license file in bytes.
	Size pulumi.IntInput `pulumi:"size"`
	// The type of the content, (e.g., "file").
	Type pulumi.StringInput `pulumi:"type"`
	// The URL to access information about the license on GitHub.
	Url pulumi.StringInput `pulumi:"url"`
}

func (GetRepositoryRepositoryLicenseArgs) ElementType

func (GetRepositoryRepositoryLicenseArgs) ToGetRepositoryRepositoryLicenseOutput

func (i GetRepositoryRepositoryLicenseArgs) ToGetRepositoryRepositoryLicenseOutput() GetRepositoryRepositoryLicenseOutput

func (GetRepositoryRepositoryLicenseArgs) ToGetRepositoryRepositoryLicenseOutputWithContext

func (i GetRepositoryRepositoryLicenseArgs) ToGetRepositoryRepositoryLicenseOutputWithContext(ctx context.Context) GetRepositoryRepositoryLicenseOutput

type GetRepositoryRepositoryLicenseArray

type GetRepositoryRepositoryLicenseArray []GetRepositoryRepositoryLicenseInput

func (GetRepositoryRepositoryLicenseArray) ElementType

func (GetRepositoryRepositoryLicenseArray) ToGetRepositoryRepositoryLicenseArrayOutput

func (i GetRepositoryRepositoryLicenseArray) ToGetRepositoryRepositoryLicenseArrayOutput() GetRepositoryRepositoryLicenseArrayOutput

func (GetRepositoryRepositoryLicenseArray) ToGetRepositoryRepositoryLicenseArrayOutputWithContext

func (i GetRepositoryRepositoryLicenseArray) ToGetRepositoryRepositoryLicenseArrayOutputWithContext(ctx context.Context) GetRepositoryRepositoryLicenseArrayOutput

type GetRepositoryRepositoryLicenseArrayInput

type GetRepositoryRepositoryLicenseArrayInput interface {
	pulumi.Input

	ToGetRepositoryRepositoryLicenseArrayOutput() GetRepositoryRepositoryLicenseArrayOutput
	ToGetRepositoryRepositoryLicenseArrayOutputWithContext(context.Context) GetRepositoryRepositoryLicenseArrayOutput
}

GetRepositoryRepositoryLicenseArrayInput is an input type that accepts GetRepositoryRepositoryLicenseArray and GetRepositoryRepositoryLicenseArrayOutput values. You can construct a concrete instance of `GetRepositoryRepositoryLicenseArrayInput` via:

GetRepositoryRepositoryLicenseArray{ GetRepositoryRepositoryLicenseArgs{...} }

type GetRepositoryRepositoryLicenseArrayOutput

type GetRepositoryRepositoryLicenseArrayOutput struct{ *pulumi.OutputState }

func (GetRepositoryRepositoryLicenseArrayOutput) ElementType

func (GetRepositoryRepositoryLicenseArrayOutput) Index

func (GetRepositoryRepositoryLicenseArrayOutput) ToGetRepositoryRepositoryLicenseArrayOutput

func (o GetRepositoryRepositoryLicenseArrayOutput) ToGetRepositoryRepositoryLicenseArrayOutput() GetRepositoryRepositoryLicenseArrayOutput

func (GetRepositoryRepositoryLicenseArrayOutput) ToGetRepositoryRepositoryLicenseArrayOutputWithContext

func (o GetRepositoryRepositoryLicenseArrayOutput) ToGetRepositoryRepositoryLicenseArrayOutputWithContext(ctx context.Context) GetRepositoryRepositoryLicenseArrayOutput

type GetRepositoryRepositoryLicenseInput

type GetRepositoryRepositoryLicenseInput interface {
	pulumi.Input

	ToGetRepositoryRepositoryLicenseOutput() GetRepositoryRepositoryLicenseOutput
	ToGetRepositoryRepositoryLicenseOutputWithContext(context.Context) GetRepositoryRepositoryLicenseOutput
}

GetRepositoryRepositoryLicenseInput is an input type that accepts GetRepositoryRepositoryLicenseArgs and GetRepositoryRepositoryLicenseOutput values. You can construct a concrete instance of `GetRepositoryRepositoryLicenseInput` via:

GetRepositoryRepositoryLicenseArgs{...}

type GetRepositoryRepositoryLicenseLicense

type GetRepositoryRepositoryLicenseLicense struct {
	// The text of the license.
	Body string `pulumi:"body"`
	// Conditions associated with the license.
	Conditions []string `pulumi:"conditions"`
	// A description of the license.
	Description string `pulumi:"description"`
	// Indicates if the license is featured.
	Featured bool `pulumi:"featured"`
	// The URL to view the license details on GitHub.
	HtmlUrl string `pulumi:"htmlUrl"`
	// Details about the implementation of the license.
	Implementation string `pulumi:"implementation"`
	// A key representing the license type (e.g., "apache-2.0").
	Key string `pulumi:"key"`
	// Limitations associated with the license.
	Limitations []string `pulumi:"limitations"`
	// The name of the repository.
	Name string `pulumi:"name"`
	// Permissions associated with the license.
	Permissions []string `pulumi:"permissions"`
	// The SPDX identifier for the license (e.g., "Apache-2.0").
	SpdxId string `pulumi:"spdxId"`
	// The URL to access information about the license on GitHub.
	Url string `pulumi:"url"`
}

type GetRepositoryRepositoryLicenseLicenseArgs

type GetRepositoryRepositoryLicenseLicenseArgs struct {
	// The text of the license.
	Body pulumi.StringInput `pulumi:"body"`
	// Conditions associated with the license.
	Conditions pulumi.StringArrayInput `pulumi:"conditions"`
	// A description of the license.
	Description pulumi.StringInput `pulumi:"description"`
	// Indicates if the license is featured.
	Featured pulumi.BoolInput `pulumi:"featured"`
	// The URL to view the license details on GitHub.
	HtmlUrl pulumi.StringInput `pulumi:"htmlUrl"`
	// Details about the implementation of the license.
	Implementation pulumi.StringInput `pulumi:"implementation"`
	// A key representing the license type (e.g., "apache-2.0").
	Key pulumi.StringInput `pulumi:"key"`
	// Limitations associated with the license.
	Limitations pulumi.StringArrayInput `pulumi:"limitations"`
	// The name of the repository.
	Name pulumi.StringInput `pulumi:"name"`
	// Permissions associated with the license.
	Permissions pulumi.StringArrayInput `pulumi:"permissions"`
	// The SPDX identifier for the license (e.g., "Apache-2.0").
	SpdxId pulumi.StringInput `pulumi:"spdxId"`
	// The URL to access information about the license on GitHub.
	Url pulumi.StringInput `pulumi:"url"`
}

func (GetRepositoryRepositoryLicenseLicenseArgs) ElementType

func (GetRepositoryRepositoryLicenseLicenseArgs) ToGetRepositoryRepositoryLicenseLicenseOutput

func (i GetRepositoryRepositoryLicenseLicenseArgs) ToGetRepositoryRepositoryLicenseLicenseOutput() GetRepositoryRepositoryLicenseLicenseOutput

func (GetRepositoryRepositoryLicenseLicenseArgs) ToGetRepositoryRepositoryLicenseLicenseOutputWithContext

func (i GetRepositoryRepositoryLicenseLicenseArgs) ToGetRepositoryRepositoryLicenseLicenseOutputWithContext(ctx context.Context) GetRepositoryRepositoryLicenseLicenseOutput

type GetRepositoryRepositoryLicenseLicenseArray

type GetRepositoryRepositoryLicenseLicenseArray []GetRepositoryRepositoryLicenseLicenseInput

func (GetRepositoryRepositoryLicenseLicenseArray) ElementType

func (GetRepositoryRepositoryLicenseLicenseArray) ToGetRepositoryRepositoryLicenseLicenseArrayOutput

func (i GetRepositoryRepositoryLicenseLicenseArray) ToGetRepositoryRepositoryLicenseLicenseArrayOutput() GetRepositoryRepositoryLicenseLicenseArrayOutput

func (GetRepositoryRepositoryLicenseLicenseArray) ToGetRepositoryRepositoryLicenseLicenseArrayOutputWithContext

func (i GetRepositoryRepositoryLicenseLicenseArray) ToGetRepositoryRepositoryLicenseLicenseArrayOutputWithContext(ctx context.Context) GetRepositoryRepositoryLicenseLicenseArrayOutput

type GetRepositoryRepositoryLicenseLicenseArrayInput

type GetRepositoryRepositoryLicenseLicenseArrayInput interface {
	pulumi.Input

	ToGetRepositoryRepositoryLicenseLicenseArrayOutput() GetRepositoryRepositoryLicenseLicenseArrayOutput
	ToGetRepositoryRepositoryLicenseLicenseArrayOutputWithContext(context.Context) GetRepositoryRepositoryLicenseLicenseArrayOutput
}

GetRepositoryRepositoryLicenseLicenseArrayInput is an input type that accepts GetRepositoryRepositoryLicenseLicenseArray and GetRepositoryRepositoryLicenseLicenseArrayOutput values. You can construct a concrete instance of `GetRepositoryRepositoryLicenseLicenseArrayInput` via:

GetRepositoryRepositoryLicenseLicenseArray{ GetRepositoryRepositoryLicenseLicenseArgs{...} }

type GetRepositoryRepositoryLicenseLicenseArrayOutput

type GetRepositoryRepositoryLicenseLicenseArrayOutput struct{ *pulumi.OutputState }

func (GetRepositoryRepositoryLicenseLicenseArrayOutput) ElementType

func (GetRepositoryRepositoryLicenseLicenseArrayOutput) Index

func (GetRepositoryRepositoryLicenseLicenseArrayOutput) ToGetRepositoryRepositoryLicenseLicenseArrayOutput

func (o GetRepositoryRepositoryLicenseLicenseArrayOutput) ToGetRepositoryRepositoryLicenseLicenseArrayOutput() GetRepositoryRepositoryLicenseLicenseArrayOutput

func (GetRepositoryRepositoryLicenseLicenseArrayOutput) ToGetRepositoryRepositoryLicenseLicenseArrayOutputWithContext

func (o GetRepositoryRepositoryLicenseLicenseArrayOutput) ToGetRepositoryRepositoryLicenseLicenseArrayOutputWithContext(ctx context.Context) GetRepositoryRepositoryLicenseLicenseArrayOutput

type GetRepositoryRepositoryLicenseLicenseInput

type GetRepositoryRepositoryLicenseLicenseInput interface {
	pulumi.Input

	ToGetRepositoryRepositoryLicenseLicenseOutput() GetRepositoryRepositoryLicenseLicenseOutput
	ToGetRepositoryRepositoryLicenseLicenseOutputWithContext(context.Context) GetRepositoryRepositoryLicenseLicenseOutput
}

GetRepositoryRepositoryLicenseLicenseInput is an input type that accepts GetRepositoryRepositoryLicenseLicenseArgs and GetRepositoryRepositoryLicenseLicenseOutput values. You can construct a concrete instance of `GetRepositoryRepositoryLicenseLicenseInput` via:

GetRepositoryRepositoryLicenseLicenseArgs{...}

type GetRepositoryRepositoryLicenseLicenseOutput

type GetRepositoryRepositoryLicenseLicenseOutput struct{ *pulumi.OutputState }

func (GetRepositoryRepositoryLicenseLicenseOutput) Body

The text of the license.

func (GetRepositoryRepositoryLicenseLicenseOutput) Conditions

Conditions associated with the license.

func (GetRepositoryRepositoryLicenseLicenseOutput) Description

A description of the license.

func (GetRepositoryRepositoryLicenseLicenseOutput) ElementType

func (GetRepositoryRepositoryLicenseLicenseOutput) Featured

Indicates if the license is featured.

func (GetRepositoryRepositoryLicenseLicenseOutput) HtmlUrl

The URL to view the license details on GitHub.

func (GetRepositoryRepositoryLicenseLicenseOutput) Implementation

Details about the implementation of the license.

func (GetRepositoryRepositoryLicenseLicenseOutput) Key

A key representing the license type (e.g., "apache-2.0").

func (GetRepositoryRepositoryLicenseLicenseOutput) Limitations

Limitations associated with the license.

func (GetRepositoryRepositoryLicenseLicenseOutput) Name

The name of the repository.

func (GetRepositoryRepositoryLicenseLicenseOutput) Permissions

Permissions associated with the license.

func (GetRepositoryRepositoryLicenseLicenseOutput) SpdxId

The SPDX identifier for the license (e.g., "Apache-2.0").

func (GetRepositoryRepositoryLicenseLicenseOutput) ToGetRepositoryRepositoryLicenseLicenseOutput

func (o GetRepositoryRepositoryLicenseLicenseOutput) ToGetRepositoryRepositoryLicenseLicenseOutput() GetRepositoryRepositoryLicenseLicenseOutput

func (GetRepositoryRepositoryLicenseLicenseOutput) ToGetRepositoryRepositoryLicenseLicenseOutputWithContext

func (o GetRepositoryRepositoryLicenseLicenseOutput) ToGetRepositoryRepositoryLicenseLicenseOutputWithContext(ctx context.Context) GetRepositoryRepositoryLicenseLicenseOutput

func (GetRepositoryRepositoryLicenseLicenseOutput) Url

The URL to access information about the license on GitHub.

type GetRepositoryRepositoryLicenseOutput

type GetRepositoryRepositoryLicenseOutput struct{ *pulumi.OutputState }

func (GetRepositoryRepositoryLicenseOutput) Content

Content of the license file, encoded by encoding scheme mentioned below.

func (GetRepositoryRepositoryLicenseOutput) DownloadUrl

The URL to download the raw content of the license file.

func (GetRepositoryRepositoryLicenseOutput) ElementType

func (GetRepositoryRepositoryLicenseOutput) Encoding

The encoding used for the content (e.g., "base64").

func (GetRepositoryRepositoryLicenseOutput) GitUrl

The URL to access information about the license file as a Git blob.

func (GetRepositoryRepositoryLicenseOutput) HtmlUrl

The URL to view the license details on GitHub.

func (GetRepositoryRepositoryLicenseOutput) Licenses

`license` block consists of the fields documented below.

func (GetRepositoryRepositoryLicenseOutput) Name

The name of the repository.

func (GetRepositoryRepositoryLicenseOutput) Path

The path to the license file within the repository.

func (GetRepositoryRepositoryLicenseOutput) Sha

The SHA hash of the license file.

func (GetRepositoryRepositoryLicenseOutput) Size

The size of the license file in bytes.

func (GetRepositoryRepositoryLicenseOutput) ToGetRepositoryRepositoryLicenseOutput

func (o GetRepositoryRepositoryLicenseOutput) ToGetRepositoryRepositoryLicenseOutput() GetRepositoryRepositoryLicenseOutput

func (GetRepositoryRepositoryLicenseOutput) ToGetRepositoryRepositoryLicenseOutputWithContext

func (o GetRepositoryRepositoryLicenseOutput) ToGetRepositoryRepositoryLicenseOutputWithContext(ctx context.Context) GetRepositoryRepositoryLicenseOutput

func (GetRepositoryRepositoryLicenseOutput) Type

The type of the content, (e.g., "file").

func (GetRepositoryRepositoryLicenseOutput) Url

The URL to access information about the license on GitHub.

type GetRepositoryTeamsArgs

type GetRepositoryTeamsArgs struct {
	// Full name of the repository (in `org/name` format).
	FullName *string `pulumi:"fullName"`
	// The name of the repository.
	Name *string `pulumi:"name"`
}

A collection of arguments for invoking getRepositoryTeams.

type GetRepositoryTeamsOutputArgs

type GetRepositoryTeamsOutputArgs struct {
	// Full name of the repository (in `org/name` format).
	FullName pulumi.StringPtrInput `pulumi:"fullName"`
	// The name of the repository.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

A collection of arguments for invoking getRepositoryTeams.

func (GetRepositoryTeamsOutputArgs) ElementType

type GetRepositoryTeamsResult

type GetRepositoryTeamsResult struct {
	FullName string `pulumi:"fullName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Team name
	Name string `pulumi:"name"`
	// List of teams which have access to the repository
	Teams []GetRepositoryTeamsTeam `pulumi:"teams"`
}

A collection of values returned by getRepositoryTeams.

func GetRepositoryTeams

func GetRepositoryTeams(ctx *pulumi.Context, args *GetRepositoryTeamsArgs, opts ...pulumi.InvokeOption) (*GetRepositoryTeamsResult, error)

Use this data source to retrieve the list of teams which have access to a GitHub repository.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetRepositoryTeams(ctx, &github.GetRepositoryTeamsArgs{
			Name: pulumi.StringRef("example"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetRepositoryTeamsResultOutput

type GetRepositoryTeamsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositoryTeams.

func (GetRepositoryTeamsResultOutput) ElementType

func (GetRepositoryTeamsResultOutput) FullName

func (GetRepositoryTeamsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRepositoryTeamsResultOutput) Name

Team name

func (GetRepositoryTeamsResultOutput) Teams

List of teams which have access to the repository

func (GetRepositoryTeamsResultOutput) ToGetRepositoryTeamsResultOutput

func (o GetRepositoryTeamsResultOutput) ToGetRepositoryTeamsResultOutput() GetRepositoryTeamsResultOutput

func (GetRepositoryTeamsResultOutput) ToGetRepositoryTeamsResultOutputWithContext

func (o GetRepositoryTeamsResultOutput) ToGetRepositoryTeamsResultOutputWithContext(ctx context.Context) GetRepositoryTeamsResultOutput

type GetRepositoryTeamsTeam

type GetRepositoryTeamsTeam struct {
	// The name of the repository.
	Name string `pulumi:"name"`
	// Team permission
	Permission string `pulumi:"permission"`
	// Team slug
	Slug string `pulumi:"slug"`
}

type GetRepositoryTeamsTeamArgs

type GetRepositoryTeamsTeamArgs struct {
	// The name of the repository.
	Name pulumi.StringInput `pulumi:"name"`
	// Team permission
	Permission pulumi.StringInput `pulumi:"permission"`
	// Team slug
	Slug pulumi.StringInput `pulumi:"slug"`
}

func (GetRepositoryTeamsTeamArgs) ElementType

func (GetRepositoryTeamsTeamArgs) ElementType() reflect.Type

func (GetRepositoryTeamsTeamArgs) ToGetRepositoryTeamsTeamOutput

func (i GetRepositoryTeamsTeamArgs) ToGetRepositoryTeamsTeamOutput() GetRepositoryTeamsTeamOutput

func (GetRepositoryTeamsTeamArgs) ToGetRepositoryTeamsTeamOutputWithContext

func (i GetRepositoryTeamsTeamArgs) ToGetRepositoryTeamsTeamOutputWithContext(ctx context.Context) GetRepositoryTeamsTeamOutput

type GetRepositoryTeamsTeamArray

type GetRepositoryTeamsTeamArray []GetRepositoryTeamsTeamInput

func (GetRepositoryTeamsTeamArray) ElementType

func (GetRepositoryTeamsTeamArray) ToGetRepositoryTeamsTeamArrayOutput

func (i GetRepositoryTeamsTeamArray) ToGetRepositoryTeamsTeamArrayOutput() GetRepositoryTeamsTeamArrayOutput

func (GetRepositoryTeamsTeamArray) ToGetRepositoryTeamsTeamArrayOutputWithContext

func (i GetRepositoryTeamsTeamArray) ToGetRepositoryTeamsTeamArrayOutputWithContext(ctx context.Context) GetRepositoryTeamsTeamArrayOutput

type GetRepositoryTeamsTeamArrayInput

type GetRepositoryTeamsTeamArrayInput interface {
	pulumi.Input

	ToGetRepositoryTeamsTeamArrayOutput() GetRepositoryTeamsTeamArrayOutput
	ToGetRepositoryTeamsTeamArrayOutputWithContext(context.Context) GetRepositoryTeamsTeamArrayOutput
}

GetRepositoryTeamsTeamArrayInput is an input type that accepts GetRepositoryTeamsTeamArray and GetRepositoryTeamsTeamArrayOutput values. You can construct a concrete instance of `GetRepositoryTeamsTeamArrayInput` via:

GetRepositoryTeamsTeamArray{ GetRepositoryTeamsTeamArgs{...} }

type GetRepositoryTeamsTeamArrayOutput

type GetRepositoryTeamsTeamArrayOutput struct{ *pulumi.OutputState }

func (GetRepositoryTeamsTeamArrayOutput) ElementType

func (GetRepositoryTeamsTeamArrayOutput) Index

func (GetRepositoryTeamsTeamArrayOutput) ToGetRepositoryTeamsTeamArrayOutput

func (o GetRepositoryTeamsTeamArrayOutput) ToGetRepositoryTeamsTeamArrayOutput() GetRepositoryTeamsTeamArrayOutput

func (GetRepositoryTeamsTeamArrayOutput) ToGetRepositoryTeamsTeamArrayOutputWithContext

func (o GetRepositoryTeamsTeamArrayOutput) ToGetRepositoryTeamsTeamArrayOutputWithContext(ctx context.Context) GetRepositoryTeamsTeamArrayOutput

type GetRepositoryTeamsTeamInput

type GetRepositoryTeamsTeamInput interface {
	pulumi.Input

	ToGetRepositoryTeamsTeamOutput() GetRepositoryTeamsTeamOutput
	ToGetRepositoryTeamsTeamOutputWithContext(context.Context) GetRepositoryTeamsTeamOutput
}

GetRepositoryTeamsTeamInput is an input type that accepts GetRepositoryTeamsTeamArgs and GetRepositoryTeamsTeamOutput values. You can construct a concrete instance of `GetRepositoryTeamsTeamInput` via:

GetRepositoryTeamsTeamArgs{...}

type GetRepositoryTeamsTeamOutput

type GetRepositoryTeamsTeamOutput struct{ *pulumi.OutputState }

func (GetRepositoryTeamsTeamOutput) ElementType

func (GetRepositoryTeamsTeamOutput) Name

The name of the repository.

func (GetRepositoryTeamsTeamOutput) Permission

Team permission

func (GetRepositoryTeamsTeamOutput) Slug

Team slug

func (GetRepositoryTeamsTeamOutput) ToGetRepositoryTeamsTeamOutput

func (o GetRepositoryTeamsTeamOutput) ToGetRepositoryTeamsTeamOutput() GetRepositoryTeamsTeamOutput

func (GetRepositoryTeamsTeamOutput) ToGetRepositoryTeamsTeamOutputWithContext

func (o GetRepositoryTeamsTeamOutput) ToGetRepositoryTeamsTeamOutputWithContext(ctx context.Context) GetRepositoryTeamsTeamOutput

type GetRepositoryTemplate

type GetRepositoryTemplate struct {
	Owner      string `pulumi:"owner"`
	Repository string `pulumi:"repository"`
}

type GetRepositoryTemplateArgs

type GetRepositoryTemplateArgs struct {
	Owner      pulumi.StringInput `pulumi:"owner"`
	Repository pulumi.StringInput `pulumi:"repository"`
}

func (GetRepositoryTemplateArgs) ElementType

func (GetRepositoryTemplateArgs) ElementType() reflect.Type

func (GetRepositoryTemplateArgs) ToGetRepositoryTemplateOutput

func (i GetRepositoryTemplateArgs) ToGetRepositoryTemplateOutput() GetRepositoryTemplateOutput

func (GetRepositoryTemplateArgs) ToGetRepositoryTemplateOutputWithContext

func (i GetRepositoryTemplateArgs) ToGetRepositoryTemplateOutputWithContext(ctx context.Context) GetRepositoryTemplateOutput

type GetRepositoryTemplateArray

type GetRepositoryTemplateArray []GetRepositoryTemplateInput

func (GetRepositoryTemplateArray) ElementType

func (GetRepositoryTemplateArray) ElementType() reflect.Type

func (GetRepositoryTemplateArray) ToGetRepositoryTemplateArrayOutput

func (i GetRepositoryTemplateArray) ToGetRepositoryTemplateArrayOutput() GetRepositoryTemplateArrayOutput

func (GetRepositoryTemplateArray) ToGetRepositoryTemplateArrayOutputWithContext

func (i GetRepositoryTemplateArray) ToGetRepositoryTemplateArrayOutputWithContext(ctx context.Context) GetRepositoryTemplateArrayOutput

type GetRepositoryTemplateArrayInput

type GetRepositoryTemplateArrayInput interface {
	pulumi.Input

	ToGetRepositoryTemplateArrayOutput() GetRepositoryTemplateArrayOutput
	ToGetRepositoryTemplateArrayOutputWithContext(context.Context) GetRepositoryTemplateArrayOutput
}

GetRepositoryTemplateArrayInput is an input type that accepts GetRepositoryTemplateArray and GetRepositoryTemplateArrayOutput values. You can construct a concrete instance of `GetRepositoryTemplateArrayInput` via:

GetRepositoryTemplateArray{ GetRepositoryTemplateArgs{...} }

type GetRepositoryTemplateArrayOutput

type GetRepositoryTemplateArrayOutput struct{ *pulumi.OutputState }

func (GetRepositoryTemplateArrayOutput) ElementType

func (GetRepositoryTemplateArrayOutput) Index

func (GetRepositoryTemplateArrayOutput) ToGetRepositoryTemplateArrayOutput

func (o GetRepositoryTemplateArrayOutput) ToGetRepositoryTemplateArrayOutput() GetRepositoryTemplateArrayOutput

func (GetRepositoryTemplateArrayOutput) ToGetRepositoryTemplateArrayOutputWithContext

func (o GetRepositoryTemplateArrayOutput) ToGetRepositoryTemplateArrayOutputWithContext(ctx context.Context) GetRepositoryTemplateArrayOutput

type GetRepositoryTemplateInput

type GetRepositoryTemplateInput interface {
	pulumi.Input

	ToGetRepositoryTemplateOutput() GetRepositoryTemplateOutput
	ToGetRepositoryTemplateOutputWithContext(context.Context) GetRepositoryTemplateOutput
}

GetRepositoryTemplateInput is an input type that accepts GetRepositoryTemplateArgs and GetRepositoryTemplateOutput values. You can construct a concrete instance of `GetRepositoryTemplateInput` via:

GetRepositoryTemplateArgs{...}

type GetRepositoryTemplateOutput

type GetRepositoryTemplateOutput struct{ *pulumi.OutputState }

func (GetRepositoryTemplateOutput) ElementType

func (GetRepositoryTemplateOutput) Owner

func (GetRepositoryTemplateOutput) Repository

func (GetRepositoryTemplateOutput) ToGetRepositoryTemplateOutput

func (o GetRepositoryTemplateOutput) ToGetRepositoryTemplateOutput() GetRepositoryTemplateOutput

func (GetRepositoryTemplateOutput) ToGetRepositoryTemplateOutputWithContext

func (o GetRepositoryTemplateOutput) ToGetRepositoryTemplateOutputWithContext(ctx context.Context) GetRepositoryTemplateOutput

type GetRepositoryWebhooksArgs

type GetRepositoryWebhooksArgs struct {
	Repository string `pulumi:"repository"`
}

A collection of arguments for invoking getRepositoryWebhooks.

type GetRepositoryWebhooksOutputArgs

type GetRepositoryWebhooksOutputArgs struct {
	Repository pulumi.StringInput `pulumi:"repository"`
}

A collection of arguments for invoking getRepositoryWebhooks.

func (GetRepositoryWebhooksOutputArgs) ElementType

type GetRepositoryWebhooksResult

type GetRepositoryWebhooksResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	Repository string `pulumi:"repository"`
	// An Array of GitHub Webhooks.  Each `webhook` block consists of the fields documented below.
	// ***
	Webhooks []GetRepositoryWebhooksWebhook `pulumi:"webhooks"`
}

A collection of values returned by getRepositoryWebhooks.

func GetRepositoryWebhooks

func GetRepositoryWebhooks(ctx *pulumi.Context, args *GetRepositoryWebhooksArgs, opts ...pulumi.InvokeOption) (*GetRepositoryWebhooksResult, error)

Use this data source to retrieve webhooks for a given repository.

## Example Usage

To retrieve webhooks of a repository:

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetRepositoryWebhooks(ctx, &github.GetRepositoryWebhooksArgs{
			Repository: "foo",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetRepositoryWebhooksResultOutput

type GetRepositoryWebhooksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositoryWebhooks.

func (GetRepositoryWebhooksResultOutput) ElementType

func (GetRepositoryWebhooksResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRepositoryWebhooksResultOutput) Repository

func (GetRepositoryWebhooksResultOutput) ToGetRepositoryWebhooksResultOutput

func (o GetRepositoryWebhooksResultOutput) ToGetRepositoryWebhooksResultOutput() GetRepositoryWebhooksResultOutput

func (GetRepositoryWebhooksResultOutput) ToGetRepositoryWebhooksResultOutputWithContext

func (o GetRepositoryWebhooksResultOutput) ToGetRepositoryWebhooksResultOutputWithContext(ctx context.Context) GetRepositoryWebhooksResultOutput

func (GetRepositoryWebhooksResultOutput) Webhooks

An Array of GitHub Webhooks. Each `webhook` block consists of the fields documented below. ***

type GetRepositoryWebhooksWebhook

type GetRepositoryWebhooksWebhook struct {
	// `true` if the webhook is active.
	Active bool `pulumi:"active"`
	// the ID of the webhook.
	Id int `pulumi:"id"`
	// the name of the webhook.
	Name string `pulumi:"name"`
	// the type of the webhook.
	Type string `pulumi:"type"`
	// the url of the webhook.
	Url string `pulumi:"url"`
}

type GetRepositoryWebhooksWebhookArgs

type GetRepositoryWebhooksWebhookArgs struct {
	// `true` if the webhook is active.
	Active pulumi.BoolInput `pulumi:"active"`
	// the ID of the webhook.
	Id pulumi.IntInput `pulumi:"id"`
	// the name of the webhook.
	Name pulumi.StringInput `pulumi:"name"`
	// the type of the webhook.
	Type pulumi.StringInput `pulumi:"type"`
	// the url of the webhook.
	Url pulumi.StringInput `pulumi:"url"`
}

func (GetRepositoryWebhooksWebhookArgs) ElementType

func (GetRepositoryWebhooksWebhookArgs) ToGetRepositoryWebhooksWebhookOutput

func (i GetRepositoryWebhooksWebhookArgs) ToGetRepositoryWebhooksWebhookOutput() GetRepositoryWebhooksWebhookOutput

func (GetRepositoryWebhooksWebhookArgs) ToGetRepositoryWebhooksWebhookOutputWithContext

func (i GetRepositoryWebhooksWebhookArgs) ToGetRepositoryWebhooksWebhookOutputWithContext(ctx context.Context) GetRepositoryWebhooksWebhookOutput

type GetRepositoryWebhooksWebhookArray

type GetRepositoryWebhooksWebhookArray []GetRepositoryWebhooksWebhookInput

func (GetRepositoryWebhooksWebhookArray) ElementType

func (GetRepositoryWebhooksWebhookArray) ToGetRepositoryWebhooksWebhookArrayOutput

func (i GetRepositoryWebhooksWebhookArray) ToGetRepositoryWebhooksWebhookArrayOutput() GetRepositoryWebhooksWebhookArrayOutput

func (GetRepositoryWebhooksWebhookArray) ToGetRepositoryWebhooksWebhookArrayOutputWithContext

func (i GetRepositoryWebhooksWebhookArray) ToGetRepositoryWebhooksWebhookArrayOutputWithContext(ctx context.Context) GetRepositoryWebhooksWebhookArrayOutput

type GetRepositoryWebhooksWebhookArrayInput

type GetRepositoryWebhooksWebhookArrayInput interface {
	pulumi.Input

	ToGetRepositoryWebhooksWebhookArrayOutput() GetRepositoryWebhooksWebhookArrayOutput
	ToGetRepositoryWebhooksWebhookArrayOutputWithContext(context.Context) GetRepositoryWebhooksWebhookArrayOutput
}

GetRepositoryWebhooksWebhookArrayInput is an input type that accepts GetRepositoryWebhooksWebhookArray and GetRepositoryWebhooksWebhookArrayOutput values. You can construct a concrete instance of `GetRepositoryWebhooksWebhookArrayInput` via:

GetRepositoryWebhooksWebhookArray{ GetRepositoryWebhooksWebhookArgs{...} }

type GetRepositoryWebhooksWebhookArrayOutput

type GetRepositoryWebhooksWebhookArrayOutput struct{ *pulumi.OutputState }

func (GetRepositoryWebhooksWebhookArrayOutput) ElementType

func (GetRepositoryWebhooksWebhookArrayOutput) Index

func (GetRepositoryWebhooksWebhookArrayOutput) ToGetRepositoryWebhooksWebhookArrayOutput

func (o GetRepositoryWebhooksWebhookArrayOutput) ToGetRepositoryWebhooksWebhookArrayOutput() GetRepositoryWebhooksWebhookArrayOutput

func (GetRepositoryWebhooksWebhookArrayOutput) ToGetRepositoryWebhooksWebhookArrayOutputWithContext

func (o GetRepositoryWebhooksWebhookArrayOutput) ToGetRepositoryWebhooksWebhookArrayOutputWithContext(ctx context.Context) GetRepositoryWebhooksWebhookArrayOutput

type GetRepositoryWebhooksWebhookInput

type GetRepositoryWebhooksWebhookInput interface {
	pulumi.Input

	ToGetRepositoryWebhooksWebhookOutput() GetRepositoryWebhooksWebhookOutput
	ToGetRepositoryWebhooksWebhookOutputWithContext(context.Context) GetRepositoryWebhooksWebhookOutput
}

GetRepositoryWebhooksWebhookInput is an input type that accepts GetRepositoryWebhooksWebhookArgs and GetRepositoryWebhooksWebhookOutput values. You can construct a concrete instance of `GetRepositoryWebhooksWebhookInput` via:

GetRepositoryWebhooksWebhookArgs{...}

type GetRepositoryWebhooksWebhookOutput

type GetRepositoryWebhooksWebhookOutput struct{ *pulumi.OutputState }

func (GetRepositoryWebhooksWebhookOutput) Active

`true` if the webhook is active.

func (GetRepositoryWebhooksWebhookOutput) ElementType

func (GetRepositoryWebhooksWebhookOutput) Id

the ID of the webhook.

func (GetRepositoryWebhooksWebhookOutput) Name

the name of the webhook.

func (GetRepositoryWebhooksWebhookOutput) ToGetRepositoryWebhooksWebhookOutput

func (o GetRepositoryWebhooksWebhookOutput) ToGetRepositoryWebhooksWebhookOutput() GetRepositoryWebhooksWebhookOutput

func (GetRepositoryWebhooksWebhookOutput) ToGetRepositoryWebhooksWebhookOutputWithContext

func (o GetRepositoryWebhooksWebhookOutput) ToGetRepositoryWebhooksWebhookOutputWithContext(ctx context.Context) GetRepositoryWebhooksWebhookOutput

func (GetRepositoryWebhooksWebhookOutput) Type

the type of the webhook.

func (GetRepositoryWebhooksWebhookOutput) Url

the url of the webhook.

type GetRestApiArgs

type GetRestApiArgs struct {
	// REST API endpoint to send the GET request to.
	Endpoint string `pulumi:"endpoint"`
}

A collection of arguments for invoking getRestApi.

type GetRestApiOutputArgs

type GetRestApiOutputArgs struct {
	// REST API endpoint to send the GET request to.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
}

A collection of arguments for invoking getRestApi.

func (GetRestApiOutputArgs) ElementType

func (GetRestApiOutputArgs) ElementType() reflect.Type

type GetRestApiResult

type GetRestApiResult struct {
	// A JSON string containing response body.
	Body string `pulumi:"body"`
	// A response status code.
	Code     int    `pulumi:"code"`
	Endpoint string `pulumi:"endpoint"`
	// A JSON string containing response headers.
	Headers string `pulumi:"headers"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A response status string.
	Status string `pulumi:"status"`
}

A collection of values returned by getRestApi.

func GetRestApi

func GetRestApi(ctx *pulumi.Context, args *GetRestApiArgs, opts ...pulumi.InvokeOption) (*GetRestApiResult, error)

Use this data source to retrieve information about a GitHub resource through REST API.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetRestApi(ctx, &github.GetRestApiArgs{
			Endpoint: "repos/example_repo/git/refs/heads/main",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetRestApiResultOutput

type GetRestApiResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRestApi.

func (GetRestApiResultOutput) Body

A JSON string containing response body.

func (GetRestApiResultOutput) Code

A response status code.

func (GetRestApiResultOutput) ElementType

func (GetRestApiResultOutput) ElementType() reflect.Type

func (GetRestApiResultOutput) Endpoint

func (GetRestApiResultOutput) Headers

A JSON string containing response headers.

func (GetRestApiResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRestApiResultOutput) Status

A response status string.

func (GetRestApiResultOutput) ToGetRestApiResultOutput

func (o GetRestApiResultOutput) ToGetRestApiResultOutput() GetRestApiResultOutput

func (GetRestApiResultOutput) ToGetRestApiResultOutputWithContext

func (o GetRestApiResultOutput) ToGetRestApiResultOutputWithContext(ctx context.Context) GetRestApiResultOutput

type GetSshKeysResult

type GetSshKeysResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// An array of GitHub's SSH public keys.
	Keys []string `pulumi:"keys"`
}

A collection of values returned by getSshKeys.

func GetSshKeys

func GetSshKeys(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetSshKeysResult, error)

Use this data source to retrieve information about GitHub's SSH keys.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetSshKeys(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetSshKeysResultOutput

type GetSshKeysResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSshKeys.

func GetSshKeysOutput

func GetSshKeysOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetSshKeysResultOutput

func (GetSshKeysResultOutput) ElementType

func (GetSshKeysResultOutput) ElementType() reflect.Type

func (GetSshKeysResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSshKeysResultOutput) Keys

An array of GitHub's SSH public keys.

func (GetSshKeysResultOutput) ToGetSshKeysResultOutput

func (o GetSshKeysResultOutput) ToGetSshKeysResultOutput() GetSshKeysResultOutput

func (GetSshKeysResultOutput) ToGetSshKeysResultOutputWithContext

func (o GetSshKeysResultOutput) ToGetSshKeysResultOutputWithContext(ctx context.Context) GetSshKeysResultOutput

type GetTeamRepositoriesDetailed

type GetTeamRepositoriesDetailed struct {
	RepoId   int    `pulumi:"repoId"`
	RoleName string `pulumi:"roleName"`
}

type GetTeamRepositoriesDetailedArgs

type GetTeamRepositoriesDetailedArgs struct {
	RepoId   pulumi.IntInput    `pulumi:"repoId"`
	RoleName pulumi.StringInput `pulumi:"roleName"`
}

func (GetTeamRepositoriesDetailedArgs) ElementType

func (GetTeamRepositoriesDetailedArgs) ToGetTeamRepositoriesDetailedOutput

func (i GetTeamRepositoriesDetailedArgs) ToGetTeamRepositoriesDetailedOutput() GetTeamRepositoriesDetailedOutput

func (GetTeamRepositoriesDetailedArgs) ToGetTeamRepositoriesDetailedOutputWithContext

func (i GetTeamRepositoriesDetailedArgs) ToGetTeamRepositoriesDetailedOutputWithContext(ctx context.Context) GetTeamRepositoriesDetailedOutput

type GetTeamRepositoriesDetailedArray

type GetTeamRepositoriesDetailedArray []GetTeamRepositoriesDetailedInput

func (GetTeamRepositoriesDetailedArray) ElementType

func (GetTeamRepositoriesDetailedArray) ToGetTeamRepositoriesDetailedArrayOutput

func (i GetTeamRepositoriesDetailedArray) ToGetTeamRepositoriesDetailedArrayOutput() GetTeamRepositoriesDetailedArrayOutput

func (GetTeamRepositoriesDetailedArray) ToGetTeamRepositoriesDetailedArrayOutputWithContext

func (i GetTeamRepositoriesDetailedArray) ToGetTeamRepositoriesDetailedArrayOutputWithContext(ctx context.Context) GetTeamRepositoriesDetailedArrayOutput

type GetTeamRepositoriesDetailedArrayInput

type GetTeamRepositoriesDetailedArrayInput interface {
	pulumi.Input

	ToGetTeamRepositoriesDetailedArrayOutput() GetTeamRepositoriesDetailedArrayOutput
	ToGetTeamRepositoriesDetailedArrayOutputWithContext(context.Context) GetTeamRepositoriesDetailedArrayOutput
}

GetTeamRepositoriesDetailedArrayInput is an input type that accepts GetTeamRepositoriesDetailedArray and GetTeamRepositoriesDetailedArrayOutput values. You can construct a concrete instance of `GetTeamRepositoriesDetailedArrayInput` via:

GetTeamRepositoriesDetailedArray{ GetTeamRepositoriesDetailedArgs{...} }

type GetTeamRepositoriesDetailedArrayOutput

type GetTeamRepositoriesDetailedArrayOutput struct{ *pulumi.OutputState }

func (GetTeamRepositoriesDetailedArrayOutput) ElementType

func (GetTeamRepositoriesDetailedArrayOutput) Index

func (GetTeamRepositoriesDetailedArrayOutput) ToGetTeamRepositoriesDetailedArrayOutput

func (o GetTeamRepositoriesDetailedArrayOutput) ToGetTeamRepositoriesDetailedArrayOutput() GetTeamRepositoriesDetailedArrayOutput

func (GetTeamRepositoriesDetailedArrayOutput) ToGetTeamRepositoriesDetailedArrayOutputWithContext

func (o GetTeamRepositoriesDetailedArrayOutput) ToGetTeamRepositoriesDetailedArrayOutputWithContext(ctx context.Context) GetTeamRepositoriesDetailedArrayOutput

type GetTeamRepositoriesDetailedInput

type GetTeamRepositoriesDetailedInput interface {
	pulumi.Input

	ToGetTeamRepositoriesDetailedOutput() GetTeamRepositoriesDetailedOutput
	ToGetTeamRepositoriesDetailedOutputWithContext(context.Context) GetTeamRepositoriesDetailedOutput
}

GetTeamRepositoriesDetailedInput is an input type that accepts GetTeamRepositoriesDetailedArgs and GetTeamRepositoriesDetailedOutput values. You can construct a concrete instance of `GetTeamRepositoriesDetailedInput` via:

GetTeamRepositoriesDetailedArgs{...}

type GetTeamRepositoriesDetailedOutput

type GetTeamRepositoriesDetailedOutput struct{ *pulumi.OutputState }

func (GetTeamRepositoriesDetailedOutput) ElementType

func (GetTeamRepositoriesDetailedOutput) RepoId

func (GetTeamRepositoriesDetailedOutput) RoleName

func (GetTeamRepositoriesDetailedOutput) ToGetTeamRepositoriesDetailedOutput

func (o GetTeamRepositoriesDetailedOutput) ToGetTeamRepositoriesDetailedOutput() GetTeamRepositoriesDetailedOutput

func (GetTeamRepositoriesDetailedOutput) ToGetTeamRepositoriesDetailedOutputWithContext

func (o GetTeamRepositoriesDetailedOutput) ToGetTeamRepositoriesDetailedOutputWithContext(ctx context.Context) GetTeamRepositoriesDetailedOutput

type GetTreeArgs

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

type GetTreeEntry struct {
	Mode string `pulumi:"mode"`
	Path string `pulumi:"path"`
	Sha  string `pulumi:"sha"`
	Size int    `pulumi:"size"`
	Type string `pulumi:"type"`
}

type GetTreeEntryArgs

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

func (GetTreeEntryArgs) ElementType() reflect.Type

func (GetTreeEntryArgs) ToGetTreeEntryOutput

func (i GetTreeEntryArgs) ToGetTreeEntryOutput() GetTreeEntryOutput

func (GetTreeEntryArgs) ToGetTreeEntryOutputWithContext

func (i GetTreeEntryArgs) ToGetTreeEntryOutputWithContext(ctx context.Context) GetTreeEntryOutput

type GetTreeEntryArray

type GetTreeEntryArray []GetTreeEntryInput

func (GetTreeEntryArray) ElementType

func (GetTreeEntryArray) ElementType() reflect.Type

func (GetTreeEntryArray) ToGetTreeEntryArrayOutput

func (i GetTreeEntryArray) ToGetTreeEntryArrayOutput() GetTreeEntryArrayOutput

func (GetTreeEntryArray) ToGetTreeEntryArrayOutputWithContext

func (i GetTreeEntryArray) ToGetTreeEntryArrayOutputWithContext(ctx context.Context) GetTreeEntryArrayOutput

type GetTreeEntryArrayInput

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

type GetTreeEntryArrayOutput struct{ *pulumi.OutputState }

func (GetTreeEntryArrayOutput) ElementType

func (GetTreeEntryArrayOutput) ElementType() reflect.Type

func (GetTreeEntryArrayOutput) Index

func (GetTreeEntryArrayOutput) ToGetTreeEntryArrayOutput

func (o GetTreeEntryArrayOutput) ToGetTreeEntryArrayOutput() GetTreeEntryArrayOutput

func (GetTreeEntryArrayOutput) ToGetTreeEntryArrayOutputWithContext

func (o GetTreeEntryArrayOutput) ToGetTreeEntryArrayOutputWithContext(ctx context.Context) GetTreeEntryArrayOutput

type GetTreeEntryInput

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

type GetTreeEntryOutput struct{ *pulumi.OutputState }

func (GetTreeEntryOutput) ElementType

func (GetTreeEntryOutput) ElementType() reflect.Type

func (GetTreeEntryOutput) Mode

func (GetTreeEntryOutput) Path

func (GetTreeEntryOutput) Sha

func (GetTreeEntryOutput) Size

func (GetTreeEntryOutput) ToGetTreeEntryOutput

func (o GetTreeEntryOutput) ToGetTreeEntryOutput() GetTreeEntryOutput

func (GetTreeEntryOutput) ToGetTreeEntryOutputWithContext

func (o GetTreeEntryOutput) ToGetTreeEntryOutputWithContext(ctx context.Context) GetTreeEntryOutput

func (GetTreeEntryOutput) Type

type GetTreeOutputArgs

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

func (GetTreeOutputArgs) ElementType() reflect.Type

type GetTreeResult

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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		thisRepository, err := github.LookupRepository(ctx, &github.LookupRepositoryArgs{
			Name: pulumi.StringRef("example"),
		}, nil)
		if err != nil {
			return err
		}
		thisBranch, err := github.LookupBranch(ctx, &github.LookupBranchArgs{
			Branch:     thisRepository.DefaultBranch,
			Repository: thisRepository.Name,
		}, nil)
		if err != nil {
			return err
		}
		thisTree, err := github.GetTree(ctx, &github.GetTreeArgs{
			Recursive:  pulumi.BoolRef(false),
			Repository: thisRepository.Name,
			TreeSha:    thisBranch.Sha,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("entries", thisTree.Entries)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetTreeResultOutput

type GetTreeResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTree.

func (GetTreeResultOutput) ElementType

func (GetTreeResultOutput) ElementType() reflect.Type

func (GetTreeResultOutput) Entries

Objects (of `path`, `mode`, `type`, `size`, and `sha`) specifying a tree structure.

func (GetTreeResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetTreeResultOutput) Recursive

func (GetTreeResultOutput) Repository

func (o GetTreeResultOutput) Repository() pulumi.StringOutput

func (GetTreeResultOutput) ToGetTreeResultOutput

func (o GetTreeResultOutput) ToGetTreeResultOutput() GetTreeResultOutput

func (GetTreeResultOutput) ToGetTreeResultOutputWithContext

func (o GetTreeResultOutput) ToGetTreeResultOutputWithContext(ctx context.Context) GetTreeResultOutput

func (GetTreeResultOutput) TreeSha

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 GetUserExternalIdentityArgs

type GetUserExternalIdentityArgs struct {
	// The username of the member to fetch external identity for.
	Username string `pulumi:"username"`
}

A collection of arguments for invoking getUserExternalIdentity.

type GetUserExternalIdentityOutputArgs

type GetUserExternalIdentityOutputArgs struct {
	// The username of the member to fetch external identity for.
	Username pulumi.StringInput `pulumi:"username"`
}

A collection of arguments for invoking getUserExternalIdentity.

func (GetUserExternalIdentityOutputArgs) ElementType

type GetUserExternalIdentityResult

type GetUserExternalIdentityResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The username of the GitHub user
	Login string `pulumi:"login"`
	// An Object containing the user's SAML data. This object will
	// be empty if the user is not managed by SAML.
	SamlIdentity map[string]string `pulumi:"samlIdentity"`
	// An Object contining the user's SCIM data. This object will
	// be empty if the user is not managed by SCIM.
	ScimIdentity map[string]string `pulumi:"scimIdentity"`
	// The member's SAML Username
	Username string `pulumi:"username"`
}

A collection of values returned by getUserExternalIdentity.

func GetUserExternalIdentity

func GetUserExternalIdentity(ctx *pulumi.Context, args *GetUserExternalIdentityArgs, opts ...pulumi.InvokeOption) (*GetUserExternalIdentityResult, error)

Use this data source to retrieve a specific organization member's SAML or SCIM user attributes.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetUserExternalIdentity(ctx, &github.GetUserExternalIdentityArgs{
			Username: "example-user",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetUserExternalIdentityResultOutput

type GetUserExternalIdentityResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUserExternalIdentity.

func (GetUserExternalIdentityResultOutput) ElementType

func (GetUserExternalIdentityResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetUserExternalIdentityResultOutput) Login

The username of the GitHub user

func (GetUserExternalIdentityResultOutput) SamlIdentity

An Object containing the user's SAML data. This object will be empty if the user is not managed by SAML.

func (GetUserExternalIdentityResultOutput) ScimIdentity

An Object contining the user's SCIM data. This object will be empty if the user is not managed by SCIM.

func (GetUserExternalIdentityResultOutput) ToGetUserExternalIdentityResultOutput

func (o GetUserExternalIdentityResultOutput) ToGetUserExternalIdentityResultOutput() GetUserExternalIdentityResultOutput

func (GetUserExternalIdentityResultOutput) ToGetUserExternalIdentityResultOutputWithContext

func (o GetUserExternalIdentityResultOutput) ToGetUserExternalIdentityResultOutputWithContext(ctx context.Context) GetUserExternalIdentityResultOutput

func (GetUserExternalIdentityResultOutput) Username

The member's SAML Username

type GetUserOutputArgs

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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.GetUser(ctx, &github.GetUserArgs{
			Username: "example",
		}, nil)
		if err != nil {
			return err
		}
		current, err := github.GetUser(ctx, &github.GetUserArgs{
			Username: "",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("currentGithubLogin", current.Login)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetUserResultOutput

type GetUserResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUser.

func (GetUserResultOutput) AvatarUrl

func (o GetUserResultOutput) AvatarUrl() pulumi.StringOutput

the user's avatar URL.

func (GetUserResultOutput) Bio

the user's bio.

func (GetUserResultOutput) Blog

the user's blog location.

func (GetUserResultOutput) Company

the user's company name.

func (GetUserResultOutput) CreatedAt

func (o GetUserResultOutput) CreatedAt() pulumi.StringOutput

the creation date.

func (GetUserResultOutput) ElementType

func (GetUserResultOutput) ElementType() reflect.Type

func (GetUserResultOutput) Email

the user's email.

func (GetUserResultOutput) Followers

func (o GetUserResultOutput) Followers() pulumi.IntOutput

the number of followers.

func (GetUserResultOutput) Following

func (o GetUserResultOutput) Following() pulumi.IntOutput

the number of following users.

func (GetUserResultOutput) GpgKeys

list of user's GPG keys.

func (GetUserResultOutput) GravatarId

func (o GetUserResultOutput) GravatarId() pulumi.StringOutput

the user's gravatar ID.

func (GetUserResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetUserResultOutput) Location

the user's location.

func (GetUserResultOutput) Login

the user's login.

func (GetUserResultOutput) Name

the user's full name.

func (GetUserResultOutput) NodeId

the Node ID of the user.

func (GetUserResultOutput) PublicGists

func (o GetUserResultOutput) PublicGists() pulumi.IntOutput

the number of public gists.

func (GetUserResultOutput) PublicRepos

func (o GetUserResultOutput) PublicRepos() pulumi.IntOutput

the number of public repositories.

func (GetUserResultOutput) SiteAdmin

func (o GetUserResultOutput) SiteAdmin() pulumi.BoolOutput

whether the user is a GitHub admin.

func (GetUserResultOutput) SshKeys

list of user's SSH keys.

func (GetUserResultOutput) SuspendedAt

func (o GetUserResultOutput) SuspendedAt() pulumi.StringOutput

the suspended date if the user is suspended.

func (GetUserResultOutput) ToGetUserResultOutput

func (o GetUserResultOutput) ToGetUserResultOutput() GetUserResultOutput

func (GetUserResultOutput) ToGetUserResultOutputWithContext

func (o GetUserResultOutput) ToGetUserResultOutputWithContext(ctx context.Context) GetUserResultOutput

func (GetUserResultOutput) UpdatedAt

func (o GetUserResultOutput) UpdatedAt() pulumi.StringOutput

the update date.

func (GetUserResultOutput) Username

type GetUsersArgs

type GetUsersArgs struct {
	// List of usernames.
	Usernames []string `pulumi:"usernames"`
}

A collection of arguments for invoking getUsers.

type GetUsersOutputArgs

type GetUsersOutputArgs struct {
	// List of usernames.
	Usernames pulumi.StringArrayInput `pulumi:"usernames"`
}

A collection of arguments for invoking getUsers.

func (GetUsersOutputArgs) ElementType

func (GetUsersOutputArgs) ElementType() reflect.Type

type GetUsersResult

type GetUsersResult struct {
	// list of the user's publicly visible profile email (will be empty string in case if user decided not to show it).
	Emails []string `pulumi:"emails"`
	// 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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := github.GetUsers(ctx, &github.GetUsersArgs{
			Usernames: []string{
				"example1",
				"example2",
				"example3",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("validUsers", example.Logins)
		ctx.Export("invalidUsers", example.UnknownLogins)
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetUsersResultOutput

type GetUsersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUsers.

func (GetUsersResultOutput) ElementType

func (GetUsersResultOutput) ElementType() reflect.Type

func (GetUsersResultOutput) Emails

list of the user's publicly visible profile email (will be empty string in case if user decided not to show it).

func (GetUsersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetUsersResultOutput) Logins

list of logins of users that could be found.

func (GetUsersResultOutput) NodeIds

list of Node IDs of users that could be found.

func (GetUsersResultOutput) ToGetUsersResultOutput

func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput

func (GetUsersResultOutput) ToGetUsersResultOutputWithContext

func (o GetUsersResultOutput) ToGetUsersResultOutputWithContext(ctx context.Context) GetUsersResultOutput

func (GetUsersResultOutput) UnknownLogins

func (o GetUsersResultOutput) UnknownLogins() pulumi.StringArrayOutput

list of logins without matching user.

func (GetUsersResultOutput) Usernames

type Issue

type Issue struct {
	pulumi.CustomResourceState

	// List of Logins to assign the to the issue
	Assignees pulumi.StringArrayOutput `pulumi:"assignees"`
	// Body 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a simple issue
		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
	})
}

``` <!--End PulumiCodeChooser -->

### With Milestone And Project Assignment

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create an issue with milestone and project assignment
		testRepository, err := github.NewRepository(ctx, "testRepository", &github.RepositoryArgs{
			AutoInit:  pulumi.Bool(true),
			HasIssues: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		testRepositoryMilestone, err := github.NewRepositoryMilestone(ctx, "testRepositoryMilestone", &github.RepositoryMilestoneArgs{
			Owner: testRepository.FullName.ApplyT(func(fullName string) (pulumi.StringArray, error) {
				return pulumi.StringArray("TODO: call split"), nil
			}).(pulumi.StringArrayOutput).ApplyT(func(split []string) (string, error) {
				return split[0], nil
			}).(pulumi.StringOutput),
			Repository:  testRepository.Name,
			Title:       pulumi.String("v1.0.0"),
			Description: pulumi.String("General Availability"),
			DueDate:     pulumi.String("2022-11-22"),
			State:       pulumi.String("open"),
		})
		if err != nil {
			return err
		}
		_, err = github.NewIssue(ctx, "testIssue", &github.IssueArgs{
			Repository: testRepository.Name,
			Title:      pulumi.String("My issue"),
			Body:       pulumi.String("My issue body"),
			Labels: pulumi.StringArray{
				pulumi.String("bug"),
				pulumi.String("documentation"),
			},
			Assignees: pulumi.StringArray{
				pulumi.String("bob-github"),
			},
			MilestoneNumber: testRepositoryMilestone.Number,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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

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

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

func (*Issue) ElementType() reflect.Type

func (*Issue) ToIssueOutput

func (i *Issue) ToIssueOutput() IssueOutput

func (*Issue) ToIssueOutputWithContext

func (i *Issue) ToIssueOutputWithContext(ctx context.Context) IssueOutput

type IssueArgs

type IssueArgs struct {
	// List of Logins to assign the to the issue
	Assignees pulumi.StringArrayInput
	// Body 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

func (IssueArgs) ElementType() reflect.Type

type IssueArray

type IssueArray []IssueInput

func (IssueArray) ElementType

func (IssueArray) ElementType() reflect.Type

func (IssueArray) ToIssueArrayOutput

func (i IssueArray) ToIssueArrayOutput() IssueArrayOutput

func (IssueArray) ToIssueArrayOutputWithContext

func (i IssueArray) ToIssueArrayOutputWithContext(ctx context.Context) IssueArrayOutput

type IssueArrayInput

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

type IssueArrayOutput struct{ *pulumi.OutputState }

func (IssueArrayOutput) ElementType

func (IssueArrayOutput) ElementType() reflect.Type

func (IssueArrayOutput) Index

func (IssueArrayOutput) ToIssueArrayOutput

func (o IssueArrayOutput) ToIssueArrayOutput() IssueArrayOutput

func (IssueArrayOutput) ToIssueArrayOutputWithContext

func (o IssueArrayOutput) ToIssueArrayOutputWithContext(ctx context.Context) IssueArrayOutput

type IssueInput

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a new, red colored label
		_, err := github.NewIssueLabel(ctx, "testRepo", &github.IssueLabelArgs{
			Color:      pulumi.String("FF0000"),
			Repository: pulumi.String("test-repo"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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 (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 (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

A 6 character hex code, **without the leading #**, identifying the color of the label.

func (IssueLabelOutput) Description

func (o IssueLabelOutput) Description() pulumi.StringPtrOutput

A short description of the label.

func (IssueLabelOutput) ElementType

func (IssueLabelOutput) ElementType() reflect.Type

func (IssueLabelOutput) Etag

func (IssueLabelOutput) Name

The name of the label.

func (IssueLabelOutput) Repository

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

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 IssueLabels

type IssueLabels struct {
	pulumi.CustomResourceState

	// List of labels
	Labels IssueLabelsLabelArrayOutput `pulumi:"labels"`
	// The GitHub repository
	Repository pulumi.StringOutput `pulumi:"repository"`
}

Provides GitHub issue labels resource.

This resource allows you to create and manage issue labels within your GitHub organization.

> Note: IssueLabels cannot be used in conjunction with IssueLabel or they will fight over what your policy should be.

This resource is authoritative. For adding a label to a repo in a non-authoritative manner, use IssueLabel instead.

If you change the case of a label's name, its' color, or description, this resource will edit the existing label to match the new values. However, if you change the name of a label, this resource will create a new label with the new name and delete the old label. Beware that this will remove the label from any issues it was previously attached to.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a new, red colored label
		_, err := github.NewIssueLabels(ctx, "testRepo", &github.IssueLabelsArgs{
			Labels: github.IssueLabelsLabelArray{
				&github.IssueLabelsLabelArgs{
					Color: pulumi.String("FF0000"),
					Name:  pulumi.String("Urgent"),
				},
				&github.IssueLabelsLabelArgs{
					Color: pulumi.String("FF0000"),
					Name:  pulumi.String("Critical"),
				},
			},
			Repository: pulumi.String("test-repo"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

GitHub Issue Labels can be imported using the repository `name`, e.g.

```sh $ pulumi import github:index/issueLabels:IssueLabels test_repo test_repo ```

func GetIssueLabels

func GetIssueLabels(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IssueLabelsState, opts ...pulumi.ResourceOption) (*IssueLabels, error)

GetIssueLabels gets an existing IssueLabels 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 NewIssueLabels

func NewIssueLabels(ctx *pulumi.Context,
	name string, args *IssueLabelsArgs, opts ...pulumi.ResourceOption) (*IssueLabels, error)

NewIssueLabels registers a new resource with the given unique name, arguments, and options.

func (*IssueLabels) ElementType

func (*IssueLabels) ElementType() reflect.Type

func (*IssueLabels) ToIssueLabelsOutput

func (i *IssueLabels) ToIssueLabelsOutput() IssueLabelsOutput

func (*IssueLabels) ToIssueLabelsOutputWithContext

func (i *IssueLabels) ToIssueLabelsOutputWithContext(ctx context.Context) IssueLabelsOutput

type IssueLabelsArgs

type IssueLabelsArgs struct {
	// List of labels
	Labels IssueLabelsLabelArrayInput
	// The GitHub repository
	Repository pulumi.StringInput
}

The set of arguments for constructing a IssueLabels resource.

func (IssueLabelsArgs) ElementType

func (IssueLabelsArgs) ElementType() reflect.Type

type IssueLabelsArray

type IssueLabelsArray []IssueLabelsInput

func (IssueLabelsArray) ElementType

func (IssueLabelsArray) ElementType() reflect.Type

func (IssueLabelsArray) ToIssueLabelsArrayOutput

func (i IssueLabelsArray) ToIssueLabelsArrayOutput() IssueLabelsArrayOutput

func (IssueLabelsArray) ToIssueLabelsArrayOutputWithContext

func (i IssueLabelsArray) ToIssueLabelsArrayOutputWithContext(ctx context.Context) IssueLabelsArrayOutput

type IssueLabelsArrayInput

type IssueLabelsArrayInput interface {
	pulumi.Input

	ToIssueLabelsArrayOutput() IssueLabelsArrayOutput
	ToIssueLabelsArrayOutputWithContext(context.Context) IssueLabelsArrayOutput
}

IssueLabelsArrayInput is an input type that accepts IssueLabelsArray and IssueLabelsArrayOutput values. You can construct a concrete instance of `IssueLabelsArrayInput` via:

IssueLabelsArray{ IssueLabelsArgs{...} }

type IssueLabelsArrayOutput

type IssueLabelsArrayOutput struct{ *pulumi.OutputState }

func (IssueLabelsArrayOutput) ElementType

func (IssueLabelsArrayOutput) ElementType() reflect.Type

func (IssueLabelsArrayOutput) Index

func (IssueLabelsArrayOutput) ToIssueLabelsArrayOutput

func (o IssueLabelsArrayOutput) ToIssueLabelsArrayOutput() IssueLabelsArrayOutput

func (IssueLabelsArrayOutput) ToIssueLabelsArrayOutputWithContext

func (o IssueLabelsArrayOutput) ToIssueLabelsArrayOutputWithContext(ctx context.Context) IssueLabelsArrayOutput

type IssueLabelsInput

type IssueLabelsInput interface {
	pulumi.Input

	ToIssueLabelsOutput() IssueLabelsOutput
	ToIssueLabelsOutputWithContext(ctx context.Context) IssueLabelsOutput
}

type IssueLabelsLabel

type IssueLabelsLabel struct {
	// A 6 character hex code, **without the leading #**, identifying the color of the label.
	Color string `pulumi:"color"`
	// A short description of the label.
	Description *string `pulumi:"description"`
	// The name of the label.
	Name string `pulumi:"name"`
	// The URL to the issue label
	Url *string `pulumi:"url"`
}

type IssueLabelsLabelArgs

type IssueLabelsLabelArgs struct {
	// A 6 character hex code, **without the leading #**, identifying the color of the label.
	Color pulumi.StringInput `pulumi:"color"`
	// A short description of the label.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The name of the label.
	Name pulumi.StringInput `pulumi:"name"`
	// The URL to the issue label
	Url pulumi.StringPtrInput `pulumi:"url"`
}

func (IssueLabelsLabelArgs) ElementType

func (IssueLabelsLabelArgs) ElementType() reflect.Type

func (IssueLabelsLabelArgs) ToIssueLabelsLabelOutput

func (i IssueLabelsLabelArgs) ToIssueLabelsLabelOutput() IssueLabelsLabelOutput

func (IssueLabelsLabelArgs) ToIssueLabelsLabelOutputWithContext

func (i IssueLabelsLabelArgs) ToIssueLabelsLabelOutputWithContext(ctx context.Context) IssueLabelsLabelOutput

type IssueLabelsLabelArray

type IssueLabelsLabelArray []IssueLabelsLabelInput

func (IssueLabelsLabelArray) ElementType

func (IssueLabelsLabelArray) ElementType() reflect.Type

func (IssueLabelsLabelArray) ToIssueLabelsLabelArrayOutput

func (i IssueLabelsLabelArray) ToIssueLabelsLabelArrayOutput() IssueLabelsLabelArrayOutput

func (IssueLabelsLabelArray) ToIssueLabelsLabelArrayOutputWithContext

func (i IssueLabelsLabelArray) ToIssueLabelsLabelArrayOutputWithContext(ctx context.Context) IssueLabelsLabelArrayOutput

type IssueLabelsLabelArrayInput

type IssueLabelsLabelArrayInput interface {
	pulumi.Input

	ToIssueLabelsLabelArrayOutput() IssueLabelsLabelArrayOutput
	ToIssueLabelsLabelArrayOutputWithContext(context.Context) IssueLabelsLabelArrayOutput
}

IssueLabelsLabelArrayInput is an input type that accepts IssueLabelsLabelArray and IssueLabelsLabelArrayOutput values. You can construct a concrete instance of `IssueLabelsLabelArrayInput` via:

IssueLabelsLabelArray{ IssueLabelsLabelArgs{...} }

type IssueLabelsLabelArrayOutput

type IssueLabelsLabelArrayOutput struct{ *pulumi.OutputState }

func (IssueLabelsLabelArrayOutput) ElementType

func (IssueLabelsLabelArrayOutput) Index

func (IssueLabelsLabelArrayOutput) ToIssueLabelsLabelArrayOutput

func (o IssueLabelsLabelArrayOutput) ToIssueLabelsLabelArrayOutput() IssueLabelsLabelArrayOutput

func (IssueLabelsLabelArrayOutput) ToIssueLabelsLabelArrayOutputWithContext

func (o IssueLabelsLabelArrayOutput) ToIssueLabelsLabelArrayOutputWithContext(ctx context.Context) IssueLabelsLabelArrayOutput

type IssueLabelsLabelInput

type IssueLabelsLabelInput interface {
	pulumi.Input

	ToIssueLabelsLabelOutput() IssueLabelsLabelOutput
	ToIssueLabelsLabelOutputWithContext(context.Context) IssueLabelsLabelOutput
}

IssueLabelsLabelInput is an input type that accepts IssueLabelsLabelArgs and IssueLabelsLabelOutput values. You can construct a concrete instance of `IssueLabelsLabelInput` via:

IssueLabelsLabelArgs{...}

type IssueLabelsLabelOutput

type IssueLabelsLabelOutput struct{ *pulumi.OutputState }

func (IssueLabelsLabelOutput) Color

A 6 character hex code, **without the leading #**, identifying the color of the label.

func (IssueLabelsLabelOutput) Description

A short description of the label.

func (IssueLabelsLabelOutput) ElementType

func (IssueLabelsLabelOutput) ElementType() reflect.Type

func (IssueLabelsLabelOutput) Name

The name of the label.

func (IssueLabelsLabelOutput) ToIssueLabelsLabelOutput

func (o IssueLabelsLabelOutput) ToIssueLabelsLabelOutput() IssueLabelsLabelOutput

func (IssueLabelsLabelOutput) ToIssueLabelsLabelOutputWithContext

func (o IssueLabelsLabelOutput) ToIssueLabelsLabelOutputWithContext(ctx context.Context) IssueLabelsLabelOutput

func (IssueLabelsLabelOutput) Url

The URL to the issue label

type IssueLabelsMap

type IssueLabelsMap map[string]IssueLabelsInput

func (IssueLabelsMap) ElementType

func (IssueLabelsMap) ElementType() reflect.Type

func (IssueLabelsMap) ToIssueLabelsMapOutput

func (i IssueLabelsMap) ToIssueLabelsMapOutput() IssueLabelsMapOutput

func (IssueLabelsMap) ToIssueLabelsMapOutputWithContext

func (i IssueLabelsMap) ToIssueLabelsMapOutputWithContext(ctx context.Context) IssueLabelsMapOutput

type IssueLabelsMapInput

type IssueLabelsMapInput interface {
	pulumi.Input

	ToIssueLabelsMapOutput() IssueLabelsMapOutput
	ToIssueLabelsMapOutputWithContext(context.Context) IssueLabelsMapOutput
}

IssueLabelsMapInput is an input type that accepts IssueLabelsMap and IssueLabelsMapOutput values. You can construct a concrete instance of `IssueLabelsMapInput` via:

IssueLabelsMap{ "key": IssueLabelsArgs{...} }

type IssueLabelsMapOutput

type IssueLabelsMapOutput struct{ *pulumi.OutputState }

func (IssueLabelsMapOutput) ElementType

func (IssueLabelsMapOutput) ElementType() reflect.Type

func (IssueLabelsMapOutput) MapIndex

func (IssueLabelsMapOutput) ToIssueLabelsMapOutput

func (o IssueLabelsMapOutput) ToIssueLabelsMapOutput() IssueLabelsMapOutput

func (IssueLabelsMapOutput) ToIssueLabelsMapOutputWithContext

func (o IssueLabelsMapOutput) ToIssueLabelsMapOutputWithContext(ctx context.Context) IssueLabelsMapOutput

type IssueLabelsOutput

type IssueLabelsOutput struct{ *pulumi.OutputState }

func (IssueLabelsOutput) ElementType

func (IssueLabelsOutput) ElementType() reflect.Type

func (IssueLabelsOutput) Labels

List of labels

func (IssueLabelsOutput) Repository

func (o IssueLabelsOutput) Repository() pulumi.StringOutput

The GitHub repository

func (IssueLabelsOutput) ToIssueLabelsOutput

func (o IssueLabelsOutput) ToIssueLabelsOutput() IssueLabelsOutput

func (IssueLabelsOutput) ToIssueLabelsOutputWithContext

func (o IssueLabelsOutput) ToIssueLabelsOutputWithContext(ctx context.Context) IssueLabelsOutput

type IssueLabelsState

type IssueLabelsState struct {
	// List of labels
	Labels IssueLabelsLabelArrayInput
	// The GitHub repository
	Repository pulumi.StringPtrInput
}

func (IssueLabelsState) ElementType

func (IssueLabelsState) ElementType() reflect.Type

type IssueMap

type IssueMap map[string]IssueInput

func (IssueMap) ElementType

func (IssueMap) ElementType() reflect.Type

func (IssueMap) ToIssueMapOutput

func (i IssueMap) ToIssueMapOutput() IssueMapOutput

func (IssueMap) ToIssueMapOutputWithContext

func (i IssueMap) ToIssueMapOutputWithContext(ctx context.Context) IssueMapOutput

type IssueMapInput

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

type IssueMapOutput struct{ *pulumi.OutputState }

func (IssueMapOutput) ElementType

func (IssueMapOutput) ElementType() reflect.Type

func (IssueMapOutput) MapIndex

func (IssueMapOutput) ToIssueMapOutput

func (o IssueMapOutput) ToIssueMapOutput() IssueMapOutput

func (IssueMapOutput) ToIssueMapOutputWithContext

func (o IssueMapOutput) ToIssueMapOutputWithContext(ctx context.Context) IssueMapOutput

type IssueOutput

type IssueOutput struct{ *pulumi.OutputState }

func (IssueOutput) Assignees

func (o IssueOutput) Assignees() pulumi.StringArrayOutput

List of Logins to assign the to the issue

func (IssueOutput) Body

Body of the issue

func (IssueOutput) ElementType

func (IssueOutput) ElementType() reflect.Type

func (IssueOutput) Etag

func (o IssueOutput) Etag() pulumi.StringOutput

func (IssueOutput) IssueId

func (o IssueOutput) IssueId() pulumi.IntOutput

(Computed) - The issue id

func (IssueOutput) Labels

List of labels to attach to the issue

func (IssueOutput) MilestoneNumber

func (o IssueOutput) MilestoneNumber() pulumi.IntPtrOutput

Milestone number to assign to the issue

func (IssueOutput) Number

func (o IssueOutput) Number() pulumi.IntOutput

(Computed) - The issue number

func (IssueOutput) Repository

func (o IssueOutput) Repository() pulumi.StringOutput

The GitHub repository name

func (IssueOutput) Title

func (o IssueOutput) Title() pulumi.StringOutput

Title of the issue

func (IssueOutput) ToIssueOutput

func (o IssueOutput) ToIssueOutput() IssueOutput

func (IssueOutput) ToIssueOutputWithContext

func (o IssueOutput) ToIssueOutputWithContext(ctx context.Context) IssueOutput

type IssueState

type IssueState struct {
	// List of Logins to assign the to the issue
	Assignees pulumi.StringArrayInput
	// Body 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

func (IssueState) ElementType() reflect.Type

type LookupActionsOrganizationOidcSubjectClaimCustomizationTemplateResult

type LookupActionsOrganizationOidcSubjectClaimCustomizationTemplateResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of OpenID Connect claim keys.
	IncludeClaimKeys []string `pulumi:"includeClaimKeys"`
}

A collection of values returned by getActionsOrganizationOidcSubjectClaimCustomizationTemplate.

func LookupActionsOrganizationOidcSubjectClaimCustomizationTemplate

func LookupActionsOrganizationOidcSubjectClaimCustomizationTemplate(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*LookupActionsOrganizationOidcSubjectClaimCustomizationTemplateResult, error)

Use this data source to retrieve the OpenID Connect subject claim customization template for an organization

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.LookupActionsOrganizationOidcSubjectClaimCustomizationTemplate(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupActionsOrganizationOidcSubjectClaimCustomizationTemplateResultOutput

type LookupActionsOrganizationOidcSubjectClaimCustomizationTemplateResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getActionsOrganizationOidcSubjectClaimCustomizationTemplate.

func (LookupActionsOrganizationOidcSubjectClaimCustomizationTemplateResultOutput) ElementType

func (LookupActionsOrganizationOidcSubjectClaimCustomizationTemplateResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupActionsOrganizationOidcSubjectClaimCustomizationTemplateResultOutput) IncludeClaimKeys

The list of OpenID Connect claim keys.

func (LookupActionsOrganizationOidcSubjectClaimCustomizationTemplateResultOutput) ToLookupActionsOrganizationOidcSubjectClaimCustomizationTemplateResultOutput

func (LookupActionsOrganizationOidcSubjectClaimCustomizationTemplateResultOutput) ToLookupActionsOrganizationOidcSubjectClaimCustomizationTemplateResultOutputWithContext

type LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs

type LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs struct {
	// Name of the repository to get the OpenID Connect subject claim customization template for.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getActionsRepositoryOidcSubjectClaimCustomizationTemplate.

type LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateOutputArgs

type LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateOutputArgs struct {
	// Name of the repository to get the OpenID Connect subject claim customization template for.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getActionsRepositoryOidcSubjectClaimCustomizationTemplate.

func (LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateOutputArgs) ElementType

type LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResult

type LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of OpenID Connect claim keys.
	IncludeClaimKeys []string `pulumi:"includeClaimKeys"`
	Name             string   `pulumi:"name"`
	// Whether the repository uses the default template.
	UseDefault bool `pulumi:"useDefault"`
}

A collection of values returned by getActionsRepositoryOidcSubjectClaimCustomizationTemplate.

func LookupActionsRepositoryOidcSubjectClaimCustomizationTemplate

Use this data source to retrieve the OpenID Connect subject claim customization template for a repository

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.LookupActionsRepositoryOidcSubjectClaimCustomizationTemplate(ctx, &github.LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs{
			Name: "example_repository",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResultOutput

type LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getActionsRepositoryOidcSubjectClaimCustomizationTemplate.

func (LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResultOutput) ElementType

func (LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResultOutput) IncludeClaimKeys

The list of OpenID Connect claim keys.

func (LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResultOutput) Name

func (LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResultOutput) ToLookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResultOutput

func (LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResultOutput) ToLookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResultOutputWithContext

func (LookupActionsRepositoryOidcSubjectClaimCustomizationTemplateResultOutput) UseDefault

Whether the repository uses the default template.

type LookupBranchArgs

type LookupBranchArgs struct {
	// The repository branch to retrieve.
	Branch string `pulumi:"branch"`
	// The GitHub repository name.
	Repository string `pulumi:"repository"`
}

A collection of arguments for invoking getBranch.

type LookupBranchOutputArgs

type LookupBranchOutputArgs struct {
	// The repository branch to retrieve.
	Branch pulumi.StringInput `pulumi:"branch"`
	// The GitHub repository name.
	Repository pulumi.StringInput `pulumi:"repository"`
}

A collection of arguments for invoking getBranch.

func (LookupBranchOutputArgs) ElementType

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.LookupBranch(ctx, &github.LookupBranchArgs{
			Branch:     "development",
			Repository: "example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupBranchResultOutput

type LookupBranchResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBranch.

func (LookupBranchResultOutput) Branch

func (LookupBranchResultOutput) ElementType

func (LookupBranchResultOutput) ElementType() reflect.Type

func (LookupBranchResultOutput) Etag

An etag representing the Branch object.

func (LookupBranchResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupBranchResultOutput) Ref

A string representing a branch reference, in the form of `refs/heads/<branch>`.

func (LookupBranchResultOutput) Repository

func (LookupBranchResultOutput) Sha

A string storing the reference's `HEAD` commit's SHA1.

func (LookupBranchResultOutput) ToLookupBranchResultOutput

func (o LookupBranchResultOutput) ToLookupBranchResultOutput() LookupBranchResultOutput

func (LookupBranchResultOutput) ToLookupBranchResultOutputWithContext

func (o LookupBranchResultOutput) ToLookupBranchResultOutputWithContext(ctx context.Context) LookupBranchResultOutput

type LookupIssueLabelsArgs

type LookupIssueLabelsArgs struct {
	// The name of the repository.
	Repository string `pulumi:"repository"`
}

A collection of arguments for invoking getIssueLabels.

type LookupIssueLabelsOutputArgs

type LookupIssueLabelsOutputArgs struct {
	// The name of the repository.
	Repository pulumi.StringInput `pulumi:"repository"`
}

A collection of arguments for invoking getIssueLabels.

func (LookupIssueLabelsOutputArgs) ElementType

type LookupIssueLabelsResult

type LookupIssueLabelsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The list of this repository's labels. Each element of `labels` has the following attributes:
	Labels     []GetIssueLabelsLabel `pulumi:"labels"`
	Repository string                `pulumi:"repository"`
}

A collection of values returned by getIssueLabels.

func LookupIssueLabels

func LookupIssueLabels(ctx *pulumi.Context, args *LookupIssueLabelsArgs, opts ...pulumi.InvokeOption) (*LookupIssueLabelsResult, error)

Use this data source to retrieve the labels for a given repository.

type LookupIssueLabelsResultOutput

type LookupIssueLabelsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIssueLabels.

func (LookupIssueLabelsResultOutput) ElementType

func (LookupIssueLabelsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupIssueLabelsResultOutput) Labels

The list of this repository's labels. Each element of `labels` has the following attributes:

func (LookupIssueLabelsResultOutput) Repository

func (LookupIssueLabelsResultOutput) ToLookupIssueLabelsResultOutput

func (o LookupIssueLabelsResultOutput) ToLookupIssueLabelsResultOutput() LookupIssueLabelsResultOutput

func (LookupIssueLabelsResultOutput) ToLookupIssueLabelsResultOutputWithContext

func (o LookupIssueLabelsResultOutput) ToLookupIssueLabelsResultOutputWithContext(ctx context.Context) LookupIssueLabelsResultOutput

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

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

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"`
	// `active` or `pending` -- the state of membership within the organization.  `active` if the member has accepted the invite, or `pending` if the invite is still pending.
	State string `pulumi:"state"`
	// 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.LookupMembership(ctx, &github.LookupMembershipArgs{
			Username: "SomeUser",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupMembershipResultOutput

type LookupMembershipResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMembership.

func (LookupMembershipResultOutput) ElementType

func (LookupMembershipResultOutput) Etag

An etag representing the membership object.

func (LookupMembershipResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupMembershipResultOutput) Organization

func (LookupMembershipResultOutput) Role

`admin` or `member` -- the role the user has within the organization.

func (LookupMembershipResultOutput) State

`active` or `pending` -- the state of membership within the organization. `active` if the member has accepted the invite, or `pending` if the invite is still pending.

func (LookupMembershipResultOutput) ToLookupMembershipResultOutput

func (o LookupMembershipResultOutput) ToLookupMembershipResultOutput() LookupMembershipResultOutput

func (LookupMembershipResultOutput) ToLookupMembershipResultOutputWithContext

func (o LookupMembershipResultOutput) ToLookupMembershipResultOutputWithContext(ctx context.Context) LookupMembershipResultOutput

func (LookupMembershipResultOutput) Username

The username.

type LookupOrganizationCustomRoleArgs

type LookupOrganizationCustomRoleArgs struct {
	// The name of the custom role.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getOrganizationCustomRole.

type LookupOrganizationCustomRoleOutputArgs

type LookupOrganizationCustomRoleOutputArgs struct {
	// The name of the custom role.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getOrganizationCustomRole.

func (LookupOrganizationCustomRoleOutputArgs) ElementType

type LookupOrganizationCustomRoleResult

type LookupOrganizationCustomRoleResult struct {
	// The system role from which the role inherits permissions.
	BaseRole string `pulumi:"baseRole"`
	// The description for the custom role.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// A list of additional permissions included in this role.
	Permissions []string `pulumi:"permissions"`
}

A collection of values returned by getOrganizationCustomRole.

func LookupOrganizationCustomRole

func LookupOrganizationCustomRole(ctx *pulumi.Context, args *LookupOrganizationCustomRoleArgs, opts ...pulumi.InvokeOption) (*LookupOrganizationCustomRoleResult, error)

Use this data source to retrieve information about a custom role in a GitHub Organization.

> Note: Custom roles are currently only available in GitHub Enterprise Cloud.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.LookupOrganizationCustomRole(ctx, &github.LookupOrganizationCustomRoleArgs{
			Name: "example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupOrganizationCustomRoleResultOutput

type LookupOrganizationCustomRoleResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getOrganizationCustomRole.

func (LookupOrganizationCustomRoleResultOutput) BaseRole

The system role from which the role inherits permissions.

func (LookupOrganizationCustomRoleResultOutput) Description

The description for the custom role.

func (LookupOrganizationCustomRoleResultOutput) ElementType

func (LookupOrganizationCustomRoleResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupOrganizationCustomRoleResultOutput) Name

func (LookupOrganizationCustomRoleResultOutput) Permissions

A list of additional permissions included in this role.

func (LookupOrganizationCustomRoleResultOutput) ToLookupOrganizationCustomRoleResultOutput

func (o LookupOrganizationCustomRoleResultOutput) ToLookupOrganizationCustomRoleResultOutput() LookupOrganizationCustomRoleResultOutput

func (LookupOrganizationCustomRoleResultOutput) ToLookupOrganizationCustomRoleResultOutputWithContext

func (o LookupOrganizationCustomRoleResultOutput) ToLookupOrganizationCustomRoleResultOutputWithContext(ctx context.Context) LookupOrganizationCustomRoleResultOutput

type LookupReleaseArgs

type LookupReleaseArgs 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 LookupReleaseOutputArgs

type LookupReleaseOutputArgs 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 (LookupReleaseOutputArgs) ElementType

func (LookupReleaseOutputArgs) ElementType() reflect.Type

type LookupReleaseResult

type LookupReleaseResult struct {
	// **Deprecated**: Use `assetsUrl` resource instead
	//
	// Deprecated: use assetsUrl instead
	AssertsUrl string `pulumi:"assertsUrl"`
	// Collection of assets for the release. Each asset conforms to the following schema:
	Assets []GetReleaseAsset `pulumi:"assets"`
	// URL of any associated assets with the release
	AssetsUrl string `pulumi:"assetsUrl"`
	// Contents of the description (body) of a release
	Body string `pulumi:"body"`
	// Date the asset was created
	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"`
	// The file name of the asset
	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"`
	// URL of the asset
	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 LookupRelease

func LookupRelease(ctx *pulumi.Context, args *LookupReleaseArgs, opts ...pulumi.InvokeOption) (*LookupReleaseResult, error)

Use this data source to retrieve information about a GitHub release in a specific repository.

## Example Usage

To retrieve the latest release that is present in a repository:

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.LookupRelease(ctx, &github.LookupReleaseArgs{
			Owner:      "example-owner",
			Repository: "example-repository",
			RetrieveBy: "latest",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

To retrieve a specific release from a repository based on it's ID:

type LookupReleaseResultOutput

type LookupReleaseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRelease.

func (LookupReleaseResultOutput) AssertsUrl deprecated

**Deprecated**: Use `assetsUrl` resource instead

Deprecated: use assetsUrl instead

func (LookupReleaseResultOutput) Assets

Collection of assets for the release. Each asset conforms to the following schema:

func (LookupReleaseResultOutput) AssetsUrl

URL of any associated assets with the release

func (LookupReleaseResultOutput) Body

Contents of the description (body) of a release

func (LookupReleaseResultOutput) CreatedAt

Date the asset was created

func (LookupReleaseResultOutput) Draft

(`Boolean`) indicates whether the release is a draft

func (LookupReleaseResultOutput) ElementType

func (LookupReleaseResultOutput) ElementType() reflect.Type

func (LookupReleaseResultOutput) HtmlUrl

URL directing to detailed information on the release

func (LookupReleaseResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupReleaseResultOutput) Name

The file name of the asset

func (LookupReleaseResultOutput) Owner

func (LookupReleaseResultOutput) Prerelease

(`Boolean`) indicates whether the release is a prerelease

func (LookupReleaseResultOutput) PublishedAt

Date of release publishing

func (LookupReleaseResultOutput) ReleaseId

ID of release

func (LookupReleaseResultOutput) ReleaseTag

Tag of release

func (LookupReleaseResultOutput) Repository

func (LookupReleaseResultOutput) RetrieveBy

func (LookupReleaseResultOutput) TarballUrl

Download URL of a specific release in `tar.gz` format

func (LookupReleaseResultOutput) TargetCommitish

func (o LookupReleaseResultOutput) TargetCommitish() pulumi.StringOutput

Commitish value that determines where the Git release is created from

func (LookupReleaseResultOutput) ToLookupReleaseResultOutput

func (o LookupReleaseResultOutput) ToLookupReleaseResultOutput() LookupReleaseResultOutput

func (LookupReleaseResultOutput) ToLookupReleaseResultOutputWithContext

func (o LookupReleaseResultOutput) ToLookupReleaseResultOutputWithContext(ctx context.Context) LookupReleaseResultOutput

func (LookupReleaseResultOutput) UploadUrl

URL that can be used to upload Assets to the release

func (LookupReleaseResultOutput) Url

URL of the asset

func (LookupReleaseResultOutput) ZipballUrl

Download URL of a specific release in `zip` format

type LookupRepositoryArgs

type LookupRepositoryArgs struct {
	// A description of the license.
	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"`
}

A collection of arguments for invoking getRepository.

type LookupRepositoryFileArgs

type LookupRepositoryFileArgs struct {
	// Git branch. Defaults to the repository's default branch.
	Branch *string `pulumi:"branch"`
	// The path of the file to read.
	File string `pulumi:"file"`
	// The repository to read the file from. If an unqualified repo name (without an owner) is passed, the owner will be inferred from the owner of the token used to execute the plan. If a name of the type "owner/repo" (with a slash in the middle) is passed, the owner will be as specified and not the owner of the token.
	Repository string `pulumi:"repository"`
}

A collection of arguments for invoking getRepositoryFile.

type LookupRepositoryFileOutputArgs

type LookupRepositoryFileOutputArgs struct {
	// Git branch. Defaults to the repository's default branch.
	Branch pulumi.StringPtrInput `pulumi:"branch"`
	// The path of the file to read.
	File pulumi.StringInput `pulumi:"file"`
	// The repository to read the file from. If an unqualified repo name (without an owner) is passed, the owner will be inferred from the owner of the token used to execute the plan. If a name of the type "owner/repo" (with a slash in the middle) is passed, the owner will be as specified and not the owner of the token.
	Repository pulumi.StringInput `pulumi:"repository"`
}

A collection of arguments for invoking getRepositoryFile.

func (LookupRepositoryFileOutputArgs) ElementType

type LookupRepositoryFileResult

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"`
	// The name of the commit/branch/tag.
	Ref        string `pulumi:"ref"`
	Repository string `pulumi:"repository"`
	// The SHA blob of the file.
	Sha string `pulumi:"sha"`
}

A collection of values returned by getRepositoryFile.

func LookupRepositoryFile

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.LookupRepositoryFile(ctx, &github.LookupRepositoryFileArgs{
			Repository: github_repository.Foo.Name,
			Branch:     pulumi.StringRef("main"),
			File:       ".gitignore",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupRepositoryFileResultOutput

type LookupRepositoryFileResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositoryFile.

func (LookupRepositoryFileResultOutput) Branch

func (LookupRepositoryFileResultOutput) CommitAuthor

Committer author name.

func (LookupRepositoryFileResultOutput) CommitEmail

Committer email address.

func (LookupRepositoryFileResultOutput) CommitMessage

Commit message when file was last updated.

func (LookupRepositoryFileResultOutput) CommitSha

The SHA of the commit that modified the file.

func (LookupRepositoryFileResultOutput) Content

The file content.

func (LookupRepositoryFileResultOutput) ElementType

func (LookupRepositoryFileResultOutput) File

func (LookupRepositoryFileResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupRepositoryFileResultOutput) Ref

The name of the commit/branch/tag.

func (LookupRepositoryFileResultOutput) Repository

func (LookupRepositoryFileResultOutput) Sha

The SHA blob of the file.

func (LookupRepositoryFileResultOutput) ToLookupRepositoryFileResultOutput

func (o LookupRepositoryFileResultOutput) ToLookupRepositoryFileResultOutput() LookupRepositoryFileResultOutput

func (LookupRepositoryFileResultOutput) ToLookupRepositoryFileResultOutputWithContext

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

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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.LookupRepositoryMilestone(ctx, &github.LookupRepositoryMilestoneArgs{
			Number:     1,
			Owner:      "example-owner",
			Repository: "example-repository",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupRepositoryMilestoneResultOutput

type LookupRepositoryMilestoneResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositoryMilestone.

func (LookupRepositoryMilestoneResultOutput) Description

Description of the milestone.

func (LookupRepositoryMilestoneResultOutput) DueDate

The milestone due date (in ISO-8601 `yyyy-mm-dd` format).

func (LookupRepositoryMilestoneResultOutput) ElementType

func (LookupRepositoryMilestoneResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupRepositoryMilestoneResultOutput) Number

func (LookupRepositoryMilestoneResultOutput) Owner

func (LookupRepositoryMilestoneResultOutput) Repository

func (LookupRepositoryMilestoneResultOutput) State

State of the milestone.

func (LookupRepositoryMilestoneResultOutput) Title

Title of the milestone.

func (LookupRepositoryMilestoneResultOutput) ToLookupRepositoryMilestoneResultOutput

func (o LookupRepositoryMilestoneResultOutput) ToLookupRepositoryMilestoneResultOutput() LookupRepositoryMilestoneResultOutput

func (LookupRepositoryMilestoneResultOutput) ToLookupRepositoryMilestoneResultOutputWithContext

func (o LookupRepositoryMilestoneResultOutput) ToLookupRepositoryMilestoneResultOutputWithContext(ctx context.Context) LookupRepositoryMilestoneResultOutput

type LookupRepositoryOutputArgs

type LookupRepositoryOutputArgs struct {
	// A description of the license.
	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"`
}

A collection of arguments for invoking getRepository.

func (LookupRepositoryOutputArgs) ElementType

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

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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.LookupRepositoryPullRequest(ctx, &github.LookupRepositoryPullRequestArgs{
			BaseRepository: "example_repository",
			Number:         1,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupRepositoryPullRequestResultOutput

type LookupRepositoryPullRequestResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositoryPullRequest.

func (LookupRepositoryPullRequestResultOutput) BaseRef

Name of the ref (branch) of the Pull Request base.

func (LookupRepositoryPullRequestResultOutput) BaseRepository

func (LookupRepositoryPullRequestResultOutput) BaseSha

Head commit SHA of the Pull Request base.

func (LookupRepositoryPullRequestResultOutput) Body

Body of the Pull Request.

func (LookupRepositoryPullRequestResultOutput) Draft

Indicates Whether this Pull Request is a draft.

func (LookupRepositoryPullRequestResultOutput) ElementType

func (LookupRepositoryPullRequestResultOutput) HeadOwner

Owner of the Pull Request head repository.

func (LookupRepositoryPullRequestResultOutput) HeadRef

func (LookupRepositoryPullRequestResultOutput) HeadRepository

Name of the Pull Request head repository.

func (LookupRepositoryPullRequestResultOutput) HeadSha

Head commit SHA of the Pull Request head.

func (LookupRepositoryPullRequestResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupRepositoryPullRequestResultOutput) Labels

List of label names set on the Pull Request.

func (LookupRepositoryPullRequestResultOutput) MaintainerCanModify

Indicates whether the base repository maintainers can modify the Pull Request.

func (LookupRepositoryPullRequestResultOutput) Number

func (LookupRepositoryPullRequestResultOutput) OpenedAt

Unix timestamp indicating the Pull Request creation time.

func (LookupRepositoryPullRequestResultOutput) OpenedBy

GitHub login of the user who opened the Pull Request.

func (LookupRepositoryPullRequestResultOutput) Owner

func (LookupRepositoryPullRequestResultOutput) State

the current Pull Request state - can be "open", "closed" or "merged".

func (LookupRepositoryPullRequestResultOutput) Title

The title of the Pull Request.

func (LookupRepositoryPullRequestResultOutput) ToLookupRepositoryPullRequestResultOutput

func (o LookupRepositoryPullRequestResultOutput) ToLookupRepositoryPullRequestResultOutput() LookupRepositoryPullRequestResultOutput

func (LookupRepositoryPullRequestResultOutput) ToLookupRepositoryPullRequestResultOutputWithContext

func (o LookupRepositoryPullRequestResultOutput) ToLookupRepositoryPullRequestResultOutputWithContext(ctx context.Context) LookupRepositoryPullRequestResultOutput

func (LookupRepositoryPullRequestResultOutput) UpdatedAt

The timestamp of the last Pull Request update.

type LookupRepositoryPullRequestsArgs

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

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

type LookupRepositoryPullRequestsResult

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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.LookupRepositoryPullRequests(ctx, &github.LookupRepositoryPullRequestsArgs{
			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
	})
}

``` <!--End PulumiCodeChooser -->

type LookupRepositoryPullRequestsResultOutput

type LookupRepositoryPullRequestsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepositoryPullRequests.

func (LookupRepositoryPullRequestsResultOutput) BaseRef

Name of the ref (branch) of the Pull Request base.

func (LookupRepositoryPullRequestsResultOutput) BaseRepository

func (LookupRepositoryPullRequestsResultOutput) ElementType

func (LookupRepositoryPullRequestsResultOutput) HeadRef

Value of the Pull Request `HEAD` reference.

func (LookupRepositoryPullRequestsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupRepositoryPullRequestsResultOutput) Owner

func (LookupRepositoryPullRequestsResultOutput) Results

Collection of Pull Requests matching the filters. Each of the results conforms to the following scheme:

func (LookupRepositoryPullRequestsResultOutput) SortBy

func (LookupRepositoryPullRequestsResultOutput) SortDirection

func (LookupRepositoryPullRequestsResultOutput) State

the current Pull Request state - can be "open", "closed" or "merged".

func (LookupRepositoryPullRequestsResultOutput) ToLookupRepositoryPullRequestsResultOutput

func (o LookupRepositoryPullRequestsResultOutput) ToLookupRepositoryPullRequestsResultOutput() LookupRepositoryPullRequestsResultOutput

func (LookupRepositoryPullRequestsResultOutput) ToLookupRepositoryPullRequestsResultOutputWithContext

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 name of the default branch of the repository.
	DefaultBranch string `pulumi:"defaultBranch"`
	// A description of the license.
	Description *string `pulumi:"description"`
	// Whether the repository is a fork.
	Fork     bool   `pulumi:"fork"`
	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 GitHub Discussions enabled.
	HasDiscussions bool `pulumi:"hasDiscussions"`
	// 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"`
	// The URL to view the license details on GitHub.
	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"`
	// Whether the repository is a template repository.
	IsTemplate bool `pulumi:"isTemplate"`
	// The default value for a merge commit message.
	MergeCommitMessage string `pulumi:"mergeCommitMessage"`
	// The default value for a merge commit title.
	MergeCommitTitle string `pulumi:"mergeCommitTitle"`
	// The name of the license (e.g., "Apache License 2.0").
	Name string `pulumi:"name"`
	// GraphQL global node id for use with v4 API
	NodeId string `pulumi:"nodeId"`
	// The repository's GitHub Pages configuration.
	Pages []GetRepositoryPage `pulumi:"pages"`
	// The primary language used in the repository.
	PrimaryLanguage string `pulumi:"primaryLanguage"`
	// Whether the repository is private.
	Private bool `pulumi:"private"`
	// GitHub ID for the repository
	RepoId int `pulumi:"repoId"`
	// An Array of GitHub repository licenses. Each `repositoryLicense` block consists of the fields documented below.
	RepositoryLicenses []GetRepositoryRepositoryLicense `pulumi:"repositoryLicenses"`
	// 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 repository source template configuration.
	Templates []GetRepositoryTemplate `pulumi:"templates"`
	// 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.LookupRepository(ctx, &github.LookupRepositoryArgs{
			FullName: pulumi.StringRef("hashicorp/terraform"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupRepositoryResultOutput

type LookupRepositoryResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRepository.

func (LookupRepositoryResultOutput) AllowAutoMerge

func (o LookupRepositoryResultOutput) AllowAutoMerge() pulumi.BoolOutput

Whether the repository allows auto-merging pull requests.

func (LookupRepositoryResultOutput) AllowMergeCommit

func (o LookupRepositoryResultOutput) AllowMergeCommit() pulumi.BoolOutput

Whether the repository allows merge commits.

func (LookupRepositoryResultOutput) AllowRebaseMerge

func (o LookupRepositoryResultOutput) AllowRebaseMerge() pulumi.BoolOutput

Whether the repository allows rebase merges.

func (LookupRepositoryResultOutput) AllowSquashMerge

func (o LookupRepositoryResultOutput) AllowSquashMerge() pulumi.BoolOutput

Whether the repository allows squash merges.

func (LookupRepositoryResultOutput) Archived

Whether the repository is archived.

func (LookupRepositoryResultOutput) DefaultBranch

The name of the default branch of the repository.

func (LookupRepositoryResultOutput) Description

A description of the license.

func (LookupRepositoryResultOutput) ElementType

func (LookupRepositoryResultOutput) Fork

Whether the repository is a fork.

func (LookupRepositoryResultOutput) FullName

func (LookupRepositoryResultOutput) GitCloneUrl

URL that can be provided to `git clone` to clone the repository anonymously via the git protocol.

func (LookupRepositoryResultOutput) HasDiscussions

func (o LookupRepositoryResultOutput) HasDiscussions() pulumi.BoolOutput

Whether the repository has GitHub Discussions enabled.

func (LookupRepositoryResultOutput) HasDownloads

Whether the repository has Downloads feature enabled.

func (LookupRepositoryResultOutput) HasIssues

Whether the repository has GitHub Issues enabled.

func (LookupRepositoryResultOutput) HasProjects

Whether the repository has the GitHub Projects enabled.

func (LookupRepositoryResultOutput) HasWiki

Whether the repository has the GitHub Wiki enabled.

func (LookupRepositoryResultOutput) HomepageUrl

URL of a page describing the project.

func (LookupRepositoryResultOutput) HtmlUrl

The URL to view the license details on GitHub.

func (LookupRepositoryResultOutput) HttpCloneUrl

URL that can be provided to `git clone` to clone the repository via HTTPS.

func (LookupRepositoryResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupRepositoryResultOutput) IsTemplate

Whether the repository is a template repository.

func (LookupRepositoryResultOutput) MergeCommitMessage

func (o LookupRepositoryResultOutput) MergeCommitMessage() pulumi.StringOutput

The default value for a merge commit message.

func (LookupRepositoryResultOutput) MergeCommitTitle

func (o LookupRepositoryResultOutput) MergeCommitTitle() pulumi.StringOutput

The default value for a merge commit title.

func (LookupRepositoryResultOutput) Name

The name of the license (e.g., "Apache License 2.0").

func (LookupRepositoryResultOutput) NodeId

GraphQL global node id for use with v4 API

func (LookupRepositoryResultOutput) Pages

The repository's GitHub Pages configuration.

func (LookupRepositoryResultOutput) PrimaryLanguage

func (o LookupRepositoryResultOutput) PrimaryLanguage() pulumi.StringOutput

The primary language used in the repository.

func (LookupRepositoryResultOutput) Private

Whether the repository is private.

func (LookupRepositoryResultOutput) RepoId

GitHub ID for the repository

func (LookupRepositoryResultOutput) RepositoryLicenses

An Array of GitHub repository licenses. Each `repositoryLicense` block consists of the fields documented below.

func (LookupRepositoryResultOutput) SquashMergeCommitMessage

func (o LookupRepositoryResultOutput) SquashMergeCommitMessage() pulumi.StringOutput

The default value for a squash merge commit message.

func (LookupRepositoryResultOutput) SquashMergeCommitTitle

func (o LookupRepositoryResultOutput) SquashMergeCommitTitle() pulumi.StringOutput

The default value for a squash merge commit title.

func (LookupRepositoryResultOutput) SshCloneUrl

URL that can be provided to `git clone` to clone the repository via SSH.

func (LookupRepositoryResultOutput) SvnUrl

URL that can be provided to `svn checkout` to check out the repository via GitHub's Subversion protocol emulation.

func (LookupRepositoryResultOutput) Templates

The repository source template configuration.

func (LookupRepositoryResultOutput) ToLookupRepositoryResultOutput

func (o LookupRepositoryResultOutput) ToLookupRepositoryResultOutput() LookupRepositoryResultOutput

func (LookupRepositoryResultOutput) ToLookupRepositoryResultOutputWithContext

func (o LookupRepositoryResultOutput) ToLookupRepositoryResultOutputWithContext(ctx context.Context) LookupRepositoryResultOutput

func (LookupRepositoryResultOutput) Topics

The list of topics of the repository.

func (LookupRepositoryResultOutput) Visibility

Whether the repository is public, private or internal.

type LookupTeamArgs

type LookupTeamArgs struct {
	// Type of membership to be requested to fill the list of members. Can be either "all" or "immediate". Default: "all"
	MembershipType *string `pulumi:"membershipType"`
	// Set the number of results per graphql query. Reducing this number can alleviate timeout errors. Accepts a value between 0 - 100. Defaults to `100`.
	ResultsPerPage *int `pulumi:"resultsPerPage"`
	// The team slug.
	Slug string `pulumi:"slug"`
	// Exclude the members and repositories of the team from the returned result. Defaults to `false`.
	SummaryOnly *bool `pulumi:"summaryOnly"`
}

A collection of arguments for invoking getTeam.

type LookupTeamOutputArgs

type LookupTeamOutputArgs struct {
	// Type of membership to be requested to fill the list of members. Can be either "all" or "immediate". Default: "all"
	MembershipType pulumi.StringPtrInput `pulumi:"membershipType"`
	// Set the number of results per graphql query. Reducing this number can alleviate timeout errors. Accepts a value between 0 - 100. Defaults to `100`.
	ResultsPerPage pulumi.IntPtrInput `pulumi:"resultsPerPage"`
	// The team slug.
	Slug pulumi.StringInput `pulumi:"slug"`
	// Exclude the members and repositories of the team from the returned result. Defaults to `false`.
	SummaryOnly pulumi.BoolPtrInput `pulumi:"summaryOnly"`
}

A collection of arguments for invoking getTeam.

func (LookupTeamOutputArgs) ElementType

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). Not returned if `summaryOnly = true`
	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). Not returned if `summaryOnly = true`
	Repositories []string `pulumi:"repositories"`
	// List of team repositories (list of `repoId` and `roleName`). Not returned if `summaryOnly = true`
	RepositoriesDetaileds []GetTeamRepositoriesDetailed `pulumi:"repositoriesDetaileds"`
	ResultsPerPage        *int                          `pulumi:"resultsPerPage"`
	Slug                  string                        `pulumi:"slug"`
	SummaryOnly           *bool                         `pulumi:"summaryOnly"`
}

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.LookupTeam(ctx, &github.LookupTeamArgs{
			Slug: "example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupTeamResultOutput

type LookupTeamResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTeam.

func (LookupTeamResultOutput) Description

func (o LookupTeamResultOutput) Description() pulumi.StringOutput

the team's description.

func (LookupTeamResultOutput) ElementType

func (LookupTeamResultOutput) ElementType() reflect.Type

func (LookupTeamResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupTeamResultOutput) Members

List of team members (list of GitHub usernames). Not returned if `summaryOnly = true`

func (LookupTeamResultOutput) MembershipType

func (o LookupTeamResultOutput) MembershipType() pulumi.StringPtrOutput

func (LookupTeamResultOutput) Name

the team's full name.

func (LookupTeamResultOutput) NodeId

the Node ID of the team.

func (LookupTeamResultOutput) Permission

the team's permission level.

func (LookupTeamResultOutput) Privacy

the team's privacy type.

func (LookupTeamResultOutput) Repositories

List of team repositories (list of repo names). Not returned if `summaryOnly = true`

func (LookupTeamResultOutput) RepositoriesDetaileds

List of team repositories (list of `repoId` and `roleName`). Not returned if `summaryOnly = true`

func (LookupTeamResultOutput) ResultsPerPage

func (o LookupTeamResultOutput) ResultsPerPage() pulumi.IntPtrOutput

func (LookupTeamResultOutput) Slug

func (LookupTeamResultOutput) SummaryOnly

func (LookupTeamResultOutput) ToLookupTeamResultOutput

func (o LookupTeamResultOutput) ToLookupTeamResultOutput() LookupTeamResultOutput

func (LookupTeamResultOutput) ToLookupTeamResultOutputWithContext

func (o LookupTeamResultOutput) ToLookupTeamResultOutputWithContext(ctx context.Context) LookupTeamResultOutput

type Membership

type Membership struct {
	pulumi.CustomResourceState

	// Defaults to `false`. If set to true,
	// when this resource is destroyed, the member will not be removed
	// from the organization. Instead, the member's role will be
	// downgraded to 'member'.
	DowngradeOnDestroy pulumi.BoolPtrOutput `pulumi:"downgradeOnDestroy"`
	Etag               pulumi.StringOutput  `pulumi:"etag"`
	// The role of the user within the organization.
	// Must be one of `member` or `admin`. Defaults to `member`.
	// `admin` role represents the `owner` role available via GitHub UI.
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Add a user to the organization
		_, err := github.NewMembership(ctx, "membershipForSomeUser", &github.MembershipArgs{
			Role:     pulumi.String("member"),
			Username: pulumi.String("SomeUser"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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 {
	// Defaults to `false`. If set to true,
	// when this resource is destroyed, the member will not be removed
	// from the organization. Instead, the member's role will be
	// downgraded to 'member'.
	DowngradeOnDestroy pulumi.BoolPtrInput
	// The role of the user within the organization.
	// Must be one of `member` or `admin`. Defaults to `member`.
	// `admin` role represents the `owner` role available via GitHub UI.
	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 (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 (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) DowngradeOnDestroy

func (o MembershipOutput) DowngradeOnDestroy() pulumi.BoolPtrOutput

Defaults to `false`. If set to true, when this resource is destroyed, the member will not be removed from the organization. Instead, the member's role will be downgraded to 'member'.

func (MembershipOutput) ElementType

func (MembershipOutput) ElementType() reflect.Type

func (MembershipOutput) Etag

func (MembershipOutput) Role

The role of the user within the organization. Must be one of `member` or `admin`. Defaults to `member`. `admin` role represents the `owner` role available via GitHub UI.

func (MembershipOutput) ToMembershipOutput

func (o MembershipOutput) ToMembershipOutput() MembershipOutput

func (MembershipOutput) ToMembershipOutputWithContext

func (o MembershipOutput) ToMembershipOutputWithContext(ctx context.Context) MembershipOutput

func (MembershipOutput) Username

func (o MembershipOutput) Username() pulumi.StringOutput

The user to add to the organization.

type MembershipState

type MembershipState struct {
	// Defaults to `false`. If set to true,
	// when this resource is destroyed, the member will not be removed
	// from the organization. Instead, the member's role will be
	// downgraded to 'member'.
	DowngradeOnDestroy pulumi.BoolPtrInput
	Etag               pulumi.StringPtrInput
	// The role of the user within the organization.
	// Must be one of `member` or `admin`. Defaults to `member`.
	// `admin` role represents the `owner` role available via GitHub UI.
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

## Import

GitHub organization block can be imported using a username, e.g.

```sh $ pulumi import github:index/organizationBlock:OrganizationBlock example someuser ```

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) Index

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 (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

func (OrganizationBlockOutput) ToOrganizationBlockOutput

func (o OrganizationBlockOutput) ToOrganizationBlockOutput() OrganizationBlockOutput

func (OrganizationBlockOutput) ToOrganizationBlockOutputWithContext

func (o OrganizationBlockOutput) ToOrganizationBlockOutputWithContext(ctx context.Context) OrganizationBlockOutput

func (OrganizationBlockOutput) Username

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 OrganizationCustomRole

type OrganizationCustomRole struct {
	pulumi.CustomResourceState

	// The system role from which the role inherits permissions. Can be one of: `read`, `triage`, `write`, or `maintain`.
	BaseRole pulumi.StringOutput `pulumi:"baseRole"`
	// The description for the custom role.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the custom role.
	Name pulumi.StringOutput `pulumi:"name"`
	// A list of additional permissions included in this role. Must have a minimum of 1 additional permission. The list of available permissions can be found using the [list repository fine-grained permissions for an organization](https://docs.github.com/en/enterprise-cloud@latest/rest/orgs/custom-roles?apiVersion=2022-11-28#list-repository-fine-grained-permissions-for-an-organization) API.
	Permissions pulumi.StringArrayOutput `pulumi:"permissions"`
}

This resource allows you to create and manage custom roles in a GitHub Organization for use in repositories.

> Note: Custom roles are currently only available in GitHub Enterprise Cloud.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.NewOrganizationCustomRole(ctx, "example", &github.OrganizationCustomRoleArgs{
			BaseRole:    pulumi.String("read"),
			Description: pulumi.String("Example custom role that uses the read role as its base"),
			Permissions: pulumi.StringArray{
				pulumi.String("add_assignee"),
				pulumi.String("add_label"),
				pulumi.String("bypass_branch_protection"),
				pulumi.String("close_issue"),
				pulumi.String("close_pull_request"),
				pulumi.String("mark_as_duplicate"),
				pulumi.String("create_tag"),
				pulumi.String("delete_issue"),
				pulumi.String("delete_tag"),
				pulumi.String("manage_deploy_keys"),
				pulumi.String("push_protected_branch"),
				pulumi.String("read_code_scanning"),
				pulumi.String("reopen_issue"),
				pulumi.String("reopen_pull_request"),
				pulumi.String("request_pr_review"),
				pulumi.String("resolve_dependabot_alerts"),
				pulumi.String("resolve_secret_scanning_alerts"),
				pulumi.String("view_secret_scanning_alerts"),
				pulumi.String("write_code_scanning"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Custom roles can be imported using the `id` of the role. The `id` of the custom role can be found using the [list custom roles in an organization](https://docs.github.com/en/enterprise-cloud@latest/rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization) API.

```sh $ pulumi import github:index/organizationCustomRole:OrganizationCustomRole example 1234 ```

func GetOrganizationCustomRole

func GetOrganizationCustomRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationCustomRoleState, opts ...pulumi.ResourceOption) (*OrganizationCustomRole, error)

GetOrganizationCustomRole gets an existing OrganizationCustomRole 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 NewOrganizationCustomRole

func NewOrganizationCustomRole(ctx *pulumi.Context,
	name string, args *OrganizationCustomRoleArgs, opts ...pulumi.ResourceOption) (*OrganizationCustomRole, error)

NewOrganizationCustomRole registers a new resource with the given unique name, arguments, and options.

func (*OrganizationCustomRole) ElementType

func (*OrganizationCustomRole) ElementType() reflect.Type

func (*OrganizationCustomRole) ToOrganizationCustomRoleOutput

func (i *OrganizationCustomRole) ToOrganizationCustomRoleOutput() OrganizationCustomRoleOutput

func (*OrganizationCustomRole) ToOrganizationCustomRoleOutputWithContext

func (i *OrganizationCustomRole) ToOrganizationCustomRoleOutputWithContext(ctx context.Context) OrganizationCustomRoleOutput

type OrganizationCustomRoleArgs

type OrganizationCustomRoleArgs struct {
	// The system role from which the role inherits permissions. Can be one of: `read`, `triage`, `write`, or `maintain`.
	BaseRole pulumi.StringInput
	// The description for the custom role.
	Description pulumi.StringPtrInput
	// The name of the custom role.
	Name pulumi.StringPtrInput
	// A list of additional permissions included in this role. Must have a minimum of 1 additional permission. The list of available permissions can be found using the [list repository fine-grained permissions for an organization](https://docs.github.com/en/enterprise-cloud@latest/rest/orgs/custom-roles?apiVersion=2022-11-28#list-repository-fine-grained-permissions-for-an-organization) API.
	Permissions pulumi.StringArrayInput
}

The set of arguments for constructing a OrganizationCustomRole resource.

func (OrganizationCustomRoleArgs) ElementType

func (OrganizationCustomRoleArgs) ElementType() reflect.Type

type OrganizationCustomRoleArray

type OrganizationCustomRoleArray []OrganizationCustomRoleInput

func (OrganizationCustomRoleArray) ElementType

func (OrganizationCustomRoleArray) ToOrganizationCustomRoleArrayOutput

func (i OrganizationCustomRoleArray) ToOrganizationCustomRoleArrayOutput() OrganizationCustomRoleArrayOutput

func (OrganizationCustomRoleArray) ToOrganizationCustomRoleArrayOutputWithContext

func (i OrganizationCustomRoleArray) ToOrganizationCustomRoleArrayOutputWithContext(ctx context.Context) OrganizationCustomRoleArrayOutput

type OrganizationCustomRoleArrayInput

type OrganizationCustomRoleArrayInput interface {
	pulumi.Input

	ToOrganizationCustomRoleArrayOutput() OrganizationCustomRoleArrayOutput
	ToOrganizationCustomRoleArrayOutputWithContext(context.Context) OrganizationCustomRoleArrayOutput
}

OrganizationCustomRoleArrayInput is an input type that accepts OrganizationCustomRoleArray and OrganizationCustomRoleArrayOutput values. You can construct a concrete instance of `OrganizationCustomRoleArrayInput` via:

OrganizationCustomRoleArray{ OrganizationCustomRoleArgs{...} }

type OrganizationCustomRoleArrayOutput

type OrganizationCustomRoleArrayOutput struct{ *pulumi.OutputState }

func (OrganizationCustomRoleArrayOutput) ElementType

func (OrganizationCustomRoleArrayOutput) Index

func (OrganizationCustomRoleArrayOutput) ToOrganizationCustomRoleArrayOutput

func (o OrganizationCustomRoleArrayOutput) ToOrganizationCustomRoleArrayOutput() OrganizationCustomRoleArrayOutput

func (OrganizationCustomRoleArrayOutput) ToOrganizationCustomRoleArrayOutputWithContext

func (o OrganizationCustomRoleArrayOutput) ToOrganizationCustomRoleArrayOutputWithContext(ctx context.Context) OrganizationCustomRoleArrayOutput

type OrganizationCustomRoleInput

type OrganizationCustomRoleInput interface {
	pulumi.Input

	ToOrganizationCustomRoleOutput() OrganizationCustomRoleOutput
	ToOrganizationCustomRoleOutputWithContext(ctx context.Context) OrganizationCustomRoleOutput
}

type OrganizationCustomRoleMap

type OrganizationCustomRoleMap map[string]OrganizationCustomRoleInput

func (OrganizationCustomRoleMap) ElementType

func (OrganizationCustomRoleMap) ElementType() reflect.Type

func (OrganizationCustomRoleMap) ToOrganizationCustomRoleMapOutput

func (i OrganizationCustomRoleMap) ToOrganizationCustomRoleMapOutput() OrganizationCustomRoleMapOutput

func (OrganizationCustomRoleMap) ToOrganizationCustomRoleMapOutputWithContext

func (i OrganizationCustomRoleMap) ToOrganizationCustomRoleMapOutputWithContext(ctx context.Context) OrganizationCustomRoleMapOutput

type OrganizationCustomRoleMapInput

type OrganizationCustomRoleMapInput interface {
	pulumi.Input

	ToOrganizationCustomRoleMapOutput() OrganizationCustomRoleMapOutput
	ToOrganizationCustomRoleMapOutputWithContext(context.Context) OrganizationCustomRoleMapOutput
}

OrganizationCustomRoleMapInput is an input type that accepts OrganizationCustomRoleMap and OrganizationCustomRoleMapOutput values. You can construct a concrete instance of `OrganizationCustomRoleMapInput` via:

OrganizationCustomRoleMap{ "key": OrganizationCustomRoleArgs{...} }

type OrganizationCustomRoleMapOutput

type OrganizationCustomRoleMapOutput struct{ *pulumi.OutputState }

func (OrganizationCustomRoleMapOutput) ElementType

func (OrganizationCustomRoleMapOutput) MapIndex

func (OrganizationCustomRoleMapOutput) ToOrganizationCustomRoleMapOutput

func (o OrganizationCustomRoleMapOutput) ToOrganizationCustomRoleMapOutput() OrganizationCustomRoleMapOutput

func (OrganizationCustomRoleMapOutput) ToOrganizationCustomRoleMapOutputWithContext

func (o OrganizationCustomRoleMapOutput) ToOrganizationCustomRoleMapOutputWithContext(ctx context.Context) OrganizationCustomRoleMapOutput

type OrganizationCustomRoleOutput

type OrganizationCustomRoleOutput struct{ *pulumi.OutputState }

func (OrganizationCustomRoleOutput) BaseRole

The system role from which the role inherits permissions. Can be one of: `read`, `triage`, `write`, or `maintain`.

func (OrganizationCustomRoleOutput) Description

The description for the custom role.

func (OrganizationCustomRoleOutput) ElementType

func (OrganizationCustomRoleOutput) Name

The name of the custom role.

func (OrganizationCustomRoleOutput) Permissions

A list of additional permissions included in this role. Must have a minimum of 1 additional permission. The list of available permissions can be found using the [list repository fine-grained permissions for an organization](https://docs.github.com/en/enterprise-cloud@latest/rest/orgs/custom-roles?apiVersion=2022-11-28#list-repository-fine-grained-permissions-for-an-organization) API.

func (OrganizationCustomRoleOutput) ToOrganizationCustomRoleOutput

func (o OrganizationCustomRoleOutput) ToOrganizationCustomRoleOutput() OrganizationCustomRoleOutput

func (OrganizationCustomRoleOutput) ToOrganizationCustomRoleOutputWithContext

func (o OrganizationCustomRoleOutput) ToOrganizationCustomRoleOutputWithContext(ctx context.Context) OrganizationCustomRoleOutput

type OrganizationCustomRoleState

type OrganizationCustomRoleState struct {
	// The system role from which the role inherits permissions. Can be one of: `read`, `triage`, `write`, or `maintain`.
	BaseRole pulumi.StringPtrInput
	// The description for the custom role.
	Description pulumi.StringPtrInput
	// The name of the custom role.
	Name pulumi.StringPtrInput
	// A list of additional permissions included in this role. Must have a minimum of 1 additional permission. The list of available permissions can be found using the [list repository fine-grained permissions for an organization](https://docs.github.com/en/enterprise-cloud@latest/rest/orgs/custom-roles?apiVersion=2022-11-28#list-repository-fine-grained-permissions-for-an-organization) API.
	Permissions pulumi.StringArrayInput
}

func (OrganizationCustomRoleState) ElementType

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

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) Index

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) MapIndex

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

The body of the project.

func (OrganizationProjectOutput) ElementType

func (OrganizationProjectOutput) ElementType() reflect.Type

func (OrganizationProjectOutput) Etag

func (OrganizationProjectOutput) Name

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

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 OrganizationRuleset

type OrganizationRuleset struct {
	pulumi.CustomResourceState

	// (Block List) The actors that can bypass the rules in this ruleset. (see below for nested schema)
	BypassActors OrganizationRulesetBypassActorArrayOutput `pulumi:"bypassActors"`
	// (Block List, Max: 1) Parameters for an organization ruleset condition. `refName` is required alongside one of `repositoryName` or `repositoryId`. (see below for nested schema)
	Conditions OrganizationRulesetConditionsPtrOutput `pulumi:"conditions"`
	// (String) Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.
	Enforcement pulumi.StringOutput `pulumi:"enforcement"`
	// (String)
	Etag pulumi.StringOutput `pulumi:"etag"`
	// (String) The name of the ruleset.
	Name pulumi.StringOutput `pulumi:"name"`
	// (String) GraphQL global node id for use with v4 API.
	NodeId pulumi.StringOutput `pulumi:"nodeId"`
	// (Block List, Min: 1, Max: 1) Rules within the ruleset. (see below for nested schema)
	Rules OrganizationRulesetRulesOutput `pulumi:"rules"`
	// (Number) GitHub ID for the ruleset.
	RulesetId pulumi.IntOutput `pulumi:"rulesetId"`
	// (String) Possible values are `branch` and `tag`.
	Target pulumi.StringOutput `pulumi:"target"`
}

Creates a GitHub organization ruleset.

This resource allows you to create and manage rulesets on the organization level. When applied, a new ruleset will be created. When destroyed, that ruleset will be removed.

## Import

GitHub Organization Rulesets can be imported using the GitHub ruleset ID e.g.

```sh $ pulumi import github:index/organizationRuleset:OrganizationRuleset example 12345` ```

func GetOrganizationRuleset

func GetOrganizationRuleset(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationRulesetState, opts ...pulumi.ResourceOption) (*OrganizationRuleset, error)

GetOrganizationRuleset gets an existing OrganizationRuleset 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 NewOrganizationRuleset

func NewOrganizationRuleset(ctx *pulumi.Context,
	name string, args *OrganizationRulesetArgs, opts ...pulumi.ResourceOption) (*OrganizationRuleset, error)

NewOrganizationRuleset registers a new resource with the given unique name, arguments, and options.

func (*OrganizationRuleset) ElementType

func (*OrganizationRuleset) ElementType() reflect.Type

func (*OrganizationRuleset) ToOrganizationRulesetOutput

func (i *OrganizationRuleset) ToOrganizationRulesetOutput() OrganizationRulesetOutput

func (*OrganizationRuleset) ToOrganizationRulesetOutputWithContext

func (i *OrganizationRuleset) ToOrganizationRulesetOutputWithContext(ctx context.Context) OrganizationRulesetOutput

type OrganizationRulesetArgs

type OrganizationRulesetArgs struct {
	// (Block List) The actors that can bypass the rules in this ruleset. (see below for nested schema)
	BypassActors OrganizationRulesetBypassActorArrayInput
	// (Block List, Max: 1) Parameters for an organization ruleset condition. `refName` is required alongside one of `repositoryName` or `repositoryId`. (see below for nested schema)
	Conditions OrganizationRulesetConditionsPtrInput
	// (String) Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.
	Enforcement pulumi.StringInput
	// (String) The name of the ruleset.
	Name pulumi.StringPtrInput
	// (Block List, Min: 1, Max: 1) Rules within the ruleset. (see below for nested schema)
	Rules OrganizationRulesetRulesInput
	// (String) Possible values are `branch` and `tag`.
	Target pulumi.StringInput
}

The set of arguments for constructing a OrganizationRuleset resource.

func (OrganizationRulesetArgs) ElementType

func (OrganizationRulesetArgs) ElementType() reflect.Type

type OrganizationRulesetArray

type OrganizationRulesetArray []OrganizationRulesetInput

func (OrganizationRulesetArray) ElementType

func (OrganizationRulesetArray) ElementType() reflect.Type

func (OrganizationRulesetArray) ToOrganizationRulesetArrayOutput

func (i OrganizationRulesetArray) ToOrganizationRulesetArrayOutput() OrganizationRulesetArrayOutput

func (OrganizationRulesetArray) ToOrganizationRulesetArrayOutputWithContext

func (i OrganizationRulesetArray) ToOrganizationRulesetArrayOutputWithContext(ctx context.Context) OrganizationRulesetArrayOutput

type OrganizationRulesetArrayInput

type OrganizationRulesetArrayInput interface {
	pulumi.Input

	ToOrganizationRulesetArrayOutput() OrganizationRulesetArrayOutput
	ToOrganizationRulesetArrayOutputWithContext(context.Context) OrganizationRulesetArrayOutput
}

OrganizationRulesetArrayInput is an input type that accepts OrganizationRulesetArray and OrganizationRulesetArrayOutput values. You can construct a concrete instance of `OrganizationRulesetArrayInput` via:

OrganizationRulesetArray{ OrganizationRulesetArgs{...} }

type OrganizationRulesetArrayOutput

type OrganizationRulesetArrayOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetArrayOutput) ElementType

func (OrganizationRulesetArrayOutput) Index

func (OrganizationRulesetArrayOutput) ToOrganizationRulesetArrayOutput

func (o OrganizationRulesetArrayOutput) ToOrganizationRulesetArrayOutput() OrganizationRulesetArrayOutput

func (OrganizationRulesetArrayOutput) ToOrganizationRulesetArrayOutputWithContext

func (o OrganizationRulesetArrayOutput) ToOrganizationRulesetArrayOutputWithContext(ctx context.Context) OrganizationRulesetArrayOutput

type OrganizationRulesetBypassActor

type OrganizationRulesetBypassActor struct {
	// (Number) The ID of the actor that can bypass a ruleset.
	ActorId int `pulumi:"actorId"`
	// The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
	ActorType string `pulumi:"actorType"`
	// (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.
	//
	// ~>Note: at the time of writing this, the following actor types correspond to the following actor IDs:
	BypassMode string `pulumi:"bypassMode"`
}

type OrganizationRulesetBypassActorArgs

type OrganizationRulesetBypassActorArgs struct {
	// (Number) The ID of the actor that can bypass a ruleset.
	ActorId pulumi.IntInput `pulumi:"actorId"`
	// The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
	ActorType pulumi.StringInput `pulumi:"actorType"`
	// (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.
	//
	// ~>Note: at the time of writing this, the following actor types correspond to the following actor IDs:
	BypassMode pulumi.StringInput `pulumi:"bypassMode"`
}

func (OrganizationRulesetBypassActorArgs) ElementType

func (OrganizationRulesetBypassActorArgs) ToOrganizationRulesetBypassActorOutput

func (i OrganizationRulesetBypassActorArgs) ToOrganizationRulesetBypassActorOutput() OrganizationRulesetBypassActorOutput

func (OrganizationRulesetBypassActorArgs) ToOrganizationRulesetBypassActorOutputWithContext

func (i OrganizationRulesetBypassActorArgs) ToOrganizationRulesetBypassActorOutputWithContext(ctx context.Context) OrganizationRulesetBypassActorOutput

type OrganizationRulesetBypassActorArray

type OrganizationRulesetBypassActorArray []OrganizationRulesetBypassActorInput

func (OrganizationRulesetBypassActorArray) ElementType

func (OrganizationRulesetBypassActorArray) ToOrganizationRulesetBypassActorArrayOutput

func (i OrganizationRulesetBypassActorArray) ToOrganizationRulesetBypassActorArrayOutput() OrganizationRulesetBypassActorArrayOutput

func (OrganizationRulesetBypassActorArray) ToOrganizationRulesetBypassActorArrayOutputWithContext

func (i OrganizationRulesetBypassActorArray) ToOrganizationRulesetBypassActorArrayOutputWithContext(ctx context.Context) OrganizationRulesetBypassActorArrayOutput

type OrganizationRulesetBypassActorArrayInput

type OrganizationRulesetBypassActorArrayInput interface {
	pulumi.Input

	ToOrganizationRulesetBypassActorArrayOutput() OrganizationRulesetBypassActorArrayOutput
	ToOrganizationRulesetBypassActorArrayOutputWithContext(context.Context) OrganizationRulesetBypassActorArrayOutput
}

OrganizationRulesetBypassActorArrayInput is an input type that accepts OrganizationRulesetBypassActorArray and OrganizationRulesetBypassActorArrayOutput values. You can construct a concrete instance of `OrganizationRulesetBypassActorArrayInput` via:

OrganizationRulesetBypassActorArray{ OrganizationRulesetBypassActorArgs{...} }

type OrganizationRulesetBypassActorArrayOutput

type OrganizationRulesetBypassActorArrayOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetBypassActorArrayOutput) ElementType

func (OrganizationRulesetBypassActorArrayOutput) Index

func (OrganizationRulesetBypassActorArrayOutput) ToOrganizationRulesetBypassActorArrayOutput

func (o OrganizationRulesetBypassActorArrayOutput) ToOrganizationRulesetBypassActorArrayOutput() OrganizationRulesetBypassActorArrayOutput

func (OrganizationRulesetBypassActorArrayOutput) ToOrganizationRulesetBypassActorArrayOutputWithContext

func (o OrganizationRulesetBypassActorArrayOutput) ToOrganizationRulesetBypassActorArrayOutputWithContext(ctx context.Context) OrganizationRulesetBypassActorArrayOutput

type OrganizationRulesetBypassActorInput

type OrganizationRulesetBypassActorInput interface {
	pulumi.Input

	ToOrganizationRulesetBypassActorOutput() OrganizationRulesetBypassActorOutput
	ToOrganizationRulesetBypassActorOutputWithContext(context.Context) OrganizationRulesetBypassActorOutput
}

OrganizationRulesetBypassActorInput is an input type that accepts OrganizationRulesetBypassActorArgs and OrganizationRulesetBypassActorOutput values. You can construct a concrete instance of `OrganizationRulesetBypassActorInput` via:

OrganizationRulesetBypassActorArgs{...}

type OrganizationRulesetBypassActorOutput

type OrganizationRulesetBypassActorOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetBypassActorOutput) ActorId

(Number) The ID of the actor that can bypass a ruleset.

func (OrganizationRulesetBypassActorOutput) ActorType

The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.

func (OrganizationRulesetBypassActorOutput) BypassMode

(String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.

~>Note: at the time of writing this, the following actor types correspond to the following actor IDs:

func (OrganizationRulesetBypassActorOutput) ElementType

func (OrganizationRulesetBypassActorOutput) ToOrganizationRulesetBypassActorOutput

func (o OrganizationRulesetBypassActorOutput) ToOrganizationRulesetBypassActorOutput() OrganizationRulesetBypassActorOutput

func (OrganizationRulesetBypassActorOutput) ToOrganizationRulesetBypassActorOutputWithContext

func (o OrganizationRulesetBypassActorOutput) ToOrganizationRulesetBypassActorOutputWithContext(ctx context.Context) OrganizationRulesetBypassActorOutput

type OrganizationRulesetConditions

type OrganizationRulesetConditions struct {
	// (Block List, Min: 1, Max: 1) (see below for nested schema)
	RefName OrganizationRulesetConditionsRefName `pulumi:"refName"`
	// The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with `repositoryName`.
	RepositoryIds []int `pulumi:"repositoryIds"`
	// Conflicts with `repositoryId`. (see below for nested schema)
	//
	// One of `repositoryId` and `repositoryName` must be set for the rule to target any repositories.
	RepositoryName *OrganizationRulesetConditionsRepositoryName `pulumi:"repositoryName"`
}

type OrganizationRulesetConditionsArgs

type OrganizationRulesetConditionsArgs struct {
	// (Block List, Min: 1, Max: 1) (see below for nested schema)
	RefName OrganizationRulesetConditionsRefNameInput `pulumi:"refName"`
	// The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with `repositoryName`.
	RepositoryIds pulumi.IntArrayInput `pulumi:"repositoryIds"`
	// Conflicts with `repositoryId`. (see below for nested schema)
	//
	// One of `repositoryId` and `repositoryName` must be set for the rule to target any repositories.
	RepositoryName OrganizationRulesetConditionsRepositoryNamePtrInput `pulumi:"repositoryName"`
}

func (OrganizationRulesetConditionsArgs) ElementType

func (OrganizationRulesetConditionsArgs) ToOrganizationRulesetConditionsOutput

func (i OrganizationRulesetConditionsArgs) ToOrganizationRulesetConditionsOutput() OrganizationRulesetConditionsOutput

func (OrganizationRulesetConditionsArgs) ToOrganizationRulesetConditionsOutputWithContext

func (i OrganizationRulesetConditionsArgs) ToOrganizationRulesetConditionsOutputWithContext(ctx context.Context) OrganizationRulesetConditionsOutput

func (OrganizationRulesetConditionsArgs) ToOrganizationRulesetConditionsPtrOutput

func (i OrganizationRulesetConditionsArgs) ToOrganizationRulesetConditionsPtrOutput() OrganizationRulesetConditionsPtrOutput

func (OrganizationRulesetConditionsArgs) ToOrganizationRulesetConditionsPtrOutputWithContext

func (i OrganizationRulesetConditionsArgs) ToOrganizationRulesetConditionsPtrOutputWithContext(ctx context.Context) OrganizationRulesetConditionsPtrOutput

type OrganizationRulesetConditionsInput

type OrganizationRulesetConditionsInput interface {
	pulumi.Input

	ToOrganizationRulesetConditionsOutput() OrganizationRulesetConditionsOutput
	ToOrganizationRulesetConditionsOutputWithContext(context.Context) OrganizationRulesetConditionsOutput
}

OrganizationRulesetConditionsInput is an input type that accepts OrganizationRulesetConditionsArgs and OrganizationRulesetConditionsOutput values. You can construct a concrete instance of `OrganizationRulesetConditionsInput` via:

OrganizationRulesetConditionsArgs{...}

type OrganizationRulesetConditionsOutput

type OrganizationRulesetConditionsOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetConditionsOutput) ElementType

func (OrganizationRulesetConditionsOutput) RefName

(Block List, Min: 1, Max: 1) (see below for nested schema)

func (OrganizationRulesetConditionsOutput) RepositoryIds

The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with `repositoryName`.

func (OrganizationRulesetConditionsOutput) RepositoryName

Conflicts with `repositoryId`. (see below for nested schema)

One of `repositoryId` and `repositoryName` must be set for the rule to target any repositories.

func (OrganizationRulesetConditionsOutput) ToOrganizationRulesetConditionsOutput

func (o OrganizationRulesetConditionsOutput) ToOrganizationRulesetConditionsOutput() OrganizationRulesetConditionsOutput

func (OrganizationRulesetConditionsOutput) ToOrganizationRulesetConditionsOutputWithContext

func (o OrganizationRulesetConditionsOutput) ToOrganizationRulesetConditionsOutputWithContext(ctx context.Context) OrganizationRulesetConditionsOutput

func (OrganizationRulesetConditionsOutput) ToOrganizationRulesetConditionsPtrOutput

func (o OrganizationRulesetConditionsOutput) ToOrganizationRulesetConditionsPtrOutput() OrganizationRulesetConditionsPtrOutput

func (OrganizationRulesetConditionsOutput) ToOrganizationRulesetConditionsPtrOutputWithContext

func (o OrganizationRulesetConditionsOutput) ToOrganizationRulesetConditionsPtrOutputWithContext(ctx context.Context) OrganizationRulesetConditionsPtrOutput

type OrganizationRulesetConditionsPtrInput

type OrganizationRulesetConditionsPtrInput interface {
	pulumi.Input

	ToOrganizationRulesetConditionsPtrOutput() OrganizationRulesetConditionsPtrOutput
	ToOrganizationRulesetConditionsPtrOutputWithContext(context.Context) OrganizationRulesetConditionsPtrOutput
}

OrganizationRulesetConditionsPtrInput is an input type that accepts OrganizationRulesetConditionsArgs, OrganizationRulesetConditionsPtr and OrganizationRulesetConditionsPtrOutput values. You can construct a concrete instance of `OrganizationRulesetConditionsPtrInput` via:

        OrganizationRulesetConditionsArgs{...}

or:

        nil

type OrganizationRulesetConditionsPtrOutput

type OrganizationRulesetConditionsPtrOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetConditionsPtrOutput) Elem

func (OrganizationRulesetConditionsPtrOutput) ElementType

func (OrganizationRulesetConditionsPtrOutput) RefName

(Block List, Min: 1, Max: 1) (see below for nested schema)

func (OrganizationRulesetConditionsPtrOutput) RepositoryIds

The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with `repositoryName`.

func (OrganizationRulesetConditionsPtrOutput) RepositoryName

Conflicts with `repositoryId`. (see below for nested schema)

One of `repositoryId` and `repositoryName` must be set for the rule to target any repositories.

func (OrganizationRulesetConditionsPtrOutput) ToOrganizationRulesetConditionsPtrOutput

func (o OrganizationRulesetConditionsPtrOutput) ToOrganizationRulesetConditionsPtrOutput() OrganizationRulesetConditionsPtrOutput

func (OrganizationRulesetConditionsPtrOutput) ToOrganizationRulesetConditionsPtrOutputWithContext

func (o OrganizationRulesetConditionsPtrOutput) ToOrganizationRulesetConditionsPtrOutputWithContext(ctx context.Context) OrganizationRulesetConditionsPtrOutput

type OrganizationRulesetConditionsRefName

type OrganizationRulesetConditionsRefName struct {
	// (List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
	Excludes []string `pulumi:"excludes"`
	// (List of String) Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.
	Includes []string `pulumi:"includes"`
}

type OrganizationRulesetConditionsRefNameArgs

type OrganizationRulesetConditionsRefNameArgs struct {
	// (List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
	Excludes pulumi.StringArrayInput `pulumi:"excludes"`
	// (List of String) Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.
	Includes pulumi.StringArrayInput `pulumi:"includes"`
}

func (OrganizationRulesetConditionsRefNameArgs) ElementType

func (OrganizationRulesetConditionsRefNameArgs) ToOrganizationRulesetConditionsRefNameOutput

func (i OrganizationRulesetConditionsRefNameArgs) ToOrganizationRulesetConditionsRefNameOutput() OrganizationRulesetConditionsRefNameOutput

func (OrganizationRulesetConditionsRefNameArgs) ToOrganizationRulesetConditionsRefNameOutputWithContext

func (i OrganizationRulesetConditionsRefNameArgs) ToOrganizationRulesetConditionsRefNameOutputWithContext(ctx context.Context) OrganizationRulesetConditionsRefNameOutput

func (OrganizationRulesetConditionsRefNameArgs) ToOrganizationRulesetConditionsRefNamePtrOutput

func (i OrganizationRulesetConditionsRefNameArgs) ToOrganizationRulesetConditionsRefNamePtrOutput() OrganizationRulesetConditionsRefNamePtrOutput

func (OrganizationRulesetConditionsRefNameArgs) ToOrganizationRulesetConditionsRefNamePtrOutputWithContext

func (i OrganizationRulesetConditionsRefNameArgs) ToOrganizationRulesetConditionsRefNamePtrOutputWithContext(ctx context.Context) OrganizationRulesetConditionsRefNamePtrOutput

type OrganizationRulesetConditionsRefNameInput

type OrganizationRulesetConditionsRefNameInput interface {
	pulumi.Input

	ToOrganizationRulesetConditionsRefNameOutput() OrganizationRulesetConditionsRefNameOutput
	ToOrganizationRulesetConditionsRefNameOutputWithContext(context.Context) OrganizationRulesetConditionsRefNameOutput
}

OrganizationRulesetConditionsRefNameInput is an input type that accepts OrganizationRulesetConditionsRefNameArgs and OrganizationRulesetConditionsRefNameOutput values. You can construct a concrete instance of `OrganizationRulesetConditionsRefNameInput` via:

OrganizationRulesetConditionsRefNameArgs{...}

type OrganizationRulesetConditionsRefNameOutput

type OrganizationRulesetConditionsRefNameOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetConditionsRefNameOutput) ElementType

func (OrganizationRulesetConditionsRefNameOutput) Excludes

(List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.

func (OrganizationRulesetConditionsRefNameOutput) Includes

(List of String) Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.

func (OrganizationRulesetConditionsRefNameOutput) ToOrganizationRulesetConditionsRefNameOutput

func (o OrganizationRulesetConditionsRefNameOutput) ToOrganizationRulesetConditionsRefNameOutput() OrganizationRulesetConditionsRefNameOutput

func (OrganizationRulesetConditionsRefNameOutput) ToOrganizationRulesetConditionsRefNameOutputWithContext

func (o OrganizationRulesetConditionsRefNameOutput) ToOrganizationRulesetConditionsRefNameOutputWithContext(ctx context.Context) OrganizationRulesetConditionsRefNameOutput

func (OrganizationRulesetConditionsRefNameOutput) ToOrganizationRulesetConditionsRefNamePtrOutput

func (o OrganizationRulesetConditionsRefNameOutput) ToOrganizationRulesetConditionsRefNamePtrOutput() OrganizationRulesetConditionsRefNamePtrOutput

func (OrganizationRulesetConditionsRefNameOutput) ToOrganizationRulesetConditionsRefNamePtrOutputWithContext

func (o OrganizationRulesetConditionsRefNameOutput) ToOrganizationRulesetConditionsRefNamePtrOutputWithContext(ctx context.Context) OrganizationRulesetConditionsRefNamePtrOutput

type OrganizationRulesetConditionsRefNamePtrInput

type OrganizationRulesetConditionsRefNamePtrInput interface {
	pulumi.Input

	ToOrganizationRulesetConditionsRefNamePtrOutput() OrganizationRulesetConditionsRefNamePtrOutput
	ToOrganizationRulesetConditionsRefNamePtrOutputWithContext(context.Context) OrganizationRulesetConditionsRefNamePtrOutput
}

OrganizationRulesetConditionsRefNamePtrInput is an input type that accepts OrganizationRulesetConditionsRefNameArgs, OrganizationRulesetConditionsRefNamePtr and OrganizationRulesetConditionsRefNamePtrOutput values. You can construct a concrete instance of `OrganizationRulesetConditionsRefNamePtrInput` via:

        OrganizationRulesetConditionsRefNameArgs{...}

or:

        nil

type OrganizationRulesetConditionsRefNamePtrOutput

type OrganizationRulesetConditionsRefNamePtrOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetConditionsRefNamePtrOutput) Elem

func (OrganizationRulesetConditionsRefNamePtrOutput) ElementType

func (OrganizationRulesetConditionsRefNamePtrOutput) Excludes

(List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.

func (OrganizationRulesetConditionsRefNamePtrOutput) Includes

(List of String) Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.

func (OrganizationRulesetConditionsRefNamePtrOutput) ToOrganizationRulesetConditionsRefNamePtrOutput

func (o OrganizationRulesetConditionsRefNamePtrOutput) ToOrganizationRulesetConditionsRefNamePtrOutput() OrganizationRulesetConditionsRefNamePtrOutput

func (OrganizationRulesetConditionsRefNamePtrOutput) ToOrganizationRulesetConditionsRefNamePtrOutputWithContext

func (o OrganizationRulesetConditionsRefNamePtrOutput) ToOrganizationRulesetConditionsRefNamePtrOutputWithContext(ctx context.Context) OrganizationRulesetConditionsRefNamePtrOutput

type OrganizationRulesetConditionsRepositoryName

type OrganizationRulesetConditionsRepositoryName struct {
	// (List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
	Excludes []string `pulumi:"excludes"`
	// (List of String) Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.
	Includes []string `pulumi:"includes"`
	// Whether renaming of target repositories is prevented.
	Protected *bool `pulumi:"protected"`
}

type OrganizationRulesetConditionsRepositoryNameArgs

type OrganizationRulesetConditionsRepositoryNameArgs struct {
	// (List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
	Excludes pulumi.StringArrayInput `pulumi:"excludes"`
	// (List of String) Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.
	Includes pulumi.StringArrayInput `pulumi:"includes"`
	// Whether renaming of target repositories is prevented.
	Protected pulumi.BoolPtrInput `pulumi:"protected"`
}

func (OrganizationRulesetConditionsRepositoryNameArgs) ElementType

func (OrganizationRulesetConditionsRepositoryNameArgs) ToOrganizationRulesetConditionsRepositoryNameOutput

func (i OrganizationRulesetConditionsRepositoryNameArgs) ToOrganizationRulesetConditionsRepositoryNameOutput() OrganizationRulesetConditionsRepositoryNameOutput

func (OrganizationRulesetConditionsRepositoryNameArgs) ToOrganizationRulesetConditionsRepositoryNameOutputWithContext

func (i OrganizationRulesetConditionsRepositoryNameArgs) ToOrganizationRulesetConditionsRepositoryNameOutputWithContext(ctx context.Context) OrganizationRulesetConditionsRepositoryNameOutput

func (OrganizationRulesetConditionsRepositoryNameArgs) ToOrganizationRulesetConditionsRepositoryNamePtrOutput

func (i OrganizationRulesetConditionsRepositoryNameArgs) ToOrganizationRulesetConditionsRepositoryNamePtrOutput() OrganizationRulesetConditionsRepositoryNamePtrOutput

func (OrganizationRulesetConditionsRepositoryNameArgs) ToOrganizationRulesetConditionsRepositoryNamePtrOutputWithContext

func (i OrganizationRulesetConditionsRepositoryNameArgs) ToOrganizationRulesetConditionsRepositoryNamePtrOutputWithContext(ctx context.Context) OrganizationRulesetConditionsRepositoryNamePtrOutput

type OrganizationRulesetConditionsRepositoryNameInput

type OrganizationRulesetConditionsRepositoryNameInput interface {
	pulumi.Input

	ToOrganizationRulesetConditionsRepositoryNameOutput() OrganizationRulesetConditionsRepositoryNameOutput
	ToOrganizationRulesetConditionsRepositoryNameOutputWithContext(context.Context) OrganizationRulesetConditionsRepositoryNameOutput
}

OrganizationRulesetConditionsRepositoryNameInput is an input type that accepts OrganizationRulesetConditionsRepositoryNameArgs and OrganizationRulesetConditionsRepositoryNameOutput values. You can construct a concrete instance of `OrganizationRulesetConditionsRepositoryNameInput` via:

OrganizationRulesetConditionsRepositoryNameArgs{...}

type OrganizationRulesetConditionsRepositoryNameOutput

type OrganizationRulesetConditionsRepositoryNameOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetConditionsRepositoryNameOutput) ElementType

func (OrganizationRulesetConditionsRepositoryNameOutput) Excludes

(List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.

func (OrganizationRulesetConditionsRepositoryNameOutput) Includes

(List of String) Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.

func (OrganizationRulesetConditionsRepositoryNameOutput) Protected

Whether renaming of target repositories is prevented.

func (OrganizationRulesetConditionsRepositoryNameOutput) ToOrganizationRulesetConditionsRepositoryNameOutput

func (o OrganizationRulesetConditionsRepositoryNameOutput) ToOrganizationRulesetConditionsRepositoryNameOutput() OrganizationRulesetConditionsRepositoryNameOutput

func (OrganizationRulesetConditionsRepositoryNameOutput) ToOrganizationRulesetConditionsRepositoryNameOutputWithContext

func (o OrganizationRulesetConditionsRepositoryNameOutput) ToOrganizationRulesetConditionsRepositoryNameOutputWithContext(ctx context.Context) OrganizationRulesetConditionsRepositoryNameOutput

func (OrganizationRulesetConditionsRepositoryNameOutput) ToOrganizationRulesetConditionsRepositoryNamePtrOutput

func (o OrganizationRulesetConditionsRepositoryNameOutput) ToOrganizationRulesetConditionsRepositoryNamePtrOutput() OrganizationRulesetConditionsRepositoryNamePtrOutput

func (OrganizationRulesetConditionsRepositoryNameOutput) ToOrganizationRulesetConditionsRepositoryNamePtrOutputWithContext

func (o OrganizationRulesetConditionsRepositoryNameOutput) ToOrganizationRulesetConditionsRepositoryNamePtrOutputWithContext(ctx context.Context) OrganizationRulesetConditionsRepositoryNamePtrOutput

type OrganizationRulesetConditionsRepositoryNamePtrInput

type OrganizationRulesetConditionsRepositoryNamePtrInput interface {
	pulumi.Input

	ToOrganizationRulesetConditionsRepositoryNamePtrOutput() OrganizationRulesetConditionsRepositoryNamePtrOutput
	ToOrganizationRulesetConditionsRepositoryNamePtrOutputWithContext(context.Context) OrganizationRulesetConditionsRepositoryNamePtrOutput
}

OrganizationRulesetConditionsRepositoryNamePtrInput is an input type that accepts OrganizationRulesetConditionsRepositoryNameArgs, OrganizationRulesetConditionsRepositoryNamePtr and OrganizationRulesetConditionsRepositoryNamePtrOutput values. You can construct a concrete instance of `OrganizationRulesetConditionsRepositoryNamePtrInput` via:

        OrganizationRulesetConditionsRepositoryNameArgs{...}

or:

        nil

type OrganizationRulesetConditionsRepositoryNamePtrOutput

type OrganizationRulesetConditionsRepositoryNamePtrOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetConditionsRepositoryNamePtrOutput) Elem

func (OrganizationRulesetConditionsRepositoryNamePtrOutput) ElementType

func (OrganizationRulesetConditionsRepositoryNamePtrOutput) Excludes

(List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.

func (OrganizationRulesetConditionsRepositoryNamePtrOutput) Includes

(List of String) Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.

func (OrganizationRulesetConditionsRepositoryNamePtrOutput) Protected

Whether renaming of target repositories is prevented.

func (OrganizationRulesetConditionsRepositoryNamePtrOutput) ToOrganizationRulesetConditionsRepositoryNamePtrOutput

func (OrganizationRulesetConditionsRepositoryNamePtrOutput) ToOrganizationRulesetConditionsRepositoryNamePtrOutputWithContext

func (o OrganizationRulesetConditionsRepositoryNamePtrOutput) ToOrganizationRulesetConditionsRepositoryNamePtrOutputWithContext(ctx context.Context) OrganizationRulesetConditionsRepositoryNamePtrOutput

type OrganizationRulesetInput

type OrganizationRulesetInput interface {
	pulumi.Input

	ToOrganizationRulesetOutput() OrganizationRulesetOutput
	ToOrganizationRulesetOutputWithContext(ctx context.Context) OrganizationRulesetOutput
}

type OrganizationRulesetMap

type OrganizationRulesetMap map[string]OrganizationRulesetInput

func (OrganizationRulesetMap) ElementType

func (OrganizationRulesetMap) ElementType() reflect.Type

func (OrganizationRulesetMap) ToOrganizationRulesetMapOutput

func (i OrganizationRulesetMap) ToOrganizationRulesetMapOutput() OrganizationRulesetMapOutput

func (OrganizationRulesetMap) ToOrganizationRulesetMapOutputWithContext

func (i OrganizationRulesetMap) ToOrganizationRulesetMapOutputWithContext(ctx context.Context) OrganizationRulesetMapOutput

type OrganizationRulesetMapInput

type OrganizationRulesetMapInput interface {
	pulumi.Input

	ToOrganizationRulesetMapOutput() OrganizationRulesetMapOutput
	ToOrganizationRulesetMapOutputWithContext(context.Context) OrganizationRulesetMapOutput
}

OrganizationRulesetMapInput is an input type that accepts OrganizationRulesetMap and OrganizationRulesetMapOutput values. You can construct a concrete instance of `OrganizationRulesetMapInput` via:

OrganizationRulesetMap{ "key": OrganizationRulesetArgs{...} }

type OrganizationRulesetMapOutput

type OrganizationRulesetMapOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetMapOutput) ElementType

func (OrganizationRulesetMapOutput) MapIndex

func (OrganizationRulesetMapOutput) ToOrganizationRulesetMapOutput

func (o OrganizationRulesetMapOutput) ToOrganizationRulesetMapOutput() OrganizationRulesetMapOutput

func (OrganizationRulesetMapOutput) ToOrganizationRulesetMapOutputWithContext

func (o OrganizationRulesetMapOutput) ToOrganizationRulesetMapOutputWithContext(ctx context.Context) OrganizationRulesetMapOutput

type OrganizationRulesetOutput

type OrganizationRulesetOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetOutput) BypassActors

(Block List) The actors that can bypass the rules in this ruleset. (see below for nested schema)

func (OrganizationRulesetOutput) Conditions

(Block List, Max: 1) Parameters for an organization ruleset condition. `refName` is required alongside one of `repositoryName` or `repositoryId`. (see below for nested schema)

func (OrganizationRulesetOutput) ElementType

func (OrganizationRulesetOutput) ElementType() reflect.Type

func (OrganizationRulesetOutput) Enforcement

(String) Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.

func (OrganizationRulesetOutput) Etag

(String)

func (OrganizationRulesetOutput) Name

(String) The name of the ruleset.

func (OrganizationRulesetOutput) NodeId

(String) GraphQL global node id for use with v4 API.

func (OrganizationRulesetOutput) Rules

(Block List, Min: 1, Max: 1) Rules within the ruleset. (see below for nested schema)

func (OrganizationRulesetOutput) RulesetId

(Number) GitHub ID for the ruleset.

func (OrganizationRulesetOutput) Target

(String) Possible values are `branch` and `tag`.

func (OrganizationRulesetOutput) ToOrganizationRulesetOutput

func (o OrganizationRulesetOutput) ToOrganizationRulesetOutput() OrganizationRulesetOutput

func (OrganizationRulesetOutput) ToOrganizationRulesetOutputWithContext

func (o OrganizationRulesetOutput) ToOrganizationRulesetOutputWithContext(ctx context.Context) OrganizationRulesetOutput

type OrganizationRulesetRules

type OrganizationRulesetRules struct {
	// (Block List, Max: 1) Parameters to be used for the branchNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `tagNamePattern` as it only applies to rulesets with target `branch`. (see below for nested schema)
	BranchNamePattern *OrganizationRulesetRulesBranchNamePattern `pulumi:"branchNamePattern"`
	// (Block List, Max: 1) Parameters to be used for the commitAuthorEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)
	CommitAuthorEmailPattern *OrganizationRulesetRulesCommitAuthorEmailPattern `pulumi:"commitAuthorEmailPattern"`
	// (Block List, Max: 1) Parameters to be used for the commitMessagePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)
	CommitMessagePattern *OrganizationRulesetRulesCommitMessagePattern `pulumi:"commitMessagePattern"`
	// (Block List, Max: 1) Parameters to be used for the committerEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)
	CommitterEmailPattern *OrganizationRulesetRulesCommitterEmailPattern `pulumi:"committerEmailPattern"`
	// (Boolean) Only allow users with bypass permission to create matching refs.
	Creation *bool `pulumi:"creation"`
	// (Boolean) Only allow users with bypass permissions to delete matching refs.
	Deletion *bool `pulumi:"deletion"`
	// (Boolean) Prevent users with push access from force pushing to branches.
	NonFastForward *bool `pulumi:"nonFastForward"`
	// (Block List, Max: 1) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. (see below for nested schema)
	PullRequest *OrganizationRulesetRulesPullRequest `pulumi:"pullRequest"`
	// (Boolean) Prevent merge commits from being pushed to matching branches.
	RequiredLinearHistory *bool `pulumi:"requiredLinearHistory"`
	// (Boolean) Commits pushed to matching branches must have verified signatures.
	RequiredSignatures *bool `pulumi:"requiredSignatures"`
	// (Block List, Max: 1) Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed. (see below for nested schema)
	RequiredStatusChecks *OrganizationRulesetRulesRequiredStatusChecks `pulumi:"requiredStatusChecks"`
	// (Block List, Max: 1) Define which Actions workflows must pass before changes can be merged into a branch matching the rule. Multiple workflows can be specified. (see below for nested schema)
	RequiredWorkflows *OrganizationRulesetRulesRequiredWorkflows `pulumi:"requiredWorkflows"`
	// (Block List, Max: 1) Parameters to be used for the tagNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `branchNamePattern` as it only applies to rulesets with target `tag`. (see below for nested schema)
	TagNamePattern *OrganizationRulesetRulesTagNamePattern `pulumi:"tagNamePattern"`
	// (Boolean) Only allow users with bypass permission to update matching refs.
	Update *bool `pulumi:"update"`
}

type OrganizationRulesetRulesArgs

type OrganizationRulesetRulesArgs struct {
	// (Block List, Max: 1) Parameters to be used for the branchNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `tagNamePattern` as it only applies to rulesets with target `branch`. (see below for nested schema)
	BranchNamePattern OrganizationRulesetRulesBranchNamePatternPtrInput `pulumi:"branchNamePattern"`
	// (Block List, Max: 1) Parameters to be used for the commitAuthorEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)
	CommitAuthorEmailPattern OrganizationRulesetRulesCommitAuthorEmailPatternPtrInput `pulumi:"commitAuthorEmailPattern"`
	// (Block List, Max: 1) Parameters to be used for the commitMessagePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)
	CommitMessagePattern OrganizationRulesetRulesCommitMessagePatternPtrInput `pulumi:"commitMessagePattern"`
	// (Block List, Max: 1) Parameters to be used for the committerEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)
	CommitterEmailPattern OrganizationRulesetRulesCommitterEmailPatternPtrInput `pulumi:"committerEmailPattern"`
	// (Boolean) Only allow users with bypass permission to create matching refs.
	Creation pulumi.BoolPtrInput `pulumi:"creation"`
	// (Boolean) Only allow users with bypass permissions to delete matching refs.
	Deletion pulumi.BoolPtrInput `pulumi:"deletion"`
	// (Boolean) Prevent users with push access from force pushing to branches.
	NonFastForward pulumi.BoolPtrInput `pulumi:"nonFastForward"`
	// (Block List, Max: 1) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. (see below for nested schema)
	PullRequest OrganizationRulesetRulesPullRequestPtrInput `pulumi:"pullRequest"`
	// (Boolean) Prevent merge commits from being pushed to matching branches.
	RequiredLinearHistory pulumi.BoolPtrInput `pulumi:"requiredLinearHistory"`
	// (Boolean) Commits pushed to matching branches must have verified signatures.
	RequiredSignatures pulumi.BoolPtrInput `pulumi:"requiredSignatures"`
	// (Block List, Max: 1) Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed. (see below for nested schema)
	RequiredStatusChecks OrganizationRulesetRulesRequiredStatusChecksPtrInput `pulumi:"requiredStatusChecks"`
	// (Block List, Max: 1) Define which Actions workflows must pass before changes can be merged into a branch matching the rule. Multiple workflows can be specified. (see below for nested schema)
	RequiredWorkflows OrganizationRulesetRulesRequiredWorkflowsPtrInput `pulumi:"requiredWorkflows"`
	// (Block List, Max: 1) Parameters to be used for the tagNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `branchNamePattern` as it only applies to rulesets with target `tag`. (see below for nested schema)
	TagNamePattern OrganizationRulesetRulesTagNamePatternPtrInput `pulumi:"tagNamePattern"`
	// (Boolean) Only allow users with bypass permission to update matching refs.
	Update pulumi.BoolPtrInput `pulumi:"update"`
}

func (OrganizationRulesetRulesArgs) ElementType

func (OrganizationRulesetRulesArgs) ToOrganizationRulesetRulesOutput

func (i OrganizationRulesetRulesArgs) ToOrganizationRulesetRulesOutput() OrganizationRulesetRulesOutput

func (OrganizationRulesetRulesArgs) ToOrganizationRulesetRulesOutputWithContext

func (i OrganizationRulesetRulesArgs) ToOrganizationRulesetRulesOutputWithContext(ctx context.Context) OrganizationRulesetRulesOutput

func (OrganizationRulesetRulesArgs) ToOrganizationRulesetRulesPtrOutput

func (i OrganizationRulesetRulesArgs) ToOrganizationRulesetRulesPtrOutput() OrganizationRulesetRulesPtrOutput

func (OrganizationRulesetRulesArgs) ToOrganizationRulesetRulesPtrOutputWithContext

func (i OrganizationRulesetRulesArgs) ToOrganizationRulesetRulesPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesPtrOutput

type OrganizationRulesetRulesBranchNamePattern

type OrganizationRulesetRulesBranchNamePattern struct {
	// (String) The name of the ruleset.
	Name *string `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate *bool `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator string `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern string `pulumi:"pattern"`
}

type OrganizationRulesetRulesBranchNamePatternArgs

type OrganizationRulesetRulesBranchNamePatternArgs struct {
	// (String) The name of the ruleset.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate pulumi.BoolPtrInput `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern pulumi.StringInput `pulumi:"pattern"`
}

func (OrganizationRulesetRulesBranchNamePatternArgs) ElementType

func (OrganizationRulesetRulesBranchNamePatternArgs) ToOrganizationRulesetRulesBranchNamePatternOutput

func (i OrganizationRulesetRulesBranchNamePatternArgs) ToOrganizationRulesetRulesBranchNamePatternOutput() OrganizationRulesetRulesBranchNamePatternOutput

func (OrganizationRulesetRulesBranchNamePatternArgs) ToOrganizationRulesetRulesBranchNamePatternOutputWithContext

func (i OrganizationRulesetRulesBranchNamePatternArgs) ToOrganizationRulesetRulesBranchNamePatternOutputWithContext(ctx context.Context) OrganizationRulesetRulesBranchNamePatternOutput

func (OrganizationRulesetRulesBranchNamePatternArgs) ToOrganizationRulesetRulesBranchNamePatternPtrOutput

func (i OrganizationRulesetRulesBranchNamePatternArgs) ToOrganizationRulesetRulesBranchNamePatternPtrOutput() OrganizationRulesetRulesBranchNamePatternPtrOutput

func (OrganizationRulesetRulesBranchNamePatternArgs) ToOrganizationRulesetRulesBranchNamePatternPtrOutputWithContext

func (i OrganizationRulesetRulesBranchNamePatternArgs) ToOrganizationRulesetRulesBranchNamePatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesBranchNamePatternPtrOutput

type OrganizationRulesetRulesBranchNamePatternInput

type OrganizationRulesetRulesBranchNamePatternInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesBranchNamePatternOutput() OrganizationRulesetRulesBranchNamePatternOutput
	ToOrganizationRulesetRulesBranchNamePatternOutputWithContext(context.Context) OrganizationRulesetRulesBranchNamePatternOutput
}

OrganizationRulesetRulesBranchNamePatternInput is an input type that accepts OrganizationRulesetRulesBranchNamePatternArgs and OrganizationRulesetRulesBranchNamePatternOutput values. You can construct a concrete instance of `OrganizationRulesetRulesBranchNamePatternInput` via:

OrganizationRulesetRulesBranchNamePatternArgs{...}

type OrganizationRulesetRulesBranchNamePatternOutput

type OrganizationRulesetRulesBranchNamePatternOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesBranchNamePatternOutput) ElementType

func (OrganizationRulesetRulesBranchNamePatternOutput) Name

(String) The name of the ruleset.

func (OrganizationRulesetRulesBranchNamePatternOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (OrganizationRulesetRulesBranchNamePatternOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (OrganizationRulesetRulesBranchNamePatternOutput) Pattern

(String) The pattern to match with.

func (OrganizationRulesetRulesBranchNamePatternOutput) ToOrganizationRulesetRulesBranchNamePatternOutput

func (o OrganizationRulesetRulesBranchNamePatternOutput) ToOrganizationRulesetRulesBranchNamePatternOutput() OrganizationRulesetRulesBranchNamePatternOutput

func (OrganizationRulesetRulesBranchNamePatternOutput) ToOrganizationRulesetRulesBranchNamePatternOutputWithContext

func (o OrganizationRulesetRulesBranchNamePatternOutput) ToOrganizationRulesetRulesBranchNamePatternOutputWithContext(ctx context.Context) OrganizationRulesetRulesBranchNamePatternOutput

func (OrganizationRulesetRulesBranchNamePatternOutput) ToOrganizationRulesetRulesBranchNamePatternPtrOutput

func (o OrganizationRulesetRulesBranchNamePatternOutput) ToOrganizationRulesetRulesBranchNamePatternPtrOutput() OrganizationRulesetRulesBranchNamePatternPtrOutput

func (OrganizationRulesetRulesBranchNamePatternOutput) ToOrganizationRulesetRulesBranchNamePatternPtrOutputWithContext

func (o OrganizationRulesetRulesBranchNamePatternOutput) ToOrganizationRulesetRulesBranchNamePatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesBranchNamePatternPtrOutput

type OrganizationRulesetRulesBranchNamePatternPtrInput

type OrganizationRulesetRulesBranchNamePatternPtrInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesBranchNamePatternPtrOutput() OrganizationRulesetRulesBranchNamePatternPtrOutput
	ToOrganizationRulesetRulesBranchNamePatternPtrOutputWithContext(context.Context) OrganizationRulesetRulesBranchNamePatternPtrOutput
}

OrganizationRulesetRulesBranchNamePatternPtrInput is an input type that accepts OrganizationRulesetRulesBranchNamePatternArgs, OrganizationRulesetRulesBranchNamePatternPtr and OrganizationRulesetRulesBranchNamePatternPtrOutput values. You can construct a concrete instance of `OrganizationRulesetRulesBranchNamePatternPtrInput` via:

        OrganizationRulesetRulesBranchNamePatternArgs{...}

or:

        nil

type OrganizationRulesetRulesBranchNamePatternPtrOutput

type OrganizationRulesetRulesBranchNamePatternPtrOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesBranchNamePatternPtrOutput) Elem

func (OrganizationRulesetRulesBranchNamePatternPtrOutput) ElementType

func (OrganizationRulesetRulesBranchNamePatternPtrOutput) Name

(String) The name of the ruleset.

func (OrganizationRulesetRulesBranchNamePatternPtrOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (OrganizationRulesetRulesBranchNamePatternPtrOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (OrganizationRulesetRulesBranchNamePatternPtrOutput) Pattern

(String) The pattern to match with.

func (OrganizationRulesetRulesBranchNamePatternPtrOutput) ToOrganizationRulesetRulesBranchNamePatternPtrOutput

func (o OrganizationRulesetRulesBranchNamePatternPtrOutput) ToOrganizationRulesetRulesBranchNamePatternPtrOutput() OrganizationRulesetRulesBranchNamePatternPtrOutput

func (OrganizationRulesetRulesBranchNamePatternPtrOutput) ToOrganizationRulesetRulesBranchNamePatternPtrOutputWithContext

func (o OrganizationRulesetRulesBranchNamePatternPtrOutput) ToOrganizationRulesetRulesBranchNamePatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesBranchNamePatternPtrOutput

type OrganizationRulesetRulesCommitAuthorEmailPattern

type OrganizationRulesetRulesCommitAuthorEmailPattern struct {
	// (String) The name of the ruleset.
	Name *string `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate *bool `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator string `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern string `pulumi:"pattern"`
}

type OrganizationRulesetRulesCommitAuthorEmailPatternArgs

type OrganizationRulesetRulesCommitAuthorEmailPatternArgs struct {
	// (String) The name of the ruleset.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate pulumi.BoolPtrInput `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern pulumi.StringInput `pulumi:"pattern"`
}

func (OrganizationRulesetRulesCommitAuthorEmailPatternArgs) ElementType

func (OrganizationRulesetRulesCommitAuthorEmailPatternArgs) ToOrganizationRulesetRulesCommitAuthorEmailPatternOutput

func (i OrganizationRulesetRulesCommitAuthorEmailPatternArgs) ToOrganizationRulesetRulesCommitAuthorEmailPatternOutput() OrganizationRulesetRulesCommitAuthorEmailPatternOutput

func (OrganizationRulesetRulesCommitAuthorEmailPatternArgs) ToOrganizationRulesetRulesCommitAuthorEmailPatternOutputWithContext

func (i OrganizationRulesetRulesCommitAuthorEmailPatternArgs) ToOrganizationRulesetRulesCommitAuthorEmailPatternOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitAuthorEmailPatternOutput

func (OrganizationRulesetRulesCommitAuthorEmailPatternArgs) ToOrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput

func (i OrganizationRulesetRulesCommitAuthorEmailPatternArgs) ToOrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput() OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput

func (OrganizationRulesetRulesCommitAuthorEmailPatternArgs) ToOrganizationRulesetRulesCommitAuthorEmailPatternPtrOutputWithContext

func (i OrganizationRulesetRulesCommitAuthorEmailPatternArgs) ToOrganizationRulesetRulesCommitAuthorEmailPatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput

type OrganizationRulesetRulesCommitAuthorEmailPatternInput

type OrganizationRulesetRulesCommitAuthorEmailPatternInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesCommitAuthorEmailPatternOutput() OrganizationRulesetRulesCommitAuthorEmailPatternOutput
	ToOrganizationRulesetRulesCommitAuthorEmailPatternOutputWithContext(context.Context) OrganizationRulesetRulesCommitAuthorEmailPatternOutput
}

OrganizationRulesetRulesCommitAuthorEmailPatternInput is an input type that accepts OrganizationRulesetRulesCommitAuthorEmailPatternArgs and OrganizationRulesetRulesCommitAuthorEmailPatternOutput values. You can construct a concrete instance of `OrganizationRulesetRulesCommitAuthorEmailPatternInput` via:

OrganizationRulesetRulesCommitAuthorEmailPatternArgs{...}

type OrganizationRulesetRulesCommitAuthorEmailPatternOutput

type OrganizationRulesetRulesCommitAuthorEmailPatternOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesCommitAuthorEmailPatternOutput) ElementType

func (OrganizationRulesetRulesCommitAuthorEmailPatternOutput) Name

(String) The name of the ruleset.

func (OrganizationRulesetRulesCommitAuthorEmailPatternOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (OrganizationRulesetRulesCommitAuthorEmailPatternOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (OrganizationRulesetRulesCommitAuthorEmailPatternOutput) Pattern

(String) The pattern to match with.

func (OrganizationRulesetRulesCommitAuthorEmailPatternOutput) ToOrganizationRulesetRulesCommitAuthorEmailPatternOutput

func (OrganizationRulesetRulesCommitAuthorEmailPatternOutput) ToOrganizationRulesetRulesCommitAuthorEmailPatternOutputWithContext

func (o OrganizationRulesetRulesCommitAuthorEmailPatternOutput) ToOrganizationRulesetRulesCommitAuthorEmailPatternOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitAuthorEmailPatternOutput

func (OrganizationRulesetRulesCommitAuthorEmailPatternOutput) ToOrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput

func (o OrganizationRulesetRulesCommitAuthorEmailPatternOutput) ToOrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput() OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput

func (OrganizationRulesetRulesCommitAuthorEmailPatternOutput) ToOrganizationRulesetRulesCommitAuthorEmailPatternPtrOutputWithContext

func (o OrganizationRulesetRulesCommitAuthorEmailPatternOutput) ToOrganizationRulesetRulesCommitAuthorEmailPatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput

type OrganizationRulesetRulesCommitAuthorEmailPatternPtrInput

type OrganizationRulesetRulesCommitAuthorEmailPatternPtrInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput() OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput
	ToOrganizationRulesetRulesCommitAuthorEmailPatternPtrOutputWithContext(context.Context) OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput
}

OrganizationRulesetRulesCommitAuthorEmailPatternPtrInput is an input type that accepts OrganizationRulesetRulesCommitAuthorEmailPatternArgs, OrganizationRulesetRulesCommitAuthorEmailPatternPtr and OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput values. You can construct a concrete instance of `OrganizationRulesetRulesCommitAuthorEmailPatternPtrInput` via:

        OrganizationRulesetRulesCommitAuthorEmailPatternArgs{...}

or:

        nil

type OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput

type OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput) Elem

func (OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput) ElementType

func (OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput) Name

(String) The name of the ruleset.

func (OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput) Pattern

(String) The pattern to match with.

func (OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput) ToOrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput

func (OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput) ToOrganizationRulesetRulesCommitAuthorEmailPatternPtrOutputWithContext

func (o OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput) ToOrganizationRulesetRulesCommitAuthorEmailPatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitAuthorEmailPatternPtrOutput

type OrganizationRulesetRulesCommitMessagePattern

type OrganizationRulesetRulesCommitMessagePattern struct {
	// (String) The name of the ruleset.
	Name *string `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate *bool `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator string `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern string `pulumi:"pattern"`
}

type OrganizationRulesetRulesCommitMessagePatternArgs

type OrganizationRulesetRulesCommitMessagePatternArgs struct {
	// (String) The name of the ruleset.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate pulumi.BoolPtrInput `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern pulumi.StringInput `pulumi:"pattern"`
}

func (OrganizationRulesetRulesCommitMessagePatternArgs) ElementType

func (OrganizationRulesetRulesCommitMessagePatternArgs) ToOrganizationRulesetRulesCommitMessagePatternOutput

func (i OrganizationRulesetRulesCommitMessagePatternArgs) ToOrganizationRulesetRulesCommitMessagePatternOutput() OrganizationRulesetRulesCommitMessagePatternOutput

func (OrganizationRulesetRulesCommitMessagePatternArgs) ToOrganizationRulesetRulesCommitMessagePatternOutputWithContext

func (i OrganizationRulesetRulesCommitMessagePatternArgs) ToOrganizationRulesetRulesCommitMessagePatternOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitMessagePatternOutput

func (OrganizationRulesetRulesCommitMessagePatternArgs) ToOrganizationRulesetRulesCommitMessagePatternPtrOutput

func (i OrganizationRulesetRulesCommitMessagePatternArgs) ToOrganizationRulesetRulesCommitMessagePatternPtrOutput() OrganizationRulesetRulesCommitMessagePatternPtrOutput

func (OrganizationRulesetRulesCommitMessagePatternArgs) ToOrganizationRulesetRulesCommitMessagePatternPtrOutputWithContext

func (i OrganizationRulesetRulesCommitMessagePatternArgs) ToOrganizationRulesetRulesCommitMessagePatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitMessagePatternPtrOutput

type OrganizationRulesetRulesCommitMessagePatternInput

type OrganizationRulesetRulesCommitMessagePatternInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesCommitMessagePatternOutput() OrganizationRulesetRulesCommitMessagePatternOutput
	ToOrganizationRulesetRulesCommitMessagePatternOutputWithContext(context.Context) OrganizationRulesetRulesCommitMessagePatternOutput
}

OrganizationRulesetRulesCommitMessagePatternInput is an input type that accepts OrganizationRulesetRulesCommitMessagePatternArgs and OrganizationRulesetRulesCommitMessagePatternOutput values. You can construct a concrete instance of `OrganizationRulesetRulesCommitMessagePatternInput` via:

OrganizationRulesetRulesCommitMessagePatternArgs{...}

type OrganizationRulesetRulesCommitMessagePatternOutput

type OrganizationRulesetRulesCommitMessagePatternOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesCommitMessagePatternOutput) ElementType

func (OrganizationRulesetRulesCommitMessagePatternOutput) Name

(String) The name of the ruleset.

func (OrganizationRulesetRulesCommitMessagePatternOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (OrganizationRulesetRulesCommitMessagePatternOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (OrganizationRulesetRulesCommitMessagePatternOutput) Pattern

(String) The pattern to match with.

func (OrganizationRulesetRulesCommitMessagePatternOutput) ToOrganizationRulesetRulesCommitMessagePatternOutput

func (o OrganizationRulesetRulesCommitMessagePatternOutput) ToOrganizationRulesetRulesCommitMessagePatternOutput() OrganizationRulesetRulesCommitMessagePatternOutput

func (OrganizationRulesetRulesCommitMessagePatternOutput) ToOrganizationRulesetRulesCommitMessagePatternOutputWithContext

func (o OrganizationRulesetRulesCommitMessagePatternOutput) ToOrganizationRulesetRulesCommitMessagePatternOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitMessagePatternOutput

func (OrganizationRulesetRulesCommitMessagePatternOutput) ToOrganizationRulesetRulesCommitMessagePatternPtrOutput

func (o OrganizationRulesetRulesCommitMessagePatternOutput) ToOrganizationRulesetRulesCommitMessagePatternPtrOutput() OrganizationRulesetRulesCommitMessagePatternPtrOutput

func (OrganizationRulesetRulesCommitMessagePatternOutput) ToOrganizationRulesetRulesCommitMessagePatternPtrOutputWithContext

func (o OrganizationRulesetRulesCommitMessagePatternOutput) ToOrganizationRulesetRulesCommitMessagePatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitMessagePatternPtrOutput

type OrganizationRulesetRulesCommitMessagePatternPtrInput

type OrganizationRulesetRulesCommitMessagePatternPtrInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesCommitMessagePatternPtrOutput() OrganizationRulesetRulesCommitMessagePatternPtrOutput
	ToOrganizationRulesetRulesCommitMessagePatternPtrOutputWithContext(context.Context) OrganizationRulesetRulesCommitMessagePatternPtrOutput
}

OrganizationRulesetRulesCommitMessagePatternPtrInput is an input type that accepts OrganizationRulesetRulesCommitMessagePatternArgs, OrganizationRulesetRulesCommitMessagePatternPtr and OrganizationRulesetRulesCommitMessagePatternPtrOutput values. You can construct a concrete instance of `OrganizationRulesetRulesCommitMessagePatternPtrInput` via:

        OrganizationRulesetRulesCommitMessagePatternArgs{...}

or:

        nil

type OrganizationRulesetRulesCommitMessagePatternPtrOutput

type OrganizationRulesetRulesCommitMessagePatternPtrOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesCommitMessagePatternPtrOutput) Elem

func (OrganizationRulesetRulesCommitMessagePatternPtrOutput) ElementType

func (OrganizationRulesetRulesCommitMessagePatternPtrOutput) Name

(String) The name of the ruleset.

func (OrganizationRulesetRulesCommitMessagePatternPtrOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (OrganizationRulesetRulesCommitMessagePatternPtrOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (OrganizationRulesetRulesCommitMessagePatternPtrOutput) Pattern

(String) The pattern to match with.

func (OrganizationRulesetRulesCommitMessagePatternPtrOutput) ToOrganizationRulesetRulesCommitMessagePatternPtrOutput

func (OrganizationRulesetRulesCommitMessagePatternPtrOutput) ToOrganizationRulesetRulesCommitMessagePatternPtrOutputWithContext

func (o OrganizationRulesetRulesCommitMessagePatternPtrOutput) ToOrganizationRulesetRulesCommitMessagePatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitMessagePatternPtrOutput

type OrganizationRulesetRulesCommitterEmailPattern

type OrganizationRulesetRulesCommitterEmailPattern struct {
	// (String) The name of the ruleset.
	Name *string `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate *bool `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator string `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern string `pulumi:"pattern"`
}

type OrganizationRulesetRulesCommitterEmailPatternArgs

type OrganizationRulesetRulesCommitterEmailPatternArgs struct {
	// (String) The name of the ruleset.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate pulumi.BoolPtrInput `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern pulumi.StringInput `pulumi:"pattern"`
}

func (OrganizationRulesetRulesCommitterEmailPatternArgs) ElementType

func (OrganizationRulesetRulesCommitterEmailPatternArgs) ToOrganizationRulesetRulesCommitterEmailPatternOutput

func (i OrganizationRulesetRulesCommitterEmailPatternArgs) ToOrganizationRulesetRulesCommitterEmailPatternOutput() OrganizationRulesetRulesCommitterEmailPatternOutput

func (OrganizationRulesetRulesCommitterEmailPatternArgs) ToOrganizationRulesetRulesCommitterEmailPatternOutputWithContext

func (i OrganizationRulesetRulesCommitterEmailPatternArgs) ToOrganizationRulesetRulesCommitterEmailPatternOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitterEmailPatternOutput

func (OrganizationRulesetRulesCommitterEmailPatternArgs) ToOrganizationRulesetRulesCommitterEmailPatternPtrOutput

func (i OrganizationRulesetRulesCommitterEmailPatternArgs) ToOrganizationRulesetRulesCommitterEmailPatternPtrOutput() OrganizationRulesetRulesCommitterEmailPatternPtrOutput

func (OrganizationRulesetRulesCommitterEmailPatternArgs) ToOrganizationRulesetRulesCommitterEmailPatternPtrOutputWithContext

func (i OrganizationRulesetRulesCommitterEmailPatternArgs) ToOrganizationRulesetRulesCommitterEmailPatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitterEmailPatternPtrOutput

type OrganizationRulesetRulesCommitterEmailPatternInput

type OrganizationRulesetRulesCommitterEmailPatternInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesCommitterEmailPatternOutput() OrganizationRulesetRulesCommitterEmailPatternOutput
	ToOrganizationRulesetRulesCommitterEmailPatternOutputWithContext(context.Context) OrganizationRulesetRulesCommitterEmailPatternOutput
}

OrganizationRulesetRulesCommitterEmailPatternInput is an input type that accepts OrganizationRulesetRulesCommitterEmailPatternArgs and OrganizationRulesetRulesCommitterEmailPatternOutput values. You can construct a concrete instance of `OrganizationRulesetRulesCommitterEmailPatternInput` via:

OrganizationRulesetRulesCommitterEmailPatternArgs{...}

type OrganizationRulesetRulesCommitterEmailPatternOutput

type OrganizationRulesetRulesCommitterEmailPatternOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesCommitterEmailPatternOutput) ElementType

func (OrganizationRulesetRulesCommitterEmailPatternOutput) Name

(String) The name of the ruleset.

func (OrganizationRulesetRulesCommitterEmailPatternOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (OrganizationRulesetRulesCommitterEmailPatternOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (OrganizationRulesetRulesCommitterEmailPatternOutput) Pattern

(String) The pattern to match with.

func (OrganizationRulesetRulesCommitterEmailPatternOutput) ToOrganizationRulesetRulesCommitterEmailPatternOutput

func (o OrganizationRulesetRulesCommitterEmailPatternOutput) ToOrganizationRulesetRulesCommitterEmailPatternOutput() OrganizationRulesetRulesCommitterEmailPatternOutput

func (OrganizationRulesetRulesCommitterEmailPatternOutput) ToOrganizationRulesetRulesCommitterEmailPatternOutputWithContext

func (o OrganizationRulesetRulesCommitterEmailPatternOutput) ToOrganizationRulesetRulesCommitterEmailPatternOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitterEmailPatternOutput

func (OrganizationRulesetRulesCommitterEmailPatternOutput) ToOrganizationRulesetRulesCommitterEmailPatternPtrOutput

func (o OrganizationRulesetRulesCommitterEmailPatternOutput) ToOrganizationRulesetRulesCommitterEmailPatternPtrOutput() OrganizationRulesetRulesCommitterEmailPatternPtrOutput

func (OrganizationRulesetRulesCommitterEmailPatternOutput) ToOrganizationRulesetRulesCommitterEmailPatternPtrOutputWithContext

func (o OrganizationRulesetRulesCommitterEmailPatternOutput) ToOrganizationRulesetRulesCommitterEmailPatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitterEmailPatternPtrOutput

type OrganizationRulesetRulesCommitterEmailPatternPtrInput

type OrganizationRulesetRulesCommitterEmailPatternPtrInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesCommitterEmailPatternPtrOutput() OrganizationRulesetRulesCommitterEmailPatternPtrOutput
	ToOrganizationRulesetRulesCommitterEmailPatternPtrOutputWithContext(context.Context) OrganizationRulesetRulesCommitterEmailPatternPtrOutput
}

OrganizationRulesetRulesCommitterEmailPatternPtrInput is an input type that accepts OrganizationRulesetRulesCommitterEmailPatternArgs, OrganizationRulesetRulesCommitterEmailPatternPtr and OrganizationRulesetRulesCommitterEmailPatternPtrOutput values. You can construct a concrete instance of `OrganizationRulesetRulesCommitterEmailPatternPtrInput` via:

        OrganizationRulesetRulesCommitterEmailPatternArgs{...}

or:

        nil

type OrganizationRulesetRulesCommitterEmailPatternPtrOutput

type OrganizationRulesetRulesCommitterEmailPatternPtrOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesCommitterEmailPatternPtrOutput) Elem

func (OrganizationRulesetRulesCommitterEmailPatternPtrOutput) ElementType

func (OrganizationRulesetRulesCommitterEmailPatternPtrOutput) Name

(String) The name of the ruleset.

func (OrganizationRulesetRulesCommitterEmailPatternPtrOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (OrganizationRulesetRulesCommitterEmailPatternPtrOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (OrganizationRulesetRulesCommitterEmailPatternPtrOutput) Pattern

(String) The pattern to match with.

func (OrganizationRulesetRulesCommitterEmailPatternPtrOutput) ToOrganizationRulesetRulesCommitterEmailPatternPtrOutput

func (OrganizationRulesetRulesCommitterEmailPatternPtrOutput) ToOrganizationRulesetRulesCommitterEmailPatternPtrOutputWithContext

func (o OrganizationRulesetRulesCommitterEmailPatternPtrOutput) ToOrganizationRulesetRulesCommitterEmailPatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesCommitterEmailPatternPtrOutput

type OrganizationRulesetRulesInput

type OrganizationRulesetRulesInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesOutput() OrganizationRulesetRulesOutput
	ToOrganizationRulesetRulesOutputWithContext(context.Context) OrganizationRulesetRulesOutput
}

OrganizationRulesetRulesInput is an input type that accepts OrganizationRulesetRulesArgs and OrganizationRulesetRulesOutput values. You can construct a concrete instance of `OrganizationRulesetRulesInput` via:

OrganizationRulesetRulesArgs{...}

type OrganizationRulesetRulesOutput

type OrganizationRulesetRulesOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesOutput) BranchNamePattern

(Block List, Max: 1) Parameters to be used for the branchNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `tagNamePattern` as it only applies to rulesets with target `branch`. (see below for nested schema)

func (OrganizationRulesetRulesOutput) CommitAuthorEmailPattern

(Block List, Max: 1) Parameters to be used for the commitAuthorEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

func (OrganizationRulesetRulesOutput) CommitMessagePattern

(Block List, Max: 1) Parameters to be used for the commitMessagePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

func (OrganizationRulesetRulesOutput) CommitterEmailPattern

(Block List, Max: 1) Parameters to be used for the committerEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

func (OrganizationRulesetRulesOutput) Creation

(Boolean) Only allow users with bypass permission to create matching refs.

func (OrganizationRulesetRulesOutput) Deletion

(Boolean) Only allow users with bypass permissions to delete matching refs.

func (OrganizationRulesetRulesOutput) ElementType

func (OrganizationRulesetRulesOutput) NonFastForward

(Boolean) Prevent users with push access from force pushing to branches.

func (OrganizationRulesetRulesOutput) PullRequest

(Block List, Max: 1) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. (see below for nested schema)

func (OrganizationRulesetRulesOutput) RequiredLinearHistory

func (o OrganizationRulesetRulesOutput) RequiredLinearHistory() pulumi.BoolPtrOutput

(Boolean) Prevent merge commits from being pushed to matching branches.

func (OrganizationRulesetRulesOutput) RequiredSignatures

func (o OrganizationRulesetRulesOutput) RequiredSignatures() pulumi.BoolPtrOutput

(Boolean) Commits pushed to matching branches must have verified signatures.

func (OrganizationRulesetRulesOutput) RequiredStatusChecks

(Block List, Max: 1) Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed. (see below for nested schema)

func (OrganizationRulesetRulesOutput) RequiredWorkflows

(Block List, Max: 1) Define which Actions workflows must pass before changes can be merged into a branch matching the rule. Multiple workflows can be specified. (see below for nested schema)

func (OrganizationRulesetRulesOutput) TagNamePattern

(Block List, Max: 1) Parameters to be used for the tagNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `branchNamePattern` as it only applies to rulesets with target `tag`. (see below for nested schema)

func (OrganizationRulesetRulesOutput) ToOrganizationRulesetRulesOutput

func (o OrganizationRulesetRulesOutput) ToOrganizationRulesetRulesOutput() OrganizationRulesetRulesOutput

func (OrganizationRulesetRulesOutput) ToOrganizationRulesetRulesOutputWithContext

func (o OrganizationRulesetRulesOutput) ToOrganizationRulesetRulesOutputWithContext(ctx context.Context) OrganizationRulesetRulesOutput

func (OrganizationRulesetRulesOutput) ToOrganizationRulesetRulesPtrOutput

func (o OrganizationRulesetRulesOutput) ToOrganizationRulesetRulesPtrOutput() OrganizationRulesetRulesPtrOutput

func (OrganizationRulesetRulesOutput) ToOrganizationRulesetRulesPtrOutputWithContext

func (o OrganizationRulesetRulesOutput) ToOrganizationRulesetRulesPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesPtrOutput

func (OrganizationRulesetRulesOutput) Update

(Boolean) Only allow users with bypass permission to update matching refs.

type OrganizationRulesetRulesPtrInput

type OrganizationRulesetRulesPtrInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesPtrOutput() OrganizationRulesetRulesPtrOutput
	ToOrganizationRulesetRulesPtrOutputWithContext(context.Context) OrganizationRulesetRulesPtrOutput
}

OrganizationRulesetRulesPtrInput is an input type that accepts OrganizationRulesetRulesArgs, OrganizationRulesetRulesPtr and OrganizationRulesetRulesPtrOutput values. You can construct a concrete instance of `OrganizationRulesetRulesPtrInput` via:

        OrganizationRulesetRulesArgs{...}

or:

        nil

type OrganizationRulesetRulesPtrOutput

type OrganizationRulesetRulesPtrOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesPtrOutput) BranchNamePattern

(Block List, Max: 1) Parameters to be used for the branchNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `tagNamePattern` as it only applies to rulesets with target `branch`. (see below for nested schema)

func (OrganizationRulesetRulesPtrOutput) CommitAuthorEmailPattern

(Block List, Max: 1) Parameters to be used for the commitAuthorEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

func (OrganizationRulesetRulesPtrOutput) CommitMessagePattern

(Block List, Max: 1) Parameters to be used for the commitMessagePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

func (OrganizationRulesetRulesPtrOutput) CommitterEmailPattern

(Block List, Max: 1) Parameters to be used for the committerEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

func (OrganizationRulesetRulesPtrOutput) Creation

(Boolean) Only allow users with bypass permission to create matching refs.

func (OrganizationRulesetRulesPtrOutput) Deletion

(Boolean) Only allow users with bypass permissions to delete matching refs.

func (OrganizationRulesetRulesPtrOutput) Elem

func (OrganizationRulesetRulesPtrOutput) ElementType

func (OrganizationRulesetRulesPtrOutput) NonFastForward

(Boolean) Prevent users with push access from force pushing to branches.

func (OrganizationRulesetRulesPtrOutput) PullRequest

(Block List, Max: 1) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. (see below for nested schema)

func (OrganizationRulesetRulesPtrOutput) RequiredLinearHistory

func (o OrganizationRulesetRulesPtrOutput) RequiredLinearHistory() pulumi.BoolPtrOutput

(Boolean) Prevent merge commits from being pushed to matching branches.

func (OrganizationRulesetRulesPtrOutput) RequiredSignatures

(Boolean) Commits pushed to matching branches must have verified signatures.

func (OrganizationRulesetRulesPtrOutput) RequiredStatusChecks

(Block List, Max: 1) Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed. (see below for nested schema)

func (OrganizationRulesetRulesPtrOutput) RequiredWorkflows

(Block List, Max: 1) Define which Actions workflows must pass before changes can be merged into a branch matching the rule. Multiple workflows can be specified. (see below for nested schema)

func (OrganizationRulesetRulesPtrOutput) TagNamePattern

(Block List, Max: 1) Parameters to be used for the tagNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `branchNamePattern` as it only applies to rulesets with target `tag`. (see below for nested schema)

func (OrganizationRulesetRulesPtrOutput) ToOrganizationRulesetRulesPtrOutput

func (o OrganizationRulesetRulesPtrOutput) ToOrganizationRulesetRulesPtrOutput() OrganizationRulesetRulesPtrOutput

func (OrganizationRulesetRulesPtrOutput) ToOrganizationRulesetRulesPtrOutputWithContext

func (o OrganizationRulesetRulesPtrOutput) ToOrganizationRulesetRulesPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesPtrOutput

func (OrganizationRulesetRulesPtrOutput) Update

(Boolean) Only allow users with bypass permission to update matching refs.

type OrganizationRulesetRulesPullRequest

type OrganizationRulesetRulesPullRequest struct {
	// (Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
	DismissStaleReviewsOnPush *bool `pulumi:"dismissStaleReviewsOnPush"`
	// (Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
	RequireCodeOwnerReview *bool `pulumi:"requireCodeOwnerReview"`
	// (Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
	RequireLastPushApproval *bool `pulumi:"requireLastPushApproval"`
	// (Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
	RequiredApprovingReviewCount *int `pulumi:"requiredApprovingReviewCount"`
	// (Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
	RequiredReviewThreadResolution *bool `pulumi:"requiredReviewThreadResolution"`
}

type OrganizationRulesetRulesPullRequestArgs

type OrganizationRulesetRulesPullRequestArgs struct {
	// (Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
	DismissStaleReviewsOnPush pulumi.BoolPtrInput `pulumi:"dismissStaleReviewsOnPush"`
	// (Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
	RequireCodeOwnerReview pulumi.BoolPtrInput `pulumi:"requireCodeOwnerReview"`
	// (Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
	RequireLastPushApproval pulumi.BoolPtrInput `pulumi:"requireLastPushApproval"`
	// (Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
	RequiredApprovingReviewCount pulumi.IntPtrInput `pulumi:"requiredApprovingReviewCount"`
	// (Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
	RequiredReviewThreadResolution pulumi.BoolPtrInput `pulumi:"requiredReviewThreadResolution"`
}

func (OrganizationRulesetRulesPullRequestArgs) ElementType

func (OrganizationRulesetRulesPullRequestArgs) ToOrganizationRulesetRulesPullRequestOutput

func (i OrganizationRulesetRulesPullRequestArgs) ToOrganizationRulesetRulesPullRequestOutput() OrganizationRulesetRulesPullRequestOutput

func (OrganizationRulesetRulesPullRequestArgs) ToOrganizationRulesetRulesPullRequestOutputWithContext

func (i OrganizationRulesetRulesPullRequestArgs) ToOrganizationRulesetRulesPullRequestOutputWithContext(ctx context.Context) OrganizationRulesetRulesPullRequestOutput

func (OrganizationRulesetRulesPullRequestArgs) ToOrganizationRulesetRulesPullRequestPtrOutput

func (i OrganizationRulesetRulesPullRequestArgs) ToOrganizationRulesetRulesPullRequestPtrOutput() OrganizationRulesetRulesPullRequestPtrOutput

func (OrganizationRulesetRulesPullRequestArgs) ToOrganizationRulesetRulesPullRequestPtrOutputWithContext

func (i OrganizationRulesetRulesPullRequestArgs) ToOrganizationRulesetRulesPullRequestPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesPullRequestPtrOutput

type OrganizationRulesetRulesPullRequestInput

type OrganizationRulesetRulesPullRequestInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesPullRequestOutput() OrganizationRulesetRulesPullRequestOutput
	ToOrganizationRulesetRulesPullRequestOutputWithContext(context.Context) OrganizationRulesetRulesPullRequestOutput
}

OrganizationRulesetRulesPullRequestInput is an input type that accepts OrganizationRulesetRulesPullRequestArgs and OrganizationRulesetRulesPullRequestOutput values. You can construct a concrete instance of `OrganizationRulesetRulesPullRequestInput` via:

OrganizationRulesetRulesPullRequestArgs{...}

type OrganizationRulesetRulesPullRequestOutput

type OrganizationRulesetRulesPullRequestOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesPullRequestOutput) DismissStaleReviewsOnPush

func (o OrganizationRulesetRulesPullRequestOutput) DismissStaleReviewsOnPush() pulumi.BoolPtrOutput

(Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.

func (OrganizationRulesetRulesPullRequestOutput) ElementType

func (OrganizationRulesetRulesPullRequestOutput) RequireCodeOwnerReview

(Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.

func (OrganizationRulesetRulesPullRequestOutput) RequireLastPushApproval

(Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.

func (OrganizationRulesetRulesPullRequestOutput) RequiredApprovingReviewCount

func (o OrganizationRulesetRulesPullRequestOutput) RequiredApprovingReviewCount() pulumi.IntPtrOutput

(Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.

func (OrganizationRulesetRulesPullRequestOutput) RequiredReviewThreadResolution

func (o OrganizationRulesetRulesPullRequestOutput) RequiredReviewThreadResolution() pulumi.BoolPtrOutput

(Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.

func (OrganizationRulesetRulesPullRequestOutput) ToOrganizationRulesetRulesPullRequestOutput

func (o OrganizationRulesetRulesPullRequestOutput) ToOrganizationRulesetRulesPullRequestOutput() OrganizationRulesetRulesPullRequestOutput

func (OrganizationRulesetRulesPullRequestOutput) ToOrganizationRulesetRulesPullRequestOutputWithContext

func (o OrganizationRulesetRulesPullRequestOutput) ToOrganizationRulesetRulesPullRequestOutputWithContext(ctx context.Context) OrganizationRulesetRulesPullRequestOutput

func (OrganizationRulesetRulesPullRequestOutput) ToOrganizationRulesetRulesPullRequestPtrOutput

func (o OrganizationRulesetRulesPullRequestOutput) ToOrganizationRulesetRulesPullRequestPtrOutput() OrganizationRulesetRulesPullRequestPtrOutput

func (OrganizationRulesetRulesPullRequestOutput) ToOrganizationRulesetRulesPullRequestPtrOutputWithContext

func (o OrganizationRulesetRulesPullRequestOutput) ToOrganizationRulesetRulesPullRequestPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesPullRequestPtrOutput

type OrganizationRulesetRulesPullRequestPtrInput

type OrganizationRulesetRulesPullRequestPtrInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesPullRequestPtrOutput() OrganizationRulesetRulesPullRequestPtrOutput
	ToOrganizationRulesetRulesPullRequestPtrOutputWithContext(context.Context) OrganizationRulesetRulesPullRequestPtrOutput
}

OrganizationRulesetRulesPullRequestPtrInput is an input type that accepts OrganizationRulesetRulesPullRequestArgs, OrganizationRulesetRulesPullRequestPtr and OrganizationRulesetRulesPullRequestPtrOutput values. You can construct a concrete instance of `OrganizationRulesetRulesPullRequestPtrInput` via:

        OrganizationRulesetRulesPullRequestArgs{...}

or:

        nil

type OrganizationRulesetRulesPullRequestPtrOutput

type OrganizationRulesetRulesPullRequestPtrOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesPullRequestPtrOutput) DismissStaleReviewsOnPush

(Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.

func (OrganizationRulesetRulesPullRequestPtrOutput) Elem

func (OrganizationRulesetRulesPullRequestPtrOutput) ElementType

func (OrganizationRulesetRulesPullRequestPtrOutput) RequireCodeOwnerReview

(Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.

func (OrganizationRulesetRulesPullRequestPtrOutput) RequireLastPushApproval

(Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.

func (OrganizationRulesetRulesPullRequestPtrOutput) RequiredApprovingReviewCount

func (o OrganizationRulesetRulesPullRequestPtrOutput) RequiredApprovingReviewCount() pulumi.IntPtrOutput

(Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.

func (OrganizationRulesetRulesPullRequestPtrOutput) RequiredReviewThreadResolution

func (o OrganizationRulesetRulesPullRequestPtrOutput) RequiredReviewThreadResolution() pulumi.BoolPtrOutput

(Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.

func (OrganizationRulesetRulesPullRequestPtrOutput) ToOrganizationRulesetRulesPullRequestPtrOutput

func (o OrganizationRulesetRulesPullRequestPtrOutput) ToOrganizationRulesetRulesPullRequestPtrOutput() OrganizationRulesetRulesPullRequestPtrOutput

func (OrganizationRulesetRulesPullRequestPtrOutput) ToOrganizationRulesetRulesPullRequestPtrOutputWithContext

func (o OrganizationRulesetRulesPullRequestPtrOutput) ToOrganizationRulesetRulesPullRequestPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesPullRequestPtrOutput

type OrganizationRulesetRulesRequiredStatusChecks

type OrganizationRulesetRulesRequiredStatusChecks struct {
	// (Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)
	RequiredChecks []OrganizationRulesetRulesRequiredStatusChecksRequiredCheck `pulumi:"requiredChecks"`
	// (Boolean) Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.
	StrictRequiredStatusChecksPolicy *bool `pulumi:"strictRequiredStatusChecksPolicy"`
}

type OrganizationRulesetRulesRequiredStatusChecksArgs

type OrganizationRulesetRulesRequiredStatusChecksArgs struct {
	// (Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)
	RequiredChecks OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayInput `pulumi:"requiredChecks"`
	// (Boolean) Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.
	StrictRequiredStatusChecksPolicy pulumi.BoolPtrInput `pulumi:"strictRequiredStatusChecksPolicy"`
}

func (OrganizationRulesetRulesRequiredStatusChecksArgs) ElementType

func (OrganizationRulesetRulesRequiredStatusChecksArgs) ToOrganizationRulesetRulesRequiredStatusChecksOutput

func (i OrganizationRulesetRulesRequiredStatusChecksArgs) ToOrganizationRulesetRulesRequiredStatusChecksOutput() OrganizationRulesetRulesRequiredStatusChecksOutput

func (OrganizationRulesetRulesRequiredStatusChecksArgs) ToOrganizationRulesetRulesRequiredStatusChecksOutputWithContext

func (i OrganizationRulesetRulesRequiredStatusChecksArgs) ToOrganizationRulesetRulesRequiredStatusChecksOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredStatusChecksOutput

func (OrganizationRulesetRulesRequiredStatusChecksArgs) ToOrganizationRulesetRulesRequiredStatusChecksPtrOutput

func (i OrganizationRulesetRulesRequiredStatusChecksArgs) ToOrganizationRulesetRulesRequiredStatusChecksPtrOutput() OrganizationRulesetRulesRequiredStatusChecksPtrOutput

func (OrganizationRulesetRulesRequiredStatusChecksArgs) ToOrganizationRulesetRulesRequiredStatusChecksPtrOutputWithContext

func (i OrganizationRulesetRulesRequiredStatusChecksArgs) ToOrganizationRulesetRulesRequiredStatusChecksPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredStatusChecksPtrOutput

type OrganizationRulesetRulesRequiredStatusChecksInput

type OrganizationRulesetRulesRequiredStatusChecksInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesRequiredStatusChecksOutput() OrganizationRulesetRulesRequiredStatusChecksOutput
	ToOrganizationRulesetRulesRequiredStatusChecksOutputWithContext(context.Context) OrganizationRulesetRulesRequiredStatusChecksOutput
}

OrganizationRulesetRulesRequiredStatusChecksInput is an input type that accepts OrganizationRulesetRulesRequiredStatusChecksArgs and OrganizationRulesetRulesRequiredStatusChecksOutput values. You can construct a concrete instance of `OrganizationRulesetRulesRequiredStatusChecksInput` via:

OrganizationRulesetRulesRequiredStatusChecksArgs{...}

type OrganizationRulesetRulesRequiredStatusChecksOutput

type OrganizationRulesetRulesRequiredStatusChecksOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesRequiredStatusChecksOutput) ElementType

func (OrganizationRulesetRulesRequiredStatusChecksOutput) RequiredChecks

(Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)

func (OrganizationRulesetRulesRequiredStatusChecksOutput) StrictRequiredStatusChecksPolicy

func (o OrganizationRulesetRulesRequiredStatusChecksOutput) StrictRequiredStatusChecksPolicy() pulumi.BoolPtrOutput

(Boolean) Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.

func (OrganizationRulesetRulesRequiredStatusChecksOutput) ToOrganizationRulesetRulesRequiredStatusChecksOutput

func (o OrganizationRulesetRulesRequiredStatusChecksOutput) ToOrganizationRulesetRulesRequiredStatusChecksOutput() OrganizationRulesetRulesRequiredStatusChecksOutput

func (OrganizationRulesetRulesRequiredStatusChecksOutput) ToOrganizationRulesetRulesRequiredStatusChecksOutputWithContext

func (o OrganizationRulesetRulesRequiredStatusChecksOutput) ToOrganizationRulesetRulesRequiredStatusChecksOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredStatusChecksOutput

func (OrganizationRulesetRulesRequiredStatusChecksOutput) ToOrganizationRulesetRulesRequiredStatusChecksPtrOutput

func (o OrganizationRulesetRulesRequiredStatusChecksOutput) ToOrganizationRulesetRulesRequiredStatusChecksPtrOutput() OrganizationRulesetRulesRequiredStatusChecksPtrOutput

func (OrganizationRulesetRulesRequiredStatusChecksOutput) ToOrganizationRulesetRulesRequiredStatusChecksPtrOutputWithContext

func (o OrganizationRulesetRulesRequiredStatusChecksOutput) ToOrganizationRulesetRulesRequiredStatusChecksPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredStatusChecksPtrOutput

type OrganizationRulesetRulesRequiredStatusChecksPtrInput

type OrganizationRulesetRulesRequiredStatusChecksPtrInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesRequiredStatusChecksPtrOutput() OrganizationRulesetRulesRequiredStatusChecksPtrOutput
	ToOrganizationRulesetRulesRequiredStatusChecksPtrOutputWithContext(context.Context) OrganizationRulesetRulesRequiredStatusChecksPtrOutput
}

OrganizationRulesetRulesRequiredStatusChecksPtrInput is an input type that accepts OrganizationRulesetRulesRequiredStatusChecksArgs, OrganizationRulesetRulesRequiredStatusChecksPtr and OrganizationRulesetRulesRequiredStatusChecksPtrOutput values. You can construct a concrete instance of `OrganizationRulesetRulesRequiredStatusChecksPtrInput` via:

        OrganizationRulesetRulesRequiredStatusChecksArgs{...}

or:

        nil

type OrganizationRulesetRulesRequiredStatusChecksPtrOutput

type OrganizationRulesetRulesRequiredStatusChecksPtrOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesRequiredStatusChecksPtrOutput) Elem

func (OrganizationRulesetRulesRequiredStatusChecksPtrOutput) ElementType

func (OrganizationRulesetRulesRequiredStatusChecksPtrOutput) RequiredChecks

(Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)

func (OrganizationRulesetRulesRequiredStatusChecksPtrOutput) StrictRequiredStatusChecksPolicy

func (o OrganizationRulesetRulesRequiredStatusChecksPtrOutput) StrictRequiredStatusChecksPolicy() pulumi.BoolPtrOutput

(Boolean) Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.

func (OrganizationRulesetRulesRequiredStatusChecksPtrOutput) ToOrganizationRulesetRulesRequiredStatusChecksPtrOutput

func (OrganizationRulesetRulesRequiredStatusChecksPtrOutput) ToOrganizationRulesetRulesRequiredStatusChecksPtrOutputWithContext

func (o OrganizationRulesetRulesRequiredStatusChecksPtrOutput) ToOrganizationRulesetRulesRequiredStatusChecksPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredStatusChecksPtrOutput

type OrganizationRulesetRulesRequiredStatusChecksRequiredCheck

type OrganizationRulesetRulesRequiredStatusChecksRequiredCheck struct {
	// (String) The status check context name that must be present on the commit.
	Context string `pulumi:"context"`
	// (Number) The optional integration ID that this status check must originate from.
	IntegrationId *int `pulumi:"integrationId"`
}

type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArgs

type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArgs struct {
	// (String) The status check context name that must be present on the commit.
	Context pulumi.StringInput `pulumi:"context"`
	// (Number) The optional integration ID that this status check must originate from.
	IntegrationId pulumi.IntPtrInput `pulumi:"integrationId"`
}

func (OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArgs) ElementType

func (OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArgs) ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput

func (OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArgs) ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputWithContext

func (i OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArgs) ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput

type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArray

type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArray []OrganizationRulesetRulesRequiredStatusChecksRequiredCheckInput

func (OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArray) ElementType

func (OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArray) ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput

func (OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArray) ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutputWithContext

func (i OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArray) ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput

type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayInput

type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput() OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput
	ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutputWithContext(context.Context) OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput
}

OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayInput is an input type that accepts OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArray and OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput values. You can construct a concrete instance of `OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayInput` via:

OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArray{ OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArgs{...} }

type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput

type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput) ElementType

func (OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput) ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput

func (OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput) ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutputWithContext

func (o OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput) ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput

type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckInput

type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput() OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput
	ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputWithContext(context.Context) OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput
}

OrganizationRulesetRulesRequiredStatusChecksRequiredCheckInput is an input type that accepts OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArgs and OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput values. You can construct a concrete instance of `OrganizationRulesetRulesRequiredStatusChecksRequiredCheckInput` via:

OrganizationRulesetRulesRequiredStatusChecksRequiredCheckArgs{...}

type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput

type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput) Context

(String) The status check context name that must be present on the commit.

func (OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput) ElementType

func (OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput) IntegrationId

(Number) The optional integration ID that this status check must originate from.

func (OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput) ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput

func (OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput) ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputWithContext

func (o OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput) ToOrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutput

type OrganizationRulesetRulesRequiredWorkflows

type OrganizationRulesetRulesRequiredWorkflows struct {
	// (Block Set, Min: 1) Actions workflows that are required. Multiple can be defined. (see below for nested schema)
	RequiredWorkflows []OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow `pulumi:"requiredWorkflows"`
}

type OrganizationRulesetRulesRequiredWorkflowsArgs

type OrganizationRulesetRulesRequiredWorkflowsArgs struct {
	// (Block Set, Min: 1) Actions workflows that are required. Multiple can be defined. (see below for nested schema)
	RequiredWorkflows OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayInput `pulumi:"requiredWorkflows"`
}

func (OrganizationRulesetRulesRequiredWorkflowsArgs) ElementType

func (OrganizationRulesetRulesRequiredWorkflowsArgs) ToOrganizationRulesetRulesRequiredWorkflowsOutput

func (i OrganizationRulesetRulesRequiredWorkflowsArgs) ToOrganizationRulesetRulesRequiredWorkflowsOutput() OrganizationRulesetRulesRequiredWorkflowsOutput

func (OrganizationRulesetRulesRequiredWorkflowsArgs) ToOrganizationRulesetRulesRequiredWorkflowsOutputWithContext

func (i OrganizationRulesetRulesRequiredWorkflowsArgs) ToOrganizationRulesetRulesRequiredWorkflowsOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredWorkflowsOutput

func (OrganizationRulesetRulesRequiredWorkflowsArgs) ToOrganizationRulesetRulesRequiredWorkflowsPtrOutput

func (i OrganizationRulesetRulesRequiredWorkflowsArgs) ToOrganizationRulesetRulesRequiredWorkflowsPtrOutput() OrganizationRulesetRulesRequiredWorkflowsPtrOutput

func (OrganizationRulesetRulesRequiredWorkflowsArgs) ToOrganizationRulesetRulesRequiredWorkflowsPtrOutputWithContext

func (i OrganizationRulesetRulesRequiredWorkflowsArgs) ToOrganizationRulesetRulesRequiredWorkflowsPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredWorkflowsPtrOutput

type OrganizationRulesetRulesRequiredWorkflowsInput

type OrganizationRulesetRulesRequiredWorkflowsInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesRequiredWorkflowsOutput() OrganizationRulesetRulesRequiredWorkflowsOutput
	ToOrganizationRulesetRulesRequiredWorkflowsOutputWithContext(context.Context) OrganizationRulesetRulesRequiredWorkflowsOutput
}

OrganizationRulesetRulesRequiredWorkflowsInput is an input type that accepts OrganizationRulesetRulesRequiredWorkflowsArgs and OrganizationRulesetRulesRequiredWorkflowsOutput values. You can construct a concrete instance of `OrganizationRulesetRulesRequiredWorkflowsInput` via:

OrganizationRulesetRulesRequiredWorkflowsArgs{...}

type OrganizationRulesetRulesRequiredWorkflowsOutput

type OrganizationRulesetRulesRequiredWorkflowsOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesRequiredWorkflowsOutput) ElementType

func (OrganizationRulesetRulesRequiredWorkflowsOutput) RequiredWorkflows

(Block Set, Min: 1) Actions workflows that are required. Multiple can be defined. (see below for nested schema)

func (OrganizationRulesetRulesRequiredWorkflowsOutput) ToOrganizationRulesetRulesRequiredWorkflowsOutput

func (o OrganizationRulesetRulesRequiredWorkflowsOutput) ToOrganizationRulesetRulesRequiredWorkflowsOutput() OrganizationRulesetRulesRequiredWorkflowsOutput

func (OrganizationRulesetRulesRequiredWorkflowsOutput) ToOrganizationRulesetRulesRequiredWorkflowsOutputWithContext

func (o OrganizationRulesetRulesRequiredWorkflowsOutput) ToOrganizationRulesetRulesRequiredWorkflowsOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredWorkflowsOutput

func (OrganizationRulesetRulesRequiredWorkflowsOutput) ToOrganizationRulesetRulesRequiredWorkflowsPtrOutput

func (o OrganizationRulesetRulesRequiredWorkflowsOutput) ToOrganizationRulesetRulesRequiredWorkflowsPtrOutput() OrganizationRulesetRulesRequiredWorkflowsPtrOutput

func (OrganizationRulesetRulesRequiredWorkflowsOutput) ToOrganizationRulesetRulesRequiredWorkflowsPtrOutputWithContext

func (o OrganizationRulesetRulesRequiredWorkflowsOutput) ToOrganizationRulesetRulesRequiredWorkflowsPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredWorkflowsPtrOutput

type OrganizationRulesetRulesRequiredWorkflowsPtrInput

type OrganizationRulesetRulesRequiredWorkflowsPtrInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesRequiredWorkflowsPtrOutput() OrganizationRulesetRulesRequiredWorkflowsPtrOutput
	ToOrganizationRulesetRulesRequiredWorkflowsPtrOutputWithContext(context.Context) OrganizationRulesetRulesRequiredWorkflowsPtrOutput
}

OrganizationRulesetRulesRequiredWorkflowsPtrInput is an input type that accepts OrganizationRulesetRulesRequiredWorkflowsArgs, OrganizationRulesetRulesRequiredWorkflowsPtr and OrganizationRulesetRulesRequiredWorkflowsPtrOutput values. You can construct a concrete instance of `OrganizationRulesetRulesRequiredWorkflowsPtrInput` via:

        OrganizationRulesetRulesRequiredWorkflowsArgs{...}

or:

        nil

type OrganizationRulesetRulesRequiredWorkflowsPtrOutput

type OrganizationRulesetRulesRequiredWorkflowsPtrOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesRequiredWorkflowsPtrOutput) Elem

func (OrganizationRulesetRulesRequiredWorkflowsPtrOutput) ElementType

func (OrganizationRulesetRulesRequiredWorkflowsPtrOutput) RequiredWorkflows

(Block Set, Min: 1) Actions workflows that are required. Multiple can be defined. (see below for nested schema)

func (OrganizationRulesetRulesRequiredWorkflowsPtrOutput) ToOrganizationRulesetRulesRequiredWorkflowsPtrOutput

func (o OrganizationRulesetRulesRequiredWorkflowsPtrOutput) ToOrganizationRulesetRulesRequiredWorkflowsPtrOutput() OrganizationRulesetRulesRequiredWorkflowsPtrOutput

func (OrganizationRulesetRulesRequiredWorkflowsPtrOutput) ToOrganizationRulesetRulesRequiredWorkflowsPtrOutputWithContext

func (o OrganizationRulesetRulesRequiredWorkflowsPtrOutput) ToOrganizationRulesetRulesRequiredWorkflowsPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredWorkflowsPtrOutput

type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow

type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow struct {
	// (String) The path to the YAML definition file of the workflow.
	Path string `pulumi:"path"`
	// (String) The optional ref from which to fetch the workflow. Defaults to `master`.
	Ref *string `pulumi:"ref"`
	// The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with `repositoryName`.
	RepositoryId int `pulumi:"repositoryId"`
}

type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArgs

type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArgs struct {
	// (String) The path to the YAML definition file of the workflow.
	Path pulumi.StringInput `pulumi:"path"`
	// (String) The optional ref from which to fetch the workflow. Defaults to `master`.
	Ref pulumi.StringPtrInput `pulumi:"ref"`
	// The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with `repositoryName`.
	RepositoryId pulumi.IntInput `pulumi:"repositoryId"`
}

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArgs) ElementType

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArgs) ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArgs) ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputWithContext

func (i OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArgs) ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput

type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArray

type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArray []OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowInput

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArray) ElementType

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArray) ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutput

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArray) ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutputWithContext

func (i OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArray) ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutput

type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayInput

type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutput() OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutput
	ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutputWithContext(context.Context) OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutput
}

OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayInput is an input type that accepts OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArray and OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutput values. You can construct a concrete instance of `OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayInput` via:

OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArray{ OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArgs{...} }

type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutput

type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutput) ElementType

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutput) ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutput

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutput) ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutputWithContext

func (o OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutput) ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArrayOutput

type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowInput

type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput() OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput
	ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputWithContext(context.Context) OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput
}

OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowInput is an input type that accepts OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArgs and OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput values. You can construct a concrete instance of `OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowInput` via:

OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowArgs{...}

type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput

type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput) ElementType

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput) Path

(String) The path to the YAML definition file of the workflow.

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput) Ref

(String) The optional ref from which to fetch the workflow. Defaults to `master`.

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput) RepositoryId

The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with `repositoryName`.

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput) ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput

func (OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput) ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputWithContext

func (o OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput) ToOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputWithContext(ctx context.Context) OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutput

type OrganizationRulesetRulesTagNamePattern

type OrganizationRulesetRulesTagNamePattern struct {
	// (String) The name of the ruleset.
	Name *string `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate *bool `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator string `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern string `pulumi:"pattern"`
}

type OrganizationRulesetRulesTagNamePatternArgs

type OrganizationRulesetRulesTagNamePatternArgs struct {
	// (String) The name of the ruleset.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate pulumi.BoolPtrInput `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern pulumi.StringInput `pulumi:"pattern"`
}

func (OrganizationRulesetRulesTagNamePatternArgs) ElementType

func (OrganizationRulesetRulesTagNamePatternArgs) ToOrganizationRulesetRulesTagNamePatternOutput

func (i OrganizationRulesetRulesTagNamePatternArgs) ToOrganizationRulesetRulesTagNamePatternOutput() OrganizationRulesetRulesTagNamePatternOutput

func (OrganizationRulesetRulesTagNamePatternArgs) ToOrganizationRulesetRulesTagNamePatternOutputWithContext

func (i OrganizationRulesetRulesTagNamePatternArgs) ToOrganizationRulesetRulesTagNamePatternOutputWithContext(ctx context.Context) OrganizationRulesetRulesTagNamePatternOutput

func (OrganizationRulesetRulesTagNamePatternArgs) ToOrganizationRulesetRulesTagNamePatternPtrOutput

func (i OrganizationRulesetRulesTagNamePatternArgs) ToOrganizationRulesetRulesTagNamePatternPtrOutput() OrganizationRulesetRulesTagNamePatternPtrOutput

func (OrganizationRulesetRulesTagNamePatternArgs) ToOrganizationRulesetRulesTagNamePatternPtrOutputWithContext

func (i OrganizationRulesetRulesTagNamePatternArgs) ToOrganizationRulesetRulesTagNamePatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesTagNamePatternPtrOutput

type OrganizationRulesetRulesTagNamePatternInput

type OrganizationRulesetRulesTagNamePatternInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesTagNamePatternOutput() OrganizationRulesetRulesTagNamePatternOutput
	ToOrganizationRulesetRulesTagNamePatternOutputWithContext(context.Context) OrganizationRulesetRulesTagNamePatternOutput
}

OrganizationRulesetRulesTagNamePatternInput is an input type that accepts OrganizationRulesetRulesTagNamePatternArgs and OrganizationRulesetRulesTagNamePatternOutput values. You can construct a concrete instance of `OrganizationRulesetRulesTagNamePatternInput` via:

OrganizationRulesetRulesTagNamePatternArgs{...}

type OrganizationRulesetRulesTagNamePatternOutput

type OrganizationRulesetRulesTagNamePatternOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesTagNamePatternOutput) ElementType

func (OrganizationRulesetRulesTagNamePatternOutput) Name

(String) The name of the ruleset.

func (OrganizationRulesetRulesTagNamePatternOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (OrganizationRulesetRulesTagNamePatternOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (OrganizationRulesetRulesTagNamePatternOutput) Pattern

(String) The pattern to match with.

func (OrganizationRulesetRulesTagNamePatternOutput) ToOrganizationRulesetRulesTagNamePatternOutput

func (o OrganizationRulesetRulesTagNamePatternOutput) ToOrganizationRulesetRulesTagNamePatternOutput() OrganizationRulesetRulesTagNamePatternOutput

func (OrganizationRulesetRulesTagNamePatternOutput) ToOrganizationRulesetRulesTagNamePatternOutputWithContext

func (o OrganizationRulesetRulesTagNamePatternOutput) ToOrganizationRulesetRulesTagNamePatternOutputWithContext(ctx context.Context) OrganizationRulesetRulesTagNamePatternOutput

func (OrganizationRulesetRulesTagNamePatternOutput) ToOrganizationRulesetRulesTagNamePatternPtrOutput

func (o OrganizationRulesetRulesTagNamePatternOutput) ToOrganizationRulesetRulesTagNamePatternPtrOutput() OrganizationRulesetRulesTagNamePatternPtrOutput

func (OrganizationRulesetRulesTagNamePatternOutput) ToOrganizationRulesetRulesTagNamePatternPtrOutputWithContext

func (o OrganizationRulesetRulesTagNamePatternOutput) ToOrganizationRulesetRulesTagNamePatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesTagNamePatternPtrOutput

type OrganizationRulesetRulesTagNamePatternPtrInput

type OrganizationRulesetRulesTagNamePatternPtrInput interface {
	pulumi.Input

	ToOrganizationRulesetRulesTagNamePatternPtrOutput() OrganizationRulesetRulesTagNamePatternPtrOutput
	ToOrganizationRulesetRulesTagNamePatternPtrOutputWithContext(context.Context) OrganizationRulesetRulesTagNamePatternPtrOutput
}

OrganizationRulesetRulesTagNamePatternPtrInput is an input type that accepts OrganizationRulesetRulesTagNamePatternArgs, OrganizationRulesetRulesTagNamePatternPtr and OrganizationRulesetRulesTagNamePatternPtrOutput values. You can construct a concrete instance of `OrganizationRulesetRulesTagNamePatternPtrInput` via:

        OrganizationRulesetRulesTagNamePatternArgs{...}

or:

        nil

type OrganizationRulesetRulesTagNamePatternPtrOutput

type OrganizationRulesetRulesTagNamePatternPtrOutput struct{ *pulumi.OutputState }

func (OrganizationRulesetRulesTagNamePatternPtrOutput) Elem

func (OrganizationRulesetRulesTagNamePatternPtrOutput) ElementType

func (OrganizationRulesetRulesTagNamePatternPtrOutput) Name

(String) The name of the ruleset.

func (OrganizationRulesetRulesTagNamePatternPtrOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (OrganizationRulesetRulesTagNamePatternPtrOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (OrganizationRulesetRulesTagNamePatternPtrOutput) Pattern

(String) The pattern to match with.

func (OrganizationRulesetRulesTagNamePatternPtrOutput) ToOrganizationRulesetRulesTagNamePatternPtrOutput

func (o OrganizationRulesetRulesTagNamePatternPtrOutput) ToOrganizationRulesetRulesTagNamePatternPtrOutput() OrganizationRulesetRulesTagNamePatternPtrOutput

func (OrganizationRulesetRulesTagNamePatternPtrOutput) ToOrganizationRulesetRulesTagNamePatternPtrOutputWithContext

func (o OrganizationRulesetRulesTagNamePatternPtrOutput) ToOrganizationRulesetRulesTagNamePatternPtrOutputWithContext(ctx context.Context) OrganizationRulesetRulesTagNamePatternPtrOutput

type OrganizationRulesetState

type OrganizationRulesetState struct {
	// (Block List) The actors that can bypass the rules in this ruleset. (see below for nested schema)
	BypassActors OrganizationRulesetBypassActorArrayInput
	// (Block List, Max: 1) Parameters for an organization ruleset condition. `refName` is required alongside one of `repositoryName` or `repositoryId`. (see below for nested schema)
	Conditions OrganizationRulesetConditionsPtrInput
	// (String) Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.
	Enforcement pulumi.StringPtrInput
	// (String)
	Etag pulumi.StringPtrInput
	// (String) The name of the ruleset.
	Name pulumi.StringPtrInput
	// (String) GraphQL global node id for use with v4 API.
	NodeId pulumi.StringPtrInput
	// (Block List, Min: 1, Max: 1) Rules within the ruleset. (see below for nested schema)
	Rules OrganizationRulesetRulesPtrInput
	// (Number) GitHub ID for the ruleset.
	RulesetId pulumi.IntPtrInput
	// (String) Possible values are `branch` and `tag`.
	Target pulumi.StringPtrInput
}

func (OrganizationRulesetState) ElementType

func (OrganizationRulesetState) ElementType() reflect.Type

type OrganizationSecurityManager

type OrganizationSecurityManager struct {
	pulumi.CustomResourceState

	// The slug of the team to manage.
	TeamSlug pulumi.StringOutput `pulumi:"teamSlug"`
}

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		someTeamTeam, err := github.NewTeam(ctx, "someTeamTeam", &github.TeamArgs{
			Description: pulumi.String("Some cool team"),
		})
		if err != nil {
			return err
		}
		_, err = github.NewOrganizationSecurityManager(ctx, "someTeamOrganizationSecurityManager", &github.OrganizationSecurityManagerArgs{
			TeamSlug: someTeamTeam.Slug,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

GitHub Security Manager Teams can be imported using the GitHub team ID e.g.

```sh $ pulumi import github:index/organizationSecurityManager:OrganizationSecurityManager core 1234567 ```

func GetOrganizationSecurityManager

func GetOrganizationSecurityManager(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationSecurityManagerState, opts ...pulumi.ResourceOption) (*OrganizationSecurityManager, error)

GetOrganizationSecurityManager gets an existing OrganizationSecurityManager 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 NewOrganizationSecurityManager

func NewOrganizationSecurityManager(ctx *pulumi.Context,
	name string, args *OrganizationSecurityManagerArgs, opts ...pulumi.ResourceOption) (*OrganizationSecurityManager, error)

NewOrganizationSecurityManager registers a new resource with the given unique name, arguments, and options.

func (*OrganizationSecurityManager) ElementType

func (*OrganizationSecurityManager) ElementType() reflect.Type

func (*OrganizationSecurityManager) ToOrganizationSecurityManagerOutput

func (i *OrganizationSecurityManager) ToOrganizationSecurityManagerOutput() OrganizationSecurityManagerOutput

func (*OrganizationSecurityManager) ToOrganizationSecurityManagerOutputWithContext

func (i *OrganizationSecurityManager) ToOrganizationSecurityManagerOutputWithContext(ctx context.Context) OrganizationSecurityManagerOutput

type OrganizationSecurityManagerArgs

type OrganizationSecurityManagerArgs struct {
	// The slug of the team to manage.
	TeamSlug pulumi.StringInput
}

The set of arguments for constructing a OrganizationSecurityManager resource.

func (OrganizationSecurityManagerArgs) ElementType

type OrganizationSecurityManagerArray

type OrganizationSecurityManagerArray []OrganizationSecurityManagerInput

func (OrganizationSecurityManagerArray) ElementType

func (OrganizationSecurityManagerArray) ToOrganizationSecurityManagerArrayOutput

func (i OrganizationSecurityManagerArray) ToOrganizationSecurityManagerArrayOutput() OrganizationSecurityManagerArrayOutput

func (OrganizationSecurityManagerArray) ToOrganizationSecurityManagerArrayOutputWithContext

func (i OrganizationSecurityManagerArray) ToOrganizationSecurityManagerArrayOutputWithContext(ctx context.Context) OrganizationSecurityManagerArrayOutput

type OrganizationSecurityManagerArrayInput

type OrganizationSecurityManagerArrayInput interface {
	pulumi.Input

	ToOrganizationSecurityManagerArrayOutput() OrganizationSecurityManagerArrayOutput
	ToOrganizationSecurityManagerArrayOutputWithContext(context.Context) OrganizationSecurityManagerArrayOutput
}

OrganizationSecurityManagerArrayInput is an input type that accepts OrganizationSecurityManagerArray and OrganizationSecurityManagerArrayOutput values. You can construct a concrete instance of `OrganizationSecurityManagerArrayInput` via:

OrganizationSecurityManagerArray{ OrganizationSecurityManagerArgs{...} }

type OrganizationSecurityManagerArrayOutput

type OrganizationSecurityManagerArrayOutput struct{ *pulumi.OutputState }

func (OrganizationSecurityManagerArrayOutput) ElementType

func (OrganizationSecurityManagerArrayOutput) Index

func (OrganizationSecurityManagerArrayOutput) ToOrganizationSecurityManagerArrayOutput

func (o OrganizationSecurityManagerArrayOutput) ToOrganizationSecurityManagerArrayOutput() OrganizationSecurityManagerArrayOutput

func (OrganizationSecurityManagerArrayOutput) ToOrganizationSecurityManagerArrayOutputWithContext

func (o OrganizationSecurityManagerArrayOutput) ToOrganizationSecurityManagerArrayOutputWithContext(ctx context.Context) OrganizationSecurityManagerArrayOutput

type OrganizationSecurityManagerInput

type OrganizationSecurityManagerInput interface {
	pulumi.Input

	ToOrganizationSecurityManagerOutput() OrganizationSecurityManagerOutput
	ToOrganizationSecurityManagerOutputWithContext(ctx context.Context) OrganizationSecurityManagerOutput
}

type OrganizationSecurityManagerMap

type OrganizationSecurityManagerMap map[string]OrganizationSecurityManagerInput

func (OrganizationSecurityManagerMap) ElementType

func (OrganizationSecurityManagerMap) ToOrganizationSecurityManagerMapOutput

func (i OrganizationSecurityManagerMap) ToOrganizationSecurityManagerMapOutput() OrganizationSecurityManagerMapOutput

func (OrganizationSecurityManagerMap) ToOrganizationSecurityManagerMapOutputWithContext

func (i OrganizationSecurityManagerMap) ToOrganizationSecurityManagerMapOutputWithContext(ctx context.Context) OrganizationSecurityManagerMapOutput

type OrganizationSecurityManagerMapInput

type OrganizationSecurityManagerMapInput interface {
	pulumi.Input

	ToOrganizationSecurityManagerMapOutput() OrganizationSecurityManagerMapOutput
	ToOrganizationSecurityManagerMapOutputWithContext(context.Context) OrganizationSecurityManagerMapOutput
}

OrganizationSecurityManagerMapInput is an input type that accepts OrganizationSecurityManagerMap and OrganizationSecurityManagerMapOutput values. You can construct a concrete instance of `OrganizationSecurityManagerMapInput` via:

OrganizationSecurityManagerMap{ "key": OrganizationSecurityManagerArgs{...} }

type OrganizationSecurityManagerMapOutput

type OrganizationSecurityManagerMapOutput struct{ *pulumi.OutputState }

func (OrganizationSecurityManagerMapOutput) ElementType

func (OrganizationSecurityManagerMapOutput) MapIndex

func (OrganizationSecurityManagerMapOutput) ToOrganizationSecurityManagerMapOutput

func (o OrganizationSecurityManagerMapOutput) ToOrganizationSecurityManagerMapOutput() OrganizationSecurityManagerMapOutput

func (OrganizationSecurityManagerMapOutput) ToOrganizationSecurityManagerMapOutputWithContext

func (o OrganizationSecurityManagerMapOutput) ToOrganizationSecurityManagerMapOutputWithContext(ctx context.Context) OrganizationSecurityManagerMapOutput

type OrganizationSecurityManagerOutput

type OrganizationSecurityManagerOutput struct{ *pulumi.OutputState }

func (OrganizationSecurityManagerOutput) ElementType

func (OrganizationSecurityManagerOutput) TeamSlug

The slug of the team to manage.

func (OrganizationSecurityManagerOutput) ToOrganizationSecurityManagerOutput

func (o OrganizationSecurityManagerOutput) ToOrganizationSecurityManagerOutput() OrganizationSecurityManagerOutput

func (OrganizationSecurityManagerOutput) ToOrganizationSecurityManagerOutputWithContext

func (o OrganizationSecurityManagerOutput) ToOrganizationSecurityManagerOutputWithContext(ctx context.Context) OrganizationSecurityManagerOutput

type OrganizationSecurityManagerState

type OrganizationSecurityManagerState struct {
	// The slug of the team to manage.
	TeamSlug pulumi.StringPtrInput
}

func (OrganizationSecurityManagerState) ElementType

type OrganizationSettings

type OrganizationSettings struct {
	pulumi.CustomResourceState

	// Whether or not advanced security is enabled for new repositories. Defaults to `false`.
	AdvancedSecurityEnabledForNewRepositories pulumi.BoolPtrOutput `pulumi:"advancedSecurityEnabledForNewRepositories"`
	// The billing email address for the organization.
	BillingEmail pulumi.StringOutput `pulumi:"billingEmail"`
	// The blog URL for the organization.
	Blog pulumi.StringPtrOutput `pulumi:"blog"`
	// The company name for the organization.
	Company pulumi.StringPtrOutput `pulumi:"company"`
	// The default permission for organization members to create new repositories. Can be one of `read`, `write`, `admin`, or `none`. Defaults to `read`.
	DefaultRepositoryPermission pulumi.StringPtrOutput `pulumi:"defaultRepositoryPermission"`
	// Whether or not dependabot alerts are enabled for new repositories. Defaults to `false`.
	DependabotAlertsEnabledForNewRepositories pulumi.BoolPtrOutput `pulumi:"dependabotAlertsEnabledForNewRepositories"`
	// Whether or not dependabot security updates are enabled for new repositories. Defaults to `false`.
	DependabotSecurityUpdatesEnabledForNewRepositories pulumi.BoolPtrOutput `pulumi:"dependabotSecurityUpdatesEnabledForNewRepositories"`
	// Whether or not dependency graph is enabled for new repositories. Defaults to `false`.
	DependencyGraphEnabledForNewRepositories pulumi.BoolPtrOutput `pulumi:"dependencyGraphEnabledForNewRepositories"`
	// The description for the organization.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The email address for the organization.
	Email pulumi.StringPtrOutput `pulumi:"email"`
	// Whether or not organization projects are enabled for the organization.
	HasOrganizationProjects pulumi.BoolPtrOutput `pulumi:"hasOrganizationProjects"`
	// Whether or not repository projects are enabled for the organization.
	HasRepositoryProjects pulumi.BoolPtrOutput `pulumi:"hasRepositoryProjects"`
	// The location for the organization.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
	MembersCanCreateInternalRepositories pulumi.BoolPtrOutput `pulumi:"membersCanCreateInternalRepositories"`
	// Whether or not organization members can create new pages. Defaults to `true`.
	MembersCanCreatePages pulumi.BoolPtrOutput `pulumi:"membersCanCreatePages"`
	// Whether or not organization members can create new private pages. Defaults to `true`.
	MembersCanCreatePrivatePages pulumi.BoolPtrOutput `pulumi:"membersCanCreatePrivatePages"`
	// Whether or not organization members can create new private repositories. Defaults to `true`.
	MembersCanCreatePrivateRepositories pulumi.BoolPtrOutput `pulumi:"membersCanCreatePrivateRepositories"`
	// Whether or not organization members can create new public pages. Defaults to `true`.
	MembersCanCreatePublicPages pulumi.BoolPtrOutput `pulumi:"membersCanCreatePublicPages"`
	// Whether or not organization members can create new public repositories. Defaults to `true`.
	MembersCanCreatePublicRepositories pulumi.BoolPtrOutput `pulumi:"membersCanCreatePublicRepositories"`
	// Whether or not organization members can create new repositories. Defaults to `true`.
	MembersCanCreateRepositories pulumi.BoolPtrOutput `pulumi:"membersCanCreateRepositories"`
	// Whether or not organization members can fork private repositories. Defaults to `false`.
	MembersCanForkPrivateRepositories pulumi.BoolPtrOutput `pulumi:"membersCanForkPrivateRepositories"`
	// The name for the organization.
	Name pulumi.StringOutput `pulumi:"name"`
	// Whether or not secret scanning is enabled for new repositories. Defaults to `false`.
	SecretScanningEnabledForNewRepositories pulumi.BoolPtrOutput `pulumi:"secretScanningEnabledForNewRepositories"`
	// Whether or not secret scanning push protection is enabled for new repositories. Defaults to `false`.
	SecretScanningPushProtectionEnabledForNewRepositories pulumi.BoolPtrOutput `pulumi:"secretScanningPushProtectionEnabledForNewRepositories"`
	// The Twitter username for the organization.
	TwitterUsername pulumi.StringPtrOutput `pulumi:"twitterUsername"`
	// Whether or not commit signatures are required for commits to the organization. Defaults to `false`.
	WebCommitSignoffRequired pulumi.BoolPtrOutput `pulumi:"webCommitSignoffRequired"`
}

This resource allows you to create and manage settings for a GitHub Organization.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.NewOrganizationSettings(ctx, "test", &github.OrganizationSettingsArgs{
			AdvancedSecurityEnabledForNewRepositories: pulumi.Bool(false),
			BillingEmail:                pulumi.String("test@example.com"),
			Blog:                        pulumi.String("https://example.com"),
			Company:                     pulumi.String("Test Company"),
			DefaultRepositoryPermission: pulumi.String("read"),
			DependabotAlertsEnabledForNewRepositories:             pulumi.Bool(false),
			DependabotSecurityUpdatesEnabledForNewRepositories:    pulumi.Bool(false),
			DependencyGraphEnabledForNewRepositories:              pulumi.Bool(false),
			Description:                                           pulumi.String("Test Description"),
			Email:                                                 pulumi.String("test@example.com"),
			HasOrganizationProjects:                               pulumi.Bool(true),
			HasRepositoryProjects:                                 pulumi.Bool(true),
			Location:                                              pulumi.String("Test Location"),
			MembersCanCreateInternalRepositories:                  pulumi.Bool(true),
			MembersCanCreatePages:                                 pulumi.Bool(true),
			MembersCanCreatePrivatePages:                          pulumi.Bool(true),
			MembersCanCreatePrivateRepositories:                   pulumi.Bool(true),
			MembersCanCreatePublicPages:                           pulumi.Bool(true),
			MembersCanCreatePublicRepositories:                    pulumi.Bool(true),
			MembersCanCreateRepositories:                          pulumi.Bool(true),
			MembersCanForkPrivateRepositories:                     pulumi.Bool(true),
			SecretScanningEnabledForNewRepositories:               pulumi.Bool(false),
			SecretScanningPushProtectionEnabledForNewRepositories: pulumi.Bool(false),
			TwitterUsername:                                       pulumi.String("Test"),
			WebCommitSignoffRequired:                              pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Organization settings can be imported using the `id` of the organization. The `id` of the organization can be found using the [get an organization](https://docs.github.com/en/rest/orgs/orgs#get-an-organization) API.

```sh $ pulumi import github:index/organizationSettings:OrganizationSettings test 123456789 ```

func GetOrganizationSettings

func GetOrganizationSettings(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationSettingsState, opts ...pulumi.ResourceOption) (*OrganizationSettings, error)

GetOrganizationSettings gets an existing OrganizationSettings 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 NewOrganizationSettings

func NewOrganizationSettings(ctx *pulumi.Context,
	name string, args *OrganizationSettingsArgs, opts ...pulumi.ResourceOption) (*OrganizationSettings, error)

NewOrganizationSettings registers a new resource with the given unique name, arguments, and options.

func (*OrganizationSettings) ElementType

func (*OrganizationSettings) ElementType() reflect.Type

func (*OrganizationSettings) ToOrganizationSettingsOutput

func (i *OrganizationSettings) ToOrganizationSettingsOutput() OrganizationSettingsOutput

func (*OrganizationSettings) ToOrganizationSettingsOutputWithContext

func (i *OrganizationSettings) ToOrganizationSettingsOutputWithContext(ctx context.Context) OrganizationSettingsOutput

type OrganizationSettingsArgs

type OrganizationSettingsArgs struct {
	// Whether or not advanced security is enabled for new repositories. Defaults to `false`.
	AdvancedSecurityEnabledForNewRepositories pulumi.BoolPtrInput
	// The billing email address for the organization.
	BillingEmail pulumi.StringInput
	// The blog URL for the organization.
	Blog pulumi.StringPtrInput
	// The company name for the organization.
	Company pulumi.StringPtrInput
	// The default permission for organization members to create new repositories. Can be one of `read`, `write`, `admin`, or `none`. Defaults to `read`.
	DefaultRepositoryPermission pulumi.StringPtrInput
	// Whether or not dependabot alerts are enabled for new repositories. Defaults to `false`.
	DependabotAlertsEnabledForNewRepositories pulumi.BoolPtrInput
	// Whether or not dependabot security updates are enabled for new repositories. Defaults to `false`.
	DependabotSecurityUpdatesEnabledForNewRepositories pulumi.BoolPtrInput
	// Whether or not dependency graph is enabled for new repositories. Defaults to `false`.
	DependencyGraphEnabledForNewRepositories pulumi.BoolPtrInput
	// The description for the organization.
	Description pulumi.StringPtrInput
	// The email address for the organization.
	Email pulumi.StringPtrInput
	// Whether or not organization projects are enabled for the organization.
	HasOrganizationProjects pulumi.BoolPtrInput
	// Whether or not repository projects are enabled for the organization.
	HasRepositoryProjects pulumi.BoolPtrInput
	// The location for the organization.
	Location pulumi.StringPtrInput
	// Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
	MembersCanCreateInternalRepositories pulumi.BoolPtrInput
	// Whether or not organization members can create new pages. Defaults to `true`.
	MembersCanCreatePages pulumi.BoolPtrInput
	// Whether or not organization members can create new private pages. Defaults to `true`.
	MembersCanCreatePrivatePages pulumi.BoolPtrInput
	// Whether or not organization members can create new private repositories. Defaults to `true`.
	MembersCanCreatePrivateRepositories pulumi.BoolPtrInput
	// Whether or not organization members can create new public pages. Defaults to `true`.
	MembersCanCreatePublicPages pulumi.BoolPtrInput
	// Whether or not organization members can create new public repositories. Defaults to `true`.
	MembersCanCreatePublicRepositories pulumi.BoolPtrInput
	// Whether or not organization members can create new repositories. Defaults to `true`.
	MembersCanCreateRepositories pulumi.BoolPtrInput
	// Whether or not organization members can fork private repositories. Defaults to `false`.
	MembersCanForkPrivateRepositories pulumi.BoolPtrInput
	// The name for the organization.
	Name pulumi.StringPtrInput
	// Whether or not secret scanning is enabled for new repositories. Defaults to `false`.
	SecretScanningEnabledForNewRepositories pulumi.BoolPtrInput
	// Whether or not secret scanning push protection is enabled for new repositories. Defaults to `false`.
	SecretScanningPushProtectionEnabledForNewRepositories pulumi.BoolPtrInput
	// The Twitter username for the organization.
	TwitterUsername pulumi.StringPtrInput
	// Whether or not commit signatures are required for commits to the organization. Defaults to `false`.
	WebCommitSignoffRequired pulumi.BoolPtrInput
}

The set of arguments for constructing a OrganizationSettings resource.

func (OrganizationSettingsArgs) ElementType

func (OrganizationSettingsArgs) ElementType() reflect.Type

type OrganizationSettingsArray

type OrganizationSettingsArray []OrganizationSettingsInput

func (OrganizationSettingsArray) ElementType

func (OrganizationSettingsArray) ElementType() reflect.Type

func (OrganizationSettingsArray) ToOrganizationSettingsArrayOutput

func (i OrganizationSettingsArray) ToOrganizationSettingsArrayOutput() OrganizationSettingsArrayOutput

func (OrganizationSettingsArray) ToOrganizationSettingsArrayOutputWithContext

func (i OrganizationSettingsArray) ToOrganizationSettingsArrayOutputWithContext(ctx context.Context) OrganizationSettingsArrayOutput

type OrganizationSettingsArrayInput

type OrganizationSettingsArrayInput interface {
	pulumi.Input

	ToOrganizationSettingsArrayOutput() OrganizationSettingsArrayOutput
	ToOrganizationSettingsArrayOutputWithContext(context.Context) OrganizationSettingsArrayOutput
}

OrganizationSettingsArrayInput is an input type that accepts OrganizationSettingsArray and OrganizationSettingsArrayOutput values. You can construct a concrete instance of `OrganizationSettingsArrayInput` via:

OrganizationSettingsArray{ OrganizationSettingsArgs{...} }

type OrganizationSettingsArrayOutput

type OrganizationSettingsArrayOutput struct{ *pulumi.OutputState }

func (OrganizationSettingsArrayOutput) ElementType

func (OrganizationSettingsArrayOutput) Index

func (OrganizationSettingsArrayOutput) ToOrganizationSettingsArrayOutput

func (o OrganizationSettingsArrayOutput) ToOrganizationSettingsArrayOutput() OrganizationSettingsArrayOutput

func (OrganizationSettingsArrayOutput) ToOrganizationSettingsArrayOutputWithContext

func (o OrganizationSettingsArrayOutput) ToOrganizationSettingsArrayOutputWithContext(ctx context.Context) OrganizationSettingsArrayOutput

type OrganizationSettingsInput

type OrganizationSettingsInput interface {
	pulumi.Input

	ToOrganizationSettingsOutput() OrganizationSettingsOutput
	ToOrganizationSettingsOutputWithContext(ctx context.Context) OrganizationSettingsOutput
}

type OrganizationSettingsMap

type OrganizationSettingsMap map[string]OrganizationSettingsInput

func (OrganizationSettingsMap) ElementType

func (OrganizationSettingsMap) ElementType() reflect.Type

func (OrganizationSettingsMap) ToOrganizationSettingsMapOutput

func (i OrganizationSettingsMap) ToOrganizationSettingsMapOutput() OrganizationSettingsMapOutput

func (OrganizationSettingsMap) ToOrganizationSettingsMapOutputWithContext

func (i OrganizationSettingsMap) ToOrganizationSettingsMapOutputWithContext(ctx context.Context) OrganizationSettingsMapOutput

type OrganizationSettingsMapInput

type OrganizationSettingsMapInput interface {
	pulumi.Input

	ToOrganizationSettingsMapOutput() OrganizationSettingsMapOutput
	ToOrganizationSettingsMapOutputWithContext(context.Context) OrganizationSettingsMapOutput
}

OrganizationSettingsMapInput is an input type that accepts OrganizationSettingsMap and OrganizationSettingsMapOutput values. You can construct a concrete instance of `OrganizationSettingsMapInput` via:

OrganizationSettingsMap{ "key": OrganizationSettingsArgs{...} }

type OrganizationSettingsMapOutput

type OrganizationSettingsMapOutput struct{ *pulumi.OutputState }

func (OrganizationSettingsMapOutput) ElementType

func (OrganizationSettingsMapOutput) MapIndex

func (OrganizationSettingsMapOutput) ToOrganizationSettingsMapOutput

func (o OrganizationSettingsMapOutput) ToOrganizationSettingsMapOutput() OrganizationSettingsMapOutput

func (OrganizationSettingsMapOutput) ToOrganizationSettingsMapOutputWithContext

func (o OrganizationSettingsMapOutput) ToOrganizationSettingsMapOutputWithContext(ctx context.Context) OrganizationSettingsMapOutput

type OrganizationSettingsOutput

type OrganizationSettingsOutput struct{ *pulumi.OutputState }

func (OrganizationSettingsOutput) AdvancedSecurityEnabledForNewRepositories

func (o OrganizationSettingsOutput) AdvancedSecurityEnabledForNewRepositories() pulumi.BoolPtrOutput

Whether or not advanced security is enabled for new repositories. Defaults to `false`.

func (OrganizationSettingsOutput) BillingEmail

The billing email address for the organization.

func (OrganizationSettingsOutput) Blog

The blog URL for the organization.

func (OrganizationSettingsOutput) Company

The company name for the organization.

func (OrganizationSettingsOutput) DefaultRepositoryPermission

func (o OrganizationSettingsOutput) DefaultRepositoryPermission() pulumi.StringPtrOutput

The default permission for organization members to create new repositories. Can be one of `read`, `write`, `admin`, or `none`. Defaults to `read`.

func (OrganizationSettingsOutput) DependabotAlertsEnabledForNewRepositories

func (o OrganizationSettingsOutput) DependabotAlertsEnabledForNewRepositories() pulumi.BoolPtrOutput

Whether or not dependabot alerts are enabled for new repositories. Defaults to `false`.

func (OrganizationSettingsOutput) DependabotSecurityUpdatesEnabledForNewRepositories

func (o OrganizationSettingsOutput) DependabotSecurityUpdatesEnabledForNewRepositories() pulumi.BoolPtrOutput

Whether or not dependabot security updates are enabled for new repositories. Defaults to `false`.

func (OrganizationSettingsOutput) DependencyGraphEnabledForNewRepositories

func (o OrganizationSettingsOutput) DependencyGraphEnabledForNewRepositories() pulumi.BoolPtrOutput

Whether or not dependency graph is enabled for new repositories. Defaults to `false`.

func (OrganizationSettingsOutput) Description

The description for the organization.

func (OrganizationSettingsOutput) ElementType

func (OrganizationSettingsOutput) ElementType() reflect.Type

func (OrganizationSettingsOutput) Email

The email address for the organization.

func (OrganizationSettingsOutput) HasOrganizationProjects

func (o OrganizationSettingsOutput) HasOrganizationProjects() pulumi.BoolPtrOutput

Whether or not organization projects are enabled for the organization.

func (OrganizationSettingsOutput) HasRepositoryProjects

func (o OrganizationSettingsOutput) HasRepositoryProjects() pulumi.BoolPtrOutput

Whether or not repository projects are enabled for the organization.

func (OrganizationSettingsOutput) Location

The location for the organization.

func (OrganizationSettingsOutput) MembersCanCreateInternalRepositories

func (o OrganizationSettingsOutput) MembersCanCreateInternalRepositories() pulumi.BoolPtrOutput

Whether or not organization members can create new internal repositories. For Enterprise Organizations only.

func (OrganizationSettingsOutput) MembersCanCreatePages

func (o OrganizationSettingsOutput) MembersCanCreatePages() pulumi.BoolPtrOutput

Whether or not organization members can create new pages. Defaults to `true`.

func (OrganizationSettingsOutput) MembersCanCreatePrivatePages

func (o OrganizationSettingsOutput) MembersCanCreatePrivatePages() pulumi.BoolPtrOutput

Whether or not organization members can create new private pages. Defaults to `true`.

func (OrganizationSettingsOutput) MembersCanCreatePrivateRepositories

func (o OrganizationSettingsOutput) MembersCanCreatePrivateRepositories() pulumi.BoolPtrOutput

Whether or not organization members can create new private repositories. Defaults to `true`.

func (OrganizationSettingsOutput) MembersCanCreatePublicPages

func (o OrganizationSettingsOutput) MembersCanCreatePublicPages() pulumi.BoolPtrOutput

Whether or not organization members can create new public pages. Defaults to `true`.

func (OrganizationSettingsOutput) MembersCanCreatePublicRepositories

func (o OrganizationSettingsOutput) MembersCanCreatePublicRepositories() pulumi.BoolPtrOutput

Whether or not organization members can create new public repositories. Defaults to `true`.

func (OrganizationSettingsOutput) MembersCanCreateRepositories

func (o OrganizationSettingsOutput) MembersCanCreateRepositories() pulumi.BoolPtrOutput

Whether or not organization members can create new repositories. Defaults to `true`.

func (OrganizationSettingsOutput) MembersCanForkPrivateRepositories

func (o OrganizationSettingsOutput) MembersCanForkPrivateRepositories() pulumi.BoolPtrOutput

Whether or not organization members can fork private repositories. Defaults to `false`.

func (OrganizationSettingsOutput) Name

The name for the organization.

func (OrganizationSettingsOutput) SecretScanningEnabledForNewRepositories

func (o OrganizationSettingsOutput) SecretScanningEnabledForNewRepositories() pulumi.BoolPtrOutput

Whether or not secret scanning is enabled for new repositories. Defaults to `false`.

func (OrganizationSettingsOutput) SecretScanningPushProtectionEnabledForNewRepositories

func (o OrganizationSettingsOutput) SecretScanningPushProtectionEnabledForNewRepositories() pulumi.BoolPtrOutput

Whether or not secret scanning push protection is enabled for new repositories. Defaults to `false`.

func (OrganizationSettingsOutput) ToOrganizationSettingsOutput

func (o OrganizationSettingsOutput) ToOrganizationSettingsOutput() OrganizationSettingsOutput

func (OrganizationSettingsOutput) ToOrganizationSettingsOutputWithContext

func (o OrganizationSettingsOutput) ToOrganizationSettingsOutputWithContext(ctx context.Context) OrganizationSettingsOutput

func (OrganizationSettingsOutput) TwitterUsername

The Twitter username for the organization.

func (OrganizationSettingsOutput) WebCommitSignoffRequired

func (o OrganizationSettingsOutput) WebCommitSignoffRequired() pulumi.BoolPtrOutput

Whether or not commit signatures are required for commits to the organization. Defaults to `false`.

type OrganizationSettingsState

type OrganizationSettingsState struct {
	// Whether or not advanced security is enabled for new repositories. Defaults to `false`.
	AdvancedSecurityEnabledForNewRepositories pulumi.BoolPtrInput
	// The billing email address for the organization.
	BillingEmail pulumi.StringPtrInput
	// The blog URL for the organization.
	Blog pulumi.StringPtrInput
	// The company name for the organization.
	Company pulumi.StringPtrInput
	// The default permission for organization members to create new repositories. Can be one of `read`, `write`, `admin`, or `none`. Defaults to `read`.
	DefaultRepositoryPermission pulumi.StringPtrInput
	// Whether or not dependabot alerts are enabled for new repositories. Defaults to `false`.
	DependabotAlertsEnabledForNewRepositories pulumi.BoolPtrInput
	// Whether or not dependabot security updates are enabled for new repositories. Defaults to `false`.
	DependabotSecurityUpdatesEnabledForNewRepositories pulumi.BoolPtrInput
	// Whether or not dependency graph is enabled for new repositories. Defaults to `false`.
	DependencyGraphEnabledForNewRepositories pulumi.BoolPtrInput
	// The description for the organization.
	Description pulumi.StringPtrInput
	// The email address for the organization.
	Email pulumi.StringPtrInput
	// Whether or not organization projects are enabled for the organization.
	HasOrganizationProjects pulumi.BoolPtrInput
	// Whether or not repository projects are enabled for the organization.
	HasRepositoryProjects pulumi.BoolPtrInput
	// The location for the organization.
	Location pulumi.StringPtrInput
	// Whether or not organization members can create new internal repositories. For Enterprise Organizations only.
	MembersCanCreateInternalRepositories pulumi.BoolPtrInput
	// Whether or not organization members can create new pages. Defaults to `true`.
	MembersCanCreatePages pulumi.BoolPtrInput
	// Whether or not organization members can create new private pages. Defaults to `true`.
	MembersCanCreatePrivatePages pulumi.BoolPtrInput
	// Whether or not organization members can create new private repositories. Defaults to `true`.
	MembersCanCreatePrivateRepositories pulumi.BoolPtrInput
	// Whether or not organization members can create new public pages. Defaults to `true`.
	MembersCanCreatePublicPages pulumi.BoolPtrInput
	// Whether or not organization members can create new public repositories. Defaults to `true`.
	MembersCanCreatePublicRepositories pulumi.BoolPtrInput
	// Whether or not organization members can create new repositories. Defaults to `true`.
	MembersCanCreateRepositories pulumi.BoolPtrInput
	// Whether or not organization members can fork private repositories. Defaults to `false`.
	MembersCanForkPrivateRepositories pulumi.BoolPtrInput
	// The name for the organization.
	Name pulumi.StringPtrInput
	// Whether or not secret scanning is enabled for new repositories. Defaults to `false`.
	SecretScanningEnabledForNewRepositories pulumi.BoolPtrInput
	// Whether or not secret scanning push protection is enabled for new repositories. Defaults to `false`.
	SecretScanningPushProtectionEnabledForNewRepositories pulumi.BoolPtrInput
	// The Twitter username for the organization.
	TwitterUsername pulumi.StringPtrInput
	// Whether or not commit signatures are required for commits to the organization. Defaults to `false`.
	WebCommitSignoffRequired pulumi.BoolPtrInput
}

func (OrganizationSettingsState) ElementType

func (OrganizationSettingsState) 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.

## 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) Index

func (OrganizationWebhookArrayOutput) ToOrganizationWebhookArrayOutput

func (o OrganizationWebhookArrayOutput) ToOrganizationWebhookArrayOutput() OrganizationWebhookArrayOutput

func (OrganizationWebhookArrayOutput) ToOrganizationWebhookArrayOutputWithContext

func (o OrganizationWebhookArrayOutput) ToOrganizationWebhookArrayOutputWithContext(ctx context.Context) OrganizationWebhookArrayOutput

type OrganizationWebhookConfiguration

type OrganizationWebhookConfiguration 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
	Secret *string `pulumi:"secret"`
	// URL of the webhook
	Url string `pulumi:"url"`
}

type OrganizationWebhookConfigurationArgs

type OrganizationWebhookConfigurationArgs 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
	Secret pulumi.StringPtrInput `pulumi:"secret"`
	// URL of the webhook
	Url pulumi.StringInput `pulumi:"url"`
}

func (OrganizationWebhookConfigurationArgs) ElementType

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

The content type for the payload. Valid values are either 'form' or 'json'.

func (OrganizationWebhookConfigurationOutput) ElementType

func (OrganizationWebhookConfigurationOutput) InsecureSsl

Insecure SSL boolean toggle. Defaults to 'false'.

func (OrganizationWebhookConfigurationOutput) Secret

The shared secret for the webhook

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

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

type OrganizationWebhookConfigurationPtrOutput

type OrganizationWebhookConfigurationPtrOutput struct{ *pulumi.OutputState }

func (OrganizationWebhookConfigurationPtrOutput) ContentType

The content type for the payload. Valid values are either 'form' or 'json'.

func (OrganizationWebhookConfigurationPtrOutput) Elem

func (OrganizationWebhookConfigurationPtrOutput) ElementType

func (OrganizationWebhookConfigurationPtrOutput) InsecureSsl

Insecure SSL boolean toggle. Defaults to 'false'.

func (OrganizationWebhookConfigurationPtrOutput) Secret

The shared secret for the webhook

func (OrganizationWebhookConfigurationPtrOutput) ToOrganizationWebhookConfigurationPtrOutput

func (o OrganizationWebhookConfigurationPtrOutput) ToOrganizationWebhookConfigurationPtrOutput() OrganizationWebhookConfigurationPtrOutput

func (OrganizationWebhookConfigurationPtrOutput) ToOrganizationWebhookConfigurationPtrOutputWithContext

func (o OrganizationWebhookConfigurationPtrOutput) ToOrganizationWebhookConfigurationPtrOutputWithContext(ctx context.Context) OrganizationWebhookConfigurationPtrOutput

func (OrganizationWebhookConfigurationPtrOutput) Url

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) MapIndex

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

Indicate of the webhook should receive events. Defaults to `true`.

func (OrganizationWebhookOutput) Configuration

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

func (OrganizationWebhookOutput) Events

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

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

	// The ID of the card.
	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`
	//
	// **Remarks:** You must either set the `note` attribute or both `contentId` and `contentType`.
	// See note example or issue example for more information.
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

### Adding An Issue To A Project

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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`
	//
	// **Remarks:** You must either set the `note` attribute or both `contentId` and `contentType`.
	// See note example or issue example for more information.
	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 (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 (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

func (o ProjectCardOutput) CardId() pulumi.IntOutput

The ID of the card.

func (ProjectCardOutput) ColumnId

func (o ProjectCardOutput) ColumnId() pulumi.StringOutput

The ID of the card.

func (ProjectCardOutput) ContentId

func (o ProjectCardOutput) ContentId() pulumi.IntPtrOutput

`github_issue.issue_id`.

func (ProjectCardOutput) ContentType

func (o ProjectCardOutput) ContentType() pulumi.StringPtrOutput

Must be either `Issue` or `PullRequest`

**Remarks:** You must either set the `note` attribute or both `contentId` and `contentType`. See note example or issue example for more information.

func (ProjectCardOutput) ElementType

func (ProjectCardOutput) ElementType() reflect.Type

func (ProjectCardOutput) Etag

func (ProjectCardOutput) Note

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 {
	// The ID of the card.
	CardId pulumi.IntPtrInput
	// The ID of the card.
	ColumnId pulumi.StringPtrInput
	// `github_issue.issue_id`.
	ContentId pulumi.IntPtrInput
	// Must be either `Issue` or `PullRequest`
	//
	// **Remarks:** You must either set the `note` attribute or both `contentId` and `contentType`.
	// See note example or issue example for more information.
	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

	// The ID of the column.
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

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 (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 (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

func (o ProjectColumnOutput) ColumnId() pulumi.IntOutput

The ID of the column.

func (ProjectColumnOutput) ElementType

func (ProjectColumnOutput) ElementType() reflect.Type

func (ProjectColumnOutput) Etag

func (ProjectColumnOutput) Name

The name of the column.

func (ProjectColumnOutput) ProjectId

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 {
	// The ID of the column.
	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) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderAppAuth

type ProviderAppAuth struct {
	// The GitHub App ID.
	Id string `pulumi:"id"`
	// The GitHub App installation instance ID.
	InstallationId string `pulumi:"installationId"`
	// The GitHub App PEM file contents.
	PemFile string `pulumi:"pemFile"`
}

type ProviderAppAuthArgs

type ProviderAppAuthArgs struct {
	// The GitHub App ID.
	Id pulumi.StringInput `pulumi:"id"`
	// The GitHub App installation instance ID.
	InstallationId pulumi.StringInput `pulumi:"installationId"`
	// The GitHub App PEM file contents.
	PemFile pulumi.StringInput `pulumi:"pemFile"`
}

func (ProviderAppAuthArgs) ElementType

func (ProviderAppAuthArgs) ElementType() reflect.Type

func (ProviderAppAuthArgs) ToProviderAppAuthOutput

func (i ProviderAppAuthArgs) ToProviderAppAuthOutput() ProviderAppAuthOutput

func (ProviderAppAuthArgs) ToProviderAppAuthOutputWithContext

func (i ProviderAppAuthArgs) ToProviderAppAuthOutputWithContext(ctx context.Context) ProviderAppAuthOutput

func (ProviderAppAuthArgs) ToProviderAppAuthPtrOutput

func (i ProviderAppAuthArgs) ToProviderAppAuthPtrOutput() ProviderAppAuthPtrOutput

func (ProviderAppAuthArgs) ToProviderAppAuthPtrOutputWithContext

func (i ProviderAppAuthArgs) ToProviderAppAuthPtrOutputWithContext(ctx context.Context) ProviderAppAuthPtrOutput

type ProviderAppAuthInput

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

type ProviderAppAuthOutput struct{ *pulumi.OutputState }

func (ProviderAppAuthOutput) ElementType

func (ProviderAppAuthOutput) ElementType() reflect.Type

func (ProviderAppAuthOutput) Id

The GitHub App ID.

func (ProviderAppAuthOutput) InstallationId

func (o ProviderAppAuthOutput) InstallationId() pulumi.StringOutput

The GitHub App installation instance ID.

func (ProviderAppAuthOutput) PemFile

The GitHub App PEM file contents.

func (ProviderAppAuthOutput) ToProviderAppAuthOutput

func (o ProviderAppAuthOutput) ToProviderAppAuthOutput() ProviderAppAuthOutput

func (ProviderAppAuthOutput) ToProviderAppAuthOutputWithContext

func (o ProviderAppAuthOutput) ToProviderAppAuthOutputWithContext(ctx context.Context) ProviderAppAuthOutput

func (ProviderAppAuthOutput) ToProviderAppAuthPtrOutput

func (o ProviderAppAuthOutput) ToProviderAppAuthPtrOutput() ProviderAppAuthPtrOutput

func (ProviderAppAuthOutput) ToProviderAppAuthPtrOutputWithContext

func (o ProviderAppAuthOutput) ToProviderAppAuthPtrOutputWithContext(ctx context.Context) ProviderAppAuthPtrOutput

type ProviderAppAuthPtrInput

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

type ProviderAppAuthPtrOutput

type ProviderAppAuthPtrOutput struct{ *pulumi.OutputState }

func (ProviderAppAuthPtrOutput) Elem

func (ProviderAppAuthPtrOutput) ElementType

func (ProviderAppAuthPtrOutput) ElementType() reflect.Type

func (ProviderAppAuthPtrOutput) Id

The GitHub App ID.

func (ProviderAppAuthPtrOutput) InstallationId

func (o ProviderAppAuthPtrOutput) InstallationId() pulumi.StringPtrOutput

The GitHub App installation instance ID.

func (ProviderAppAuthPtrOutput) PemFile

The GitHub App PEM file contents.

func (ProviderAppAuthPtrOutput) ToProviderAppAuthPtrOutput

func (o ProviderAppAuthPtrOutput) ToProviderAppAuthPtrOutput() ProviderAppAuthPtrOutput

func (ProviderAppAuthPtrOutput) ToProviderAppAuthPtrOutputWithContext

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
	// Number of times to retry a request after receiving an error status codeDefaults to 3
	MaxRetries pulumi.IntPtrInput
	// 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
	// Allow the provider to make parallel API calls to GitHub. You may want to set it to true when you have a private Github
	// Enterprise without strict rate limits. Although, it is not possible to enable this setting on github.com because we
	// enforce the respect of github.com's best practices to avoid hitting abuse rate limitsDefaults to false if not set
	ParallelRequests pulumi.BoolPtrInput
	// Amount of time in milliseconds to sleep in between non-write requests to GitHub API. Defaults to 0ms if not set.
	ReadDelayMs pulumi.IntPtrInput
	// Amount of time in milliseconds to sleep in between requests to GitHub API after an error response. Defaults to 1000ms or
	// 1s if not set, the max_retries must be set to greater than zero.
	RetryDelayMs pulumi.IntPtrInput
	// Allow the provider to retry after receiving an error status code, the max_retries should be set for this to workDefaults
	// to [500, 502, 503, 504]
	RetryableErrors pulumi.IntArrayInput
	// 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

The GitHub Base API URL

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) Organization deprecated

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

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

The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `app_auth` are not set.

type Release

type Release struct {
	pulumi.CustomResourceState

	// Text describing the contents of the tag.
	Body pulumi.StringPtrOutput `pulumi:"body"`
	// If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see [Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository).
	DiscussionCategoryName pulumi.StringPtrOutput `pulumi:"discussionCategoryName"`
	// Set to `false` to create a published release.
	Draft pulumi.BoolPtrOutput `pulumi:"draft"`
	Etag  pulumi.StringOutput  `pulumi:"etag"`
	// Set to `true` to automatically generate the name and body for this release. If `name` is specified, the specified `name` will be used; otherwise, a name will be automatically generated. If `body` is specified, the `body` will be pre-pended to the automatically generated notes.
	GenerateReleaseNotes pulumi.BoolPtrOutput `pulumi:"generateReleaseNotes"`
	// The name of the release.
	Name pulumi.StringOutput `pulumi:"name"`
	// Set to `false` to identify the release as a full release.
	Prerelease pulumi.BoolPtrOutput `pulumi:"prerelease"`
	// The name of the repository.
	Repository pulumi.StringOutput `pulumi:"repository"`
	// The name of the tag.
	TagName pulumi.StringOutput `pulumi:"tagName"`
	// The branch name or commit SHA the tag is created from. Defaults to the default branch of the repository.
	TargetCommitish pulumi.StringPtrOutput `pulumi:"targetCommitish"`
}

This resource allows you to create and manage a release in a specific GitHub repository.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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.NewRelease(ctx, "example", &github.ReleaseArgs{
			Repository: repo.Name,
			TagName:    pulumi.String("v1.0.0"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### On Non-Default Branch

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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", &github.RepositoryArgs{
			AutoInit: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleBranch, err := github.NewBranch(ctx, "exampleBranch", &github.BranchArgs{
			Repository:   exampleRepository.Name,
			Branch:       pulumi.String("branch_name"),
			SourceBranch: exampleRepository.DefaultBranch,
		})
		if err != nil {
			return err
		}
		_, err = github.NewRelease(ctx, "exampleRelease", &github.ReleaseArgs{
			Repository:      exampleRepository.Name,
			TagName:         pulumi.String("v1.0.0"),
			TargetCommitish: exampleBranch.Branch,
			Draft:           pulumi.Bool(false),
			Prerelease:      pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

This resource can be imported using the `name` of the repository, combined with the `id` of the release, and a `:` character for separating components, e.g.

```sh $ pulumi import github:index/release:Release example repo:12345678 ```

func GetRelease

func GetRelease(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReleaseState, opts ...pulumi.ResourceOption) (*Release, error)

GetRelease gets an existing Release 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 NewRelease

func NewRelease(ctx *pulumi.Context,
	name string, args *ReleaseArgs, opts ...pulumi.ResourceOption) (*Release, error)

NewRelease registers a new resource with the given unique name, arguments, and options.

func (*Release) ElementType

func (*Release) ElementType() reflect.Type

func (*Release) ToReleaseOutput

func (i *Release) ToReleaseOutput() ReleaseOutput

func (*Release) ToReleaseOutputWithContext

func (i *Release) ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput

type ReleaseArgs

type ReleaseArgs struct {
	// Text describing the contents of the tag.
	Body pulumi.StringPtrInput
	// If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see [Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository).
	DiscussionCategoryName pulumi.StringPtrInput
	// Set to `false` to create a published release.
	Draft pulumi.BoolPtrInput
	// Set to `true` to automatically generate the name and body for this release. If `name` is specified, the specified `name` will be used; otherwise, a name will be automatically generated. If `body` is specified, the `body` will be pre-pended to the automatically generated notes.
	GenerateReleaseNotes pulumi.BoolPtrInput
	// The name of the release.
	Name pulumi.StringPtrInput
	// Set to `false` to identify the release as a full release.
	Prerelease pulumi.BoolPtrInput
	// The name of the repository.
	Repository pulumi.StringInput
	// The name of the tag.
	TagName pulumi.StringInput
	// The branch name or commit SHA the tag is created from. Defaults to the default branch of the repository.
	TargetCommitish pulumi.StringPtrInput
}

The set of arguments for constructing a Release resource.

func (ReleaseArgs) ElementType

func (ReleaseArgs) ElementType() reflect.Type

type ReleaseArray

type ReleaseArray []ReleaseInput

func (ReleaseArray) ElementType

func (ReleaseArray) ElementType() reflect.Type

func (ReleaseArray) ToReleaseArrayOutput

func (i ReleaseArray) ToReleaseArrayOutput() ReleaseArrayOutput

func (ReleaseArray) ToReleaseArrayOutputWithContext

func (i ReleaseArray) ToReleaseArrayOutputWithContext(ctx context.Context) ReleaseArrayOutput

type ReleaseArrayInput

type ReleaseArrayInput interface {
	pulumi.Input

	ToReleaseArrayOutput() ReleaseArrayOutput
	ToReleaseArrayOutputWithContext(context.Context) ReleaseArrayOutput
}

ReleaseArrayInput is an input type that accepts ReleaseArray and ReleaseArrayOutput values. You can construct a concrete instance of `ReleaseArrayInput` via:

ReleaseArray{ ReleaseArgs{...} }

type ReleaseArrayOutput

type ReleaseArrayOutput struct{ *pulumi.OutputState }

func (ReleaseArrayOutput) ElementType

func (ReleaseArrayOutput) ElementType() reflect.Type

func (ReleaseArrayOutput) Index

func (ReleaseArrayOutput) ToReleaseArrayOutput

func (o ReleaseArrayOutput) ToReleaseArrayOutput() ReleaseArrayOutput

func (ReleaseArrayOutput) ToReleaseArrayOutputWithContext

func (o ReleaseArrayOutput) ToReleaseArrayOutputWithContext(ctx context.Context) ReleaseArrayOutput

type ReleaseInput

type ReleaseInput interface {
	pulumi.Input

	ToReleaseOutput() ReleaseOutput
	ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput
}

type ReleaseMap

type ReleaseMap map[string]ReleaseInput

func (ReleaseMap) ElementType

func (ReleaseMap) ElementType() reflect.Type

func (ReleaseMap) ToReleaseMapOutput

func (i ReleaseMap) ToReleaseMapOutput() ReleaseMapOutput

func (ReleaseMap) ToReleaseMapOutputWithContext

func (i ReleaseMap) ToReleaseMapOutputWithContext(ctx context.Context) ReleaseMapOutput

type ReleaseMapInput

type ReleaseMapInput interface {
	pulumi.Input

	ToReleaseMapOutput() ReleaseMapOutput
	ToReleaseMapOutputWithContext(context.Context) ReleaseMapOutput
}

ReleaseMapInput is an input type that accepts ReleaseMap and ReleaseMapOutput values. You can construct a concrete instance of `ReleaseMapInput` via:

ReleaseMap{ "key": ReleaseArgs{...} }

type ReleaseMapOutput

type ReleaseMapOutput struct{ *pulumi.OutputState }

func (ReleaseMapOutput) ElementType

func (ReleaseMapOutput) ElementType() reflect.Type

func (ReleaseMapOutput) MapIndex

func (ReleaseMapOutput) ToReleaseMapOutput

func (o ReleaseMapOutput) ToReleaseMapOutput() ReleaseMapOutput

func (ReleaseMapOutput) ToReleaseMapOutputWithContext

func (o ReleaseMapOutput) ToReleaseMapOutputWithContext(ctx context.Context) ReleaseMapOutput

type ReleaseOutput

type ReleaseOutput struct{ *pulumi.OutputState }

func (ReleaseOutput) Body

Text describing the contents of the tag.

func (ReleaseOutput) DiscussionCategoryName

func (o ReleaseOutput) DiscussionCategoryName() pulumi.StringPtrOutput

If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see [Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository).

func (ReleaseOutput) Draft

Set to `false` to create a published release.

func (ReleaseOutput) ElementType

func (ReleaseOutput) ElementType() reflect.Type

func (ReleaseOutput) Etag

func (ReleaseOutput) GenerateReleaseNotes

func (o ReleaseOutput) GenerateReleaseNotes() pulumi.BoolPtrOutput

Set to `true` to automatically generate the name and body for this release. If `name` is specified, the specified `name` will be used; otherwise, a name will be automatically generated. If `body` is specified, the `body` will be pre-pended to the automatically generated notes.

func (ReleaseOutput) Name

The name of the release.

func (ReleaseOutput) Prerelease

func (o ReleaseOutput) Prerelease() pulumi.BoolPtrOutput

Set to `false` to identify the release as a full release.

func (ReleaseOutput) Repository

func (o ReleaseOutput) Repository() pulumi.StringOutput

The name of the repository.

func (ReleaseOutput) TagName

func (o ReleaseOutput) TagName() pulumi.StringOutput

The name of the tag.

func (ReleaseOutput) TargetCommitish

func (o ReleaseOutput) TargetCommitish() pulumi.StringPtrOutput

The branch name or commit SHA the tag is created from. Defaults to the default branch of the repository.

func (ReleaseOutput) ToReleaseOutput

func (o ReleaseOutput) ToReleaseOutput() ReleaseOutput

func (ReleaseOutput) ToReleaseOutputWithContext

func (o ReleaseOutput) ToReleaseOutputWithContext(ctx context.Context) ReleaseOutput

type ReleaseState

type ReleaseState struct {
	// Text describing the contents of the tag.
	Body pulumi.StringPtrInput
	// If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see [Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository).
	DiscussionCategoryName pulumi.StringPtrInput
	// Set to `false` to create a published release.
	Draft pulumi.BoolPtrInput
	Etag  pulumi.StringPtrInput
	// Set to `true` to automatically generate the name and body for this release. If `name` is specified, the specified `name` will be used; otherwise, a name will be automatically generated. If `body` is specified, the `body` will be pre-pended to the automatically generated notes.
	GenerateReleaseNotes pulumi.BoolPtrInput
	// The name of the release.
	Name pulumi.StringPtrInput
	// Set to `false` to identify the release as a full release.
	Prerelease pulumi.BoolPtrInput
	// The name of the repository.
	Repository pulumi.StringPtrInput
	// The name of the tag.
	TagName pulumi.StringPtrInput
	// The branch name or commit SHA the tag is created from. Defaults to the default branch of the repository.
	TargetCommitish pulumi.StringPtrInput
}

func (ReleaseState) ElementType

func (ReleaseState) ElementType() reflect.Type

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 always suggest updating pull request branches.
	AllowUpdateBranch pulumi.BoolPtrOutput `pulumi:"allowUpdateBranch"`
	// 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"`
	// (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 BranchDefault 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 GitHub Discussions on the repository. Defaults to `false`.
	HasDiscussions pulumi.BoolPtrOutput `pulumi:"hasDiscussions"`
	// 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. Applicable only if `allowMergeCommit` is `true`.
	MergeCommitMessage pulumi.StringPtrOutput `pulumi:"mergeCommitMessage"`
	// Can be `PR_TITLE` or `MERGE_MESSAGE` for a default merge commit title. Applicable only if `allowMergeCommit` is `true`.
	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"`
	// The primary language used in the repository.
	PrimaryLanguage pulumi.StringOutput `pulumi:"primaryLanguage"`
	// 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"`
	// The repository's [security and analysis](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository) configuration. See Security and Analysis Configuration below for details.
	SecurityAndAnalysis RepositorySecurityAndAnalysisOutput `pulumi:"securityAndAnalysis"`
	// Can be `PR_BODY`, `COMMIT_MESSAGES`, or `BLANK` for a default squash merge commit message. Applicable only if `allowSquashMerge` is `true`.
	SquashMergeCommitMessage pulumi.StringPtrOutput `pulumi:"squashMergeCommitMessage"`
	// Can be `PR_TITLE` or `COMMIT_OR_PR_TITLE` for a default squash merge commit title. Applicable only if `allowSquashMerge` is `true`.
	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"`
	// Require contributors to sign off on web-based commits. See more [here](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-commit-signoff-policy-for-your-repository). Defaults to `false`.
	WebCommitSignoffRequired pulumi.BoolPtrOutput `pulumi:"webCommitSignoffRequired"`
}

This resource allows you to create and manage repositories within your GitHub organization or personal account.

> Note: When used with GitHub App authentication, even GET requests must have the `contents:write` permission or else the `allowMergeCommit`, `allowRebaseMerge`, and `allowSquashMerge` attributes will be ignored, causing confusing diffs.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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: &github.RepositoryTemplateArgs{
				IncludeAllBranches: pulumi.Bool(true),
				Owner:              pulumi.String("github"),
				Repository:         pulumi.String("terraform-template-module"),
			},
			Visibility: pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### With GitHub Pages Enabled

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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: &github.RepositoryPagesArgs{
				Source: &github.RepositoryPagesSourceArgs{
					Branch: pulumi.String("master"),
					Path:   pulumi.String("/docs"),
				},
			},
			Private: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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 always suggest updating pull request branches.
	AllowUpdateBranch 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 BranchDefault 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 GitHub Discussions on the repository. Defaults to `false`.
	HasDiscussions pulumi.BoolPtrInput
	// 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. Applicable only if `allowMergeCommit` is `true`.
	MergeCommitMessage pulumi.StringPtrInput
	// Can be `PR_TITLE` or `MERGE_MESSAGE` for a default merge commit title. Applicable only if `allowMergeCommit` is `true`.
	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
	// The repository's [security and analysis](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository) configuration. See Security and Analysis Configuration below for details.
	SecurityAndAnalysis RepositorySecurityAndAnalysisPtrInput
	// Can be `PR_BODY`, `COMMIT_MESSAGES`, or `BLANK` for a default squash merge commit message. Applicable only if `allowSquashMerge` is `true`.
	SquashMergeCommitMessage pulumi.StringPtrInput
	// Can be `PR_TITLE` or `COMMIT_OR_PR_TITLE` for a default squash merge commit title. Applicable only if `allowSquashMerge` is `true`.
	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
	// Require contributors to sign off on web-based commits. See more [here](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-commit-signoff-policy-for-your-repository). Defaults to `false`.
	WebCommitSignoffRequired 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 (RepositoryArrayOutput) ToRepositoryArrayOutput

func (o RepositoryArrayOutput) ToRepositoryArrayOutput() RepositoryArrayOutput

func (RepositoryArrayOutput) ToRepositoryArrayOutputWithContext

func (o RepositoryArrayOutput) ToRepositoryArrayOutputWithContext(ctx context.Context) RepositoryArrayOutput

type RepositoryAutolinkReference

type RepositoryAutolinkReference struct {
	pulumi.CustomResourceState

	// An etag representing the autolink reference object.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters. Default is true.
	IsAlphanumeric pulumi.BoolPtrOutput `pulumi:"isAlphanumeric"`
	// 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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, "autolink", &github.RepositoryAutolinkReferenceArgs{
			Repository:        repo.Name,
			KeyPrefix:         pulumi.String("TICKET-"),
			TargetUrlTemplate: pulumi.String("https://example.com/TICKET?query=<num>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

### Import by key prefix

```sh $ pulumi import github:index/repositoryAutolinkReference:RepositoryAutolinkReference auto oof/OOF- ```

func GetRepositoryAutolinkReference

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

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

func (*RepositoryAutolinkReference) ElementType() reflect.Type

func (*RepositoryAutolinkReference) ToRepositoryAutolinkReferenceOutput

func (i *RepositoryAutolinkReference) ToRepositoryAutolinkReferenceOutput() RepositoryAutolinkReferenceOutput

func (*RepositoryAutolinkReference) ToRepositoryAutolinkReferenceOutputWithContext

func (i *RepositoryAutolinkReference) ToRepositoryAutolinkReferenceOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceOutput

type RepositoryAutolinkReferenceArgs

type RepositoryAutolinkReferenceArgs struct {
	// Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters. Default is true.
	IsAlphanumeric pulumi.BoolPtrInput
	// 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

type RepositoryAutolinkReferenceArray

type RepositoryAutolinkReferenceArray []RepositoryAutolinkReferenceInput

func (RepositoryAutolinkReferenceArray) ElementType

func (RepositoryAutolinkReferenceArray) ToRepositoryAutolinkReferenceArrayOutput

func (i RepositoryAutolinkReferenceArray) ToRepositoryAutolinkReferenceArrayOutput() RepositoryAutolinkReferenceArrayOutput

func (RepositoryAutolinkReferenceArray) ToRepositoryAutolinkReferenceArrayOutputWithContext

func (i RepositoryAutolinkReferenceArray) ToRepositoryAutolinkReferenceArrayOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceArrayOutput

type RepositoryAutolinkReferenceArrayInput

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

type RepositoryAutolinkReferenceArrayOutput struct{ *pulumi.OutputState }

func (RepositoryAutolinkReferenceArrayOutput) ElementType

func (RepositoryAutolinkReferenceArrayOutput) Index

func (RepositoryAutolinkReferenceArrayOutput) ToRepositoryAutolinkReferenceArrayOutput

func (o RepositoryAutolinkReferenceArrayOutput) ToRepositoryAutolinkReferenceArrayOutput() RepositoryAutolinkReferenceArrayOutput

func (RepositoryAutolinkReferenceArrayOutput) ToRepositoryAutolinkReferenceArrayOutputWithContext

func (o RepositoryAutolinkReferenceArrayOutput) ToRepositoryAutolinkReferenceArrayOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceArrayOutput

type RepositoryAutolinkReferenceInput

type RepositoryAutolinkReferenceInput interface {
	pulumi.Input

	ToRepositoryAutolinkReferenceOutput() RepositoryAutolinkReferenceOutput
	ToRepositoryAutolinkReferenceOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceOutput
}

type RepositoryAutolinkReferenceMap

type RepositoryAutolinkReferenceMap map[string]RepositoryAutolinkReferenceInput

func (RepositoryAutolinkReferenceMap) ElementType

func (RepositoryAutolinkReferenceMap) ToRepositoryAutolinkReferenceMapOutput

func (i RepositoryAutolinkReferenceMap) ToRepositoryAutolinkReferenceMapOutput() RepositoryAutolinkReferenceMapOutput

func (RepositoryAutolinkReferenceMap) ToRepositoryAutolinkReferenceMapOutputWithContext

func (i RepositoryAutolinkReferenceMap) ToRepositoryAutolinkReferenceMapOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceMapOutput

type RepositoryAutolinkReferenceMapInput

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

type RepositoryAutolinkReferenceMapOutput struct{ *pulumi.OutputState }

func (RepositoryAutolinkReferenceMapOutput) ElementType

func (RepositoryAutolinkReferenceMapOutput) MapIndex

func (RepositoryAutolinkReferenceMapOutput) ToRepositoryAutolinkReferenceMapOutput

func (o RepositoryAutolinkReferenceMapOutput) ToRepositoryAutolinkReferenceMapOutput() RepositoryAutolinkReferenceMapOutput

func (RepositoryAutolinkReferenceMapOutput) ToRepositoryAutolinkReferenceMapOutputWithContext

func (o RepositoryAutolinkReferenceMapOutput) ToRepositoryAutolinkReferenceMapOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceMapOutput

type RepositoryAutolinkReferenceOutput

type RepositoryAutolinkReferenceOutput struct{ *pulumi.OutputState }

func (RepositoryAutolinkReferenceOutput) ElementType

func (RepositoryAutolinkReferenceOutput) Etag

An etag representing the autolink reference object.

func (RepositoryAutolinkReferenceOutput) IsAlphanumeric

Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters. Default is true.

func (RepositoryAutolinkReferenceOutput) KeyPrefix

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

The repository of the autolink reference.

func (RepositoryAutolinkReferenceOutput) TargetUrlTemplate

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

func (o RepositoryAutolinkReferenceOutput) ToRepositoryAutolinkReferenceOutput() RepositoryAutolinkReferenceOutput

func (RepositoryAutolinkReferenceOutput) ToRepositoryAutolinkReferenceOutputWithContext

func (o RepositoryAutolinkReferenceOutput) ToRepositoryAutolinkReferenceOutputWithContext(ctx context.Context) RepositoryAutolinkReferenceOutput

type RepositoryAutolinkReferenceState

type RepositoryAutolinkReferenceState struct {
	// An etag representing the autolink reference object.
	Etag pulumi.StringPtrInput
	// Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters. Default is true.
	IsAlphanumeric pulumi.BoolPtrInput
	// 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

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` 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 organization 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
	//
	// > Note: The owner of the repository can be passed as part of the repository name  e.g. `owner-org-name/repo-name`. If owner is not supplied as part of the repository name, it may also be supplied by setting the environment variable `GITHUB_OWNER`.
	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.

> Note: RepositoryCollaborator cannot be used in conjunction with RepositoryCollaborators or they will fight over what your policy should be.

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 (implicitly 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.

This resource is non-authoritative, for managing ALL collaborators of a repo, use RepositoryCollaborators instead.

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Add a collaborator to a repository
		_, 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
	})
}

``` <!--End PulumiCodeChooser -->

## 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` 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 organization 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
	//
	// > Note: The owner of the repository can be passed as part of the repository name  e.g. `owner-org-name/repo-name`. If owner is not supplied as part of the repository name, it may also be supplied by setting the environment variable `GITHUB_OWNER`.
	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) 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) Index

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) MapIndex

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) InvitationId

ID of the invitation to be used in `UserInvitationAccepter`

func (RepositoryCollaboratorOutput) Permission

The permission of the outside collaborator for the repository. Must be one of `pull`, `push`, `maintain`, `triage` or `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 organization for organization-owned repositories. Must be `push` for personal repositories. Defaults to `push`.

func (RepositoryCollaboratorOutput) PermissionDiffSuppression

func (o RepositoryCollaboratorOutput) PermissionDiffSuppression() pulumi.BoolPtrOutput

Suppress plan diffs for `triage` and `maintain`. Defaults to `false`.

func (RepositoryCollaboratorOutput) Repository

The GitHub repository

> Note: The owner of the repository can be passed as part of the repository name e.g. `owner-org-name/repo-name`. If owner is not supplied as part of the repository name, it may also be supplied by setting the environment variable `GITHUB_OWNER`.

func (RepositoryCollaboratorOutput) ToRepositoryCollaboratorOutput

func (o RepositoryCollaboratorOutput) ToRepositoryCollaboratorOutput() RepositoryCollaboratorOutput

func (RepositoryCollaboratorOutput) ToRepositoryCollaboratorOutputWithContext

func (o RepositoryCollaboratorOutput) ToRepositoryCollaboratorOutputWithContext(ctx context.Context) RepositoryCollaboratorOutput

func (RepositoryCollaboratorOutput) Username

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` 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 organization 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
	//
	// > Note: The owner of the repository can be passed as part of the repository name  e.g. `owner-org-name/repo-name`. If owner is not supplied as part of the repository name, it may also be supplied by setting the environment variable `GITHUB_OWNER`.
	Repository pulumi.StringPtrInput
	// The user to add to the repository as a collaborator.
	Username pulumi.StringPtrInput
}

func (RepositoryCollaboratorState) ElementType

type RepositoryCollaborators

type RepositoryCollaborators struct {
	pulumi.CustomResourceState

	// Map of usernames to invitation ID for any users added as part of creation of this resource to
	// be used in `UserInvitationAccepter`.
	InvitationIds pulumi.StringMapOutput `pulumi:"invitationIds"`
	// The GitHub repository
	Repository pulumi.StringOutput `pulumi:"repository"`
	// List of teams
	Teams RepositoryCollaboratorsTeamArrayOutput `pulumi:"teams"`
	// List of users
	Users RepositoryCollaboratorsUserArrayOutput `pulumi:"users"`
}

Provides a GitHub repository collaborators resource.

> Note: RepositoryCollaborators cannot be used in conjunction with RepositoryCollaborator and TeamRepository or they will fight over what your policy should be.

This resource allows you to manage all collaborators for 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 (implicitly includes read) permission.

When applied, an invitation will be sent to the user to become a collaborators on a repository. When destroyed, either the invitation will be cancelled or the collaborators will be removed from the repository.

This resource is authoritative. For adding a collaborator to a repo in a non-authoritative manner, use RepositoryCollaborator instead.

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 collaborators](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Add collaborators to a repository
		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.NewRepositoryCollaborators(ctx, "someRepoCollaborators", &github.RepositoryCollaboratorsArgs{
			Repository: someRepo.Name,
			Users: github.RepositoryCollaboratorsUserArray{
				&github.RepositoryCollaboratorsUserArgs{
					Permission: pulumi.String("admin"),
					Username:   pulumi.String("SomeUser"),
				},
			},
			Teams: github.RepositoryCollaboratorsTeamArray{
				&github.RepositoryCollaboratorsTeamArgs{
					Permission: pulumi.String("pull"),
					TeamId:     someTeam.Slug,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

GitHub Repository Collaborators can be imported using the name `name`, e.g.

```sh $ pulumi import github:index/repositoryCollaborators:RepositoryCollaborators collaborators terraform ```

func GetRepositoryCollaborators

func GetRepositoryCollaborators(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryCollaboratorsState, opts ...pulumi.ResourceOption) (*RepositoryCollaborators, error)

GetRepositoryCollaborators gets an existing RepositoryCollaborators 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 NewRepositoryCollaborators

func NewRepositoryCollaborators(ctx *pulumi.Context,
	name string, args *RepositoryCollaboratorsArgs, opts ...pulumi.ResourceOption) (*RepositoryCollaborators, error)

NewRepositoryCollaborators registers a new resource with the given unique name, arguments, and options.

func (*RepositoryCollaborators) ElementType

func (*RepositoryCollaborators) ElementType() reflect.Type

func (*RepositoryCollaborators) ToRepositoryCollaboratorsOutput

func (i *RepositoryCollaborators) ToRepositoryCollaboratorsOutput() RepositoryCollaboratorsOutput

func (*RepositoryCollaborators) ToRepositoryCollaboratorsOutputWithContext

func (i *RepositoryCollaborators) ToRepositoryCollaboratorsOutputWithContext(ctx context.Context) RepositoryCollaboratorsOutput

type RepositoryCollaboratorsArgs

type RepositoryCollaboratorsArgs struct {
	// The GitHub repository
	Repository pulumi.StringInput
	// List of teams
	Teams RepositoryCollaboratorsTeamArrayInput
	// List of users
	Users RepositoryCollaboratorsUserArrayInput
}

The set of arguments for constructing a RepositoryCollaborators resource.

func (RepositoryCollaboratorsArgs) ElementType

type RepositoryCollaboratorsArray

type RepositoryCollaboratorsArray []RepositoryCollaboratorsInput

func (RepositoryCollaboratorsArray) ElementType

func (RepositoryCollaboratorsArray) ToRepositoryCollaboratorsArrayOutput

func (i RepositoryCollaboratorsArray) ToRepositoryCollaboratorsArrayOutput() RepositoryCollaboratorsArrayOutput

func (RepositoryCollaboratorsArray) ToRepositoryCollaboratorsArrayOutputWithContext

func (i RepositoryCollaboratorsArray) ToRepositoryCollaboratorsArrayOutputWithContext(ctx context.Context) RepositoryCollaboratorsArrayOutput

type RepositoryCollaboratorsArrayInput

type RepositoryCollaboratorsArrayInput interface {
	pulumi.Input

	ToRepositoryCollaboratorsArrayOutput() RepositoryCollaboratorsArrayOutput
	ToRepositoryCollaboratorsArrayOutputWithContext(context.Context) RepositoryCollaboratorsArrayOutput
}

RepositoryCollaboratorsArrayInput is an input type that accepts RepositoryCollaboratorsArray and RepositoryCollaboratorsArrayOutput values. You can construct a concrete instance of `RepositoryCollaboratorsArrayInput` via:

RepositoryCollaboratorsArray{ RepositoryCollaboratorsArgs{...} }

type RepositoryCollaboratorsArrayOutput

type RepositoryCollaboratorsArrayOutput struct{ *pulumi.OutputState }

func (RepositoryCollaboratorsArrayOutput) ElementType

func (RepositoryCollaboratorsArrayOutput) Index

func (RepositoryCollaboratorsArrayOutput) ToRepositoryCollaboratorsArrayOutput

func (o RepositoryCollaboratorsArrayOutput) ToRepositoryCollaboratorsArrayOutput() RepositoryCollaboratorsArrayOutput

func (RepositoryCollaboratorsArrayOutput) ToRepositoryCollaboratorsArrayOutputWithContext

func (o RepositoryCollaboratorsArrayOutput) ToRepositoryCollaboratorsArrayOutputWithContext(ctx context.Context) RepositoryCollaboratorsArrayOutput

type RepositoryCollaboratorsInput

type RepositoryCollaboratorsInput interface {
	pulumi.Input

	ToRepositoryCollaboratorsOutput() RepositoryCollaboratorsOutput
	ToRepositoryCollaboratorsOutputWithContext(ctx context.Context) RepositoryCollaboratorsOutput
}

type RepositoryCollaboratorsMap

type RepositoryCollaboratorsMap map[string]RepositoryCollaboratorsInput

func (RepositoryCollaboratorsMap) ElementType

func (RepositoryCollaboratorsMap) ElementType() reflect.Type

func (RepositoryCollaboratorsMap) ToRepositoryCollaboratorsMapOutput

func (i RepositoryCollaboratorsMap) ToRepositoryCollaboratorsMapOutput() RepositoryCollaboratorsMapOutput

func (RepositoryCollaboratorsMap) ToRepositoryCollaboratorsMapOutputWithContext

func (i RepositoryCollaboratorsMap) ToRepositoryCollaboratorsMapOutputWithContext(ctx context.Context) RepositoryCollaboratorsMapOutput

type RepositoryCollaboratorsMapInput

type RepositoryCollaboratorsMapInput interface {
	pulumi.Input

	ToRepositoryCollaboratorsMapOutput() RepositoryCollaboratorsMapOutput
	ToRepositoryCollaboratorsMapOutputWithContext(context.Context) RepositoryCollaboratorsMapOutput
}

RepositoryCollaboratorsMapInput is an input type that accepts RepositoryCollaboratorsMap and RepositoryCollaboratorsMapOutput values. You can construct a concrete instance of `RepositoryCollaboratorsMapInput` via:

RepositoryCollaboratorsMap{ "key": RepositoryCollaboratorsArgs{...} }

type RepositoryCollaboratorsMapOutput

type RepositoryCollaboratorsMapOutput struct{ *pulumi.OutputState }

func (RepositoryCollaboratorsMapOutput) ElementType

func (RepositoryCollaboratorsMapOutput) MapIndex

func (RepositoryCollaboratorsMapOutput) ToRepositoryCollaboratorsMapOutput

func (o RepositoryCollaboratorsMapOutput) ToRepositoryCollaboratorsMapOutput() RepositoryCollaboratorsMapOutput

func (RepositoryCollaboratorsMapOutput) ToRepositoryCollaboratorsMapOutputWithContext

func (o RepositoryCollaboratorsMapOutput) ToRepositoryCollaboratorsMapOutputWithContext(ctx context.Context) RepositoryCollaboratorsMapOutput

type RepositoryCollaboratorsOutput

type RepositoryCollaboratorsOutput struct{ *pulumi.OutputState }

func (RepositoryCollaboratorsOutput) ElementType

func (RepositoryCollaboratorsOutput) InvitationIds

Map of usernames to invitation ID for any users added as part of creation of this resource to be used in `UserInvitationAccepter`.

func (RepositoryCollaboratorsOutput) Repository

The GitHub repository

func (RepositoryCollaboratorsOutput) Teams

List of teams

func (RepositoryCollaboratorsOutput) ToRepositoryCollaboratorsOutput

func (o RepositoryCollaboratorsOutput) ToRepositoryCollaboratorsOutput() RepositoryCollaboratorsOutput

func (RepositoryCollaboratorsOutput) ToRepositoryCollaboratorsOutputWithContext

func (o RepositoryCollaboratorsOutput) ToRepositoryCollaboratorsOutputWithContext(ctx context.Context) RepositoryCollaboratorsOutput

func (RepositoryCollaboratorsOutput) Users

List of users

type RepositoryCollaboratorsState

type RepositoryCollaboratorsState struct {
	// Map of usernames to invitation ID for any users added as part of creation of this resource to
	// be used in `UserInvitationAccepter`.
	InvitationIds pulumi.StringMapInput
	// The GitHub repository
	Repository pulumi.StringPtrInput
	// List of teams
	Teams RepositoryCollaboratorsTeamArrayInput
	// List of users
	Users RepositoryCollaboratorsUserArrayInput
}

func (RepositoryCollaboratorsState) ElementType

type RepositoryCollaboratorsTeam

type RepositoryCollaboratorsTeam struct {
	// The permission of the outside collaborators for 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`.
	// Must be `push` for personal repositories. Defaults to `push`.
	Permission *string `pulumi:"permission"`
	// The GitHub team id or the GitHub team slug
	TeamId string `pulumi:"teamId"`
}

type RepositoryCollaboratorsTeamArgs

type RepositoryCollaboratorsTeamArgs struct {
	// The permission of the outside collaborators for 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`.
	// Must be `push` for personal repositories. Defaults to `push`.
	Permission pulumi.StringPtrInput `pulumi:"permission"`
	// The GitHub team id or the GitHub team slug
	TeamId pulumi.StringInput `pulumi:"teamId"`
}

func (RepositoryCollaboratorsTeamArgs) ElementType

func (RepositoryCollaboratorsTeamArgs) ToRepositoryCollaboratorsTeamOutput

func (i RepositoryCollaboratorsTeamArgs) ToRepositoryCollaboratorsTeamOutput() RepositoryCollaboratorsTeamOutput

func (RepositoryCollaboratorsTeamArgs) ToRepositoryCollaboratorsTeamOutputWithContext

func (i RepositoryCollaboratorsTeamArgs) ToRepositoryCollaboratorsTeamOutputWithContext(ctx context.Context) RepositoryCollaboratorsTeamOutput

type RepositoryCollaboratorsTeamArray

type RepositoryCollaboratorsTeamArray []RepositoryCollaboratorsTeamInput

func (RepositoryCollaboratorsTeamArray) ElementType

func (RepositoryCollaboratorsTeamArray) ToRepositoryCollaboratorsTeamArrayOutput

func (i RepositoryCollaboratorsTeamArray) ToRepositoryCollaboratorsTeamArrayOutput() RepositoryCollaboratorsTeamArrayOutput

func (RepositoryCollaboratorsTeamArray) ToRepositoryCollaboratorsTeamArrayOutputWithContext

func (i RepositoryCollaboratorsTeamArray) ToRepositoryCollaboratorsTeamArrayOutputWithContext(ctx context.Context) RepositoryCollaboratorsTeamArrayOutput

type RepositoryCollaboratorsTeamArrayInput

type RepositoryCollaboratorsTeamArrayInput interface {
	pulumi.Input

	ToRepositoryCollaboratorsTeamArrayOutput() RepositoryCollaboratorsTeamArrayOutput
	ToRepositoryCollaboratorsTeamArrayOutputWithContext(context.Context) RepositoryCollaboratorsTeamArrayOutput
}

RepositoryCollaboratorsTeamArrayInput is an input type that accepts RepositoryCollaboratorsTeamArray and RepositoryCollaboratorsTeamArrayOutput values. You can construct a concrete instance of `RepositoryCollaboratorsTeamArrayInput` via:

RepositoryCollaboratorsTeamArray{ RepositoryCollaboratorsTeamArgs{...} }

type RepositoryCollaboratorsTeamArrayOutput

type RepositoryCollaboratorsTeamArrayOutput struct{ *pulumi.OutputState }

func (RepositoryCollaboratorsTeamArrayOutput) ElementType

func (RepositoryCollaboratorsTeamArrayOutput) Index

func (RepositoryCollaboratorsTeamArrayOutput) ToRepositoryCollaboratorsTeamArrayOutput

func (o RepositoryCollaboratorsTeamArrayOutput) ToRepositoryCollaboratorsTeamArrayOutput() RepositoryCollaboratorsTeamArrayOutput

func (RepositoryCollaboratorsTeamArrayOutput) ToRepositoryCollaboratorsTeamArrayOutputWithContext

func (o RepositoryCollaboratorsTeamArrayOutput) ToRepositoryCollaboratorsTeamArrayOutputWithContext(ctx context.Context) RepositoryCollaboratorsTeamArrayOutput

type RepositoryCollaboratorsTeamInput

type RepositoryCollaboratorsTeamInput interface {
	pulumi.Input

	ToRepositoryCollaboratorsTeamOutput() RepositoryCollaboratorsTeamOutput
	ToRepositoryCollaboratorsTeamOutputWithContext(context.Context) RepositoryCollaboratorsTeamOutput
}

RepositoryCollaboratorsTeamInput is an input type that accepts RepositoryCollaboratorsTeamArgs and RepositoryCollaboratorsTeamOutput values. You can construct a concrete instance of `RepositoryCollaboratorsTeamInput` via:

RepositoryCollaboratorsTeamArgs{...}

type RepositoryCollaboratorsTeamOutput

type RepositoryCollaboratorsTeamOutput struct{ *pulumi.OutputState }

func (RepositoryCollaboratorsTeamOutput) ElementType

func (RepositoryCollaboratorsTeamOutput) Permission

The permission of the outside collaborators for 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`. Must be `push` for personal repositories. Defaults to `push`.

func (RepositoryCollaboratorsTeamOutput) TeamId

The GitHub team id or the GitHub team slug

func (RepositoryCollaboratorsTeamOutput) ToRepositoryCollaboratorsTeamOutput

func (o RepositoryCollaboratorsTeamOutput) ToRepositoryCollaboratorsTeamOutput() RepositoryCollaboratorsTeamOutput

func (RepositoryCollaboratorsTeamOutput) ToRepositoryCollaboratorsTeamOutputWithContext

func (o RepositoryCollaboratorsTeamOutput) ToRepositoryCollaboratorsTeamOutputWithContext(ctx context.Context) RepositoryCollaboratorsTeamOutput

type RepositoryCollaboratorsUser

type RepositoryCollaboratorsUser struct {
	// The permission of the outside collaborators for the repository.
	// Must be one of `pull`, `push`, `maintain`, `triage` or `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 organization for organization-owned repositories.
	// Must be `push` for personal repositories. Defaults to `push`.
	Permission *string `pulumi:"permission"`
	// The user to add to the repository as a collaborator.
	Username string `pulumi:"username"`
}

type RepositoryCollaboratorsUserArgs

type RepositoryCollaboratorsUserArgs struct {
	// The permission of the outside collaborators for the repository.
	// Must be one of `pull`, `push`, `maintain`, `triage` or `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 organization for organization-owned repositories.
	// Must be `push` for personal repositories. Defaults to `push`.
	Permission pulumi.StringPtrInput `pulumi:"permission"`
	// The user to add to the repository as a collaborator.
	Username pulumi.StringInput `pulumi:"username"`
}

func (RepositoryCollaboratorsUserArgs) ElementType

func (RepositoryCollaboratorsUserArgs) ToRepositoryCollaboratorsUserOutput

func (i RepositoryCollaboratorsUserArgs) ToRepositoryCollaboratorsUserOutput() RepositoryCollaboratorsUserOutput

func (RepositoryCollaboratorsUserArgs) ToRepositoryCollaboratorsUserOutputWithContext

func (i RepositoryCollaboratorsUserArgs) ToRepositoryCollaboratorsUserOutputWithContext(ctx context.Context) RepositoryCollaboratorsUserOutput

type RepositoryCollaboratorsUserArray

type RepositoryCollaboratorsUserArray []RepositoryCollaboratorsUserInput

func (RepositoryCollaboratorsUserArray) ElementType

func (RepositoryCollaboratorsUserArray) ToRepositoryCollaboratorsUserArrayOutput

func (i RepositoryCollaboratorsUserArray) ToRepositoryCollaboratorsUserArrayOutput() RepositoryCollaboratorsUserArrayOutput

func (RepositoryCollaboratorsUserArray) ToRepositoryCollaboratorsUserArrayOutputWithContext

func (i RepositoryCollaboratorsUserArray) ToRepositoryCollaboratorsUserArrayOutputWithContext(ctx context.Context) RepositoryCollaboratorsUserArrayOutput

type RepositoryCollaboratorsUserArrayInput

type RepositoryCollaboratorsUserArrayInput interface {
	pulumi.Input

	ToRepositoryCollaboratorsUserArrayOutput() RepositoryCollaboratorsUserArrayOutput
	ToRepositoryCollaboratorsUserArrayOutputWithContext(context.Context) RepositoryCollaboratorsUserArrayOutput
}

RepositoryCollaboratorsUserArrayInput is an input type that accepts RepositoryCollaboratorsUserArray and RepositoryCollaboratorsUserArrayOutput values. You can construct a concrete instance of `RepositoryCollaboratorsUserArrayInput` via:

RepositoryCollaboratorsUserArray{ RepositoryCollaboratorsUserArgs{...} }

type RepositoryCollaboratorsUserArrayOutput

type RepositoryCollaboratorsUserArrayOutput struct{ *pulumi.OutputState }

func (RepositoryCollaboratorsUserArrayOutput) ElementType

func (RepositoryCollaboratorsUserArrayOutput) Index

func (RepositoryCollaboratorsUserArrayOutput) ToRepositoryCollaboratorsUserArrayOutput

func (o RepositoryCollaboratorsUserArrayOutput) ToRepositoryCollaboratorsUserArrayOutput() RepositoryCollaboratorsUserArrayOutput

func (RepositoryCollaboratorsUserArrayOutput) ToRepositoryCollaboratorsUserArrayOutputWithContext

func (o RepositoryCollaboratorsUserArrayOutput) ToRepositoryCollaboratorsUserArrayOutputWithContext(ctx context.Context) RepositoryCollaboratorsUserArrayOutput

type RepositoryCollaboratorsUserInput

type RepositoryCollaboratorsUserInput interface {
	pulumi.Input

	ToRepositoryCollaboratorsUserOutput() RepositoryCollaboratorsUserOutput
	ToRepositoryCollaboratorsUserOutputWithContext(context.Context) RepositoryCollaboratorsUserOutput
}

RepositoryCollaboratorsUserInput is an input type that accepts RepositoryCollaboratorsUserArgs and RepositoryCollaboratorsUserOutput values. You can construct a concrete instance of `RepositoryCollaboratorsUserInput` via:

RepositoryCollaboratorsUserArgs{...}

type RepositoryCollaboratorsUserOutput

type RepositoryCollaboratorsUserOutput struct{ *pulumi.OutputState }

func (RepositoryCollaboratorsUserOutput) ElementType

func (RepositoryCollaboratorsUserOutput) Permission

The permission of the outside collaborators for the repository. Must be one of `pull`, `push`, `maintain`, `triage` or `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 organization for organization-owned repositories. Must be `push` for personal repositories. Defaults to `push`.

func (RepositoryCollaboratorsUserOutput) ToRepositoryCollaboratorsUserOutput

func (o RepositoryCollaboratorsUserOutput) ToRepositoryCollaboratorsUserOutput() RepositoryCollaboratorsUserOutput

func (RepositoryCollaboratorsUserOutput) ToRepositoryCollaboratorsUserOutputWithContext

func (o RepositoryCollaboratorsUserOutput) ToRepositoryCollaboratorsUserOutputWithContext(ctx context.Context) RepositoryCollaboratorsUserOutput

func (RepositoryCollaboratorsUserOutput) Username

The user to add to the repository as a collaborator.

type RepositoryDependabotSecurityUpdates

type RepositoryDependabotSecurityUpdates struct {
	pulumi.CustomResourceState

	// The state of the automated security fixes.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The repository to manage.
	Repository pulumi.StringOutput `pulumi:"repository"`
}

This resource allows you to manage dependabot automated security fixes for a single repository. See the [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates) for details of usage and how this will impact your repository

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.NewRepository(ctx, "repo", &github.RepositoryArgs{
			Description:         pulumi.String("GitHub repo managed by Terraform"),
			Private:             pulumi.Bool(false),
			VulnerabilityAlerts: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = github.NewRepositoryDependabotSecurityUpdates(ctx, "example", &github.RepositoryDependabotSecurityUpdatesArgs{
			Repository: pulumi.Any(github_repository.Test.Id),
			Enabled:    pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

### Import by name

```sh $ pulumi import github:index/repositoryDependabotSecurityUpdates:RepositoryDependabotSecurityUpdates example my-repo ```

func GetRepositoryDependabotSecurityUpdates

func GetRepositoryDependabotSecurityUpdates(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryDependabotSecurityUpdatesState, opts ...pulumi.ResourceOption) (*RepositoryDependabotSecurityUpdates, error)

GetRepositoryDependabotSecurityUpdates gets an existing RepositoryDependabotSecurityUpdates 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 NewRepositoryDependabotSecurityUpdates

func NewRepositoryDependabotSecurityUpdates(ctx *pulumi.Context,
	name string, args *RepositoryDependabotSecurityUpdatesArgs, opts ...pulumi.ResourceOption) (*RepositoryDependabotSecurityUpdates, error)

NewRepositoryDependabotSecurityUpdates registers a new resource with the given unique name, arguments, and options.

func (*RepositoryDependabotSecurityUpdates) ElementType

func (*RepositoryDependabotSecurityUpdates) ToRepositoryDependabotSecurityUpdatesOutput

func (i *RepositoryDependabotSecurityUpdates) ToRepositoryDependabotSecurityUpdatesOutput() RepositoryDependabotSecurityUpdatesOutput

func (*RepositoryDependabotSecurityUpdates) ToRepositoryDependabotSecurityUpdatesOutputWithContext

func (i *RepositoryDependabotSecurityUpdates) ToRepositoryDependabotSecurityUpdatesOutputWithContext(ctx context.Context) RepositoryDependabotSecurityUpdatesOutput

type RepositoryDependabotSecurityUpdatesArgs

type RepositoryDependabotSecurityUpdatesArgs struct {
	// The state of the automated security fixes.
	Enabled pulumi.BoolInput
	// The repository to manage.
	Repository pulumi.StringInput
}

The set of arguments for constructing a RepositoryDependabotSecurityUpdates resource.

func (RepositoryDependabotSecurityUpdatesArgs) ElementType

type RepositoryDependabotSecurityUpdatesArray

type RepositoryDependabotSecurityUpdatesArray []RepositoryDependabotSecurityUpdatesInput

func (RepositoryDependabotSecurityUpdatesArray) ElementType

func (RepositoryDependabotSecurityUpdatesArray) ToRepositoryDependabotSecurityUpdatesArrayOutput

func (i RepositoryDependabotSecurityUpdatesArray) ToRepositoryDependabotSecurityUpdatesArrayOutput() RepositoryDependabotSecurityUpdatesArrayOutput

func (RepositoryDependabotSecurityUpdatesArray) ToRepositoryDependabotSecurityUpdatesArrayOutputWithContext

func (i RepositoryDependabotSecurityUpdatesArray) ToRepositoryDependabotSecurityUpdatesArrayOutputWithContext(ctx context.Context) RepositoryDependabotSecurityUpdatesArrayOutput

type RepositoryDependabotSecurityUpdatesArrayInput

type RepositoryDependabotSecurityUpdatesArrayInput interface {
	pulumi.Input

	ToRepositoryDependabotSecurityUpdatesArrayOutput() RepositoryDependabotSecurityUpdatesArrayOutput
	ToRepositoryDependabotSecurityUpdatesArrayOutputWithContext(context.Context) RepositoryDependabotSecurityUpdatesArrayOutput
}

RepositoryDependabotSecurityUpdatesArrayInput is an input type that accepts RepositoryDependabotSecurityUpdatesArray and RepositoryDependabotSecurityUpdatesArrayOutput values. You can construct a concrete instance of `RepositoryDependabotSecurityUpdatesArrayInput` via:

RepositoryDependabotSecurityUpdatesArray{ RepositoryDependabotSecurityUpdatesArgs{...} }

type RepositoryDependabotSecurityUpdatesArrayOutput

type RepositoryDependabotSecurityUpdatesArrayOutput struct{ *pulumi.OutputState }

func (RepositoryDependabotSecurityUpdatesArrayOutput) ElementType

func (RepositoryDependabotSecurityUpdatesArrayOutput) Index

func (RepositoryDependabotSecurityUpdatesArrayOutput) ToRepositoryDependabotSecurityUpdatesArrayOutput

func (o RepositoryDependabotSecurityUpdatesArrayOutput) ToRepositoryDependabotSecurityUpdatesArrayOutput() RepositoryDependabotSecurityUpdatesArrayOutput

func (RepositoryDependabotSecurityUpdatesArrayOutput) ToRepositoryDependabotSecurityUpdatesArrayOutputWithContext

func (o RepositoryDependabotSecurityUpdatesArrayOutput) ToRepositoryDependabotSecurityUpdatesArrayOutputWithContext(ctx context.Context) RepositoryDependabotSecurityUpdatesArrayOutput

type RepositoryDependabotSecurityUpdatesInput

type RepositoryDependabotSecurityUpdatesInput interface {
	pulumi.Input

	ToRepositoryDependabotSecurityUpdatesOutput() RepositoryDependabotSecurityUpdatesOutput
	ToRepositoryDependabotSecurityUpdatesOutputWithContext(ctx context.Context) RepositoryDependabotSecurityUpdatesOutput
}

type RepositoryDependabotSecurityUpdatesMap

type RepositoryDependabotSecurityUpdatesMap map[string]RepositoryDependabotSecurityUpdatesInput

func (RepositoryDependabotSecurityUpdatesMap) ElementType

func (RepositoryDependabotSecurityUpdatesMap) ToRepositoryDependabotSecurityUpdatesMapOutput

func (i RepositoryDependabotSecurityUpdatesMap) ToRepositoryDependabotSecurityUpdatesMapOutput() RepositoryDependabotSecurityUpdatesMapOutput

func (RepositoryDependabotSecurityUpdatesMap) ToRepositoryDependabotSecurityUpdatesMapOutputWithContext

func (i RepositoryDependabotSecurityUpdatesMap) ToRepositoryDependabotSecurityUpdatesMapOutputWithContext(ctx context.Context) RepositoryDependabotSecurityUpdatesMapOutput

type RepositoryDependabotSecurityUpdatesMapInput

type RepositoryDependabotSecurityUpdatesMapInput interface {
	pulumi.Input

	ToRepositoryDependabotSecurityUpdatesMapOutput() RepositoryDependabotSecurityUpdatesMapOutput
	ToRepositoryDependabotSecurityUpdatesMapOutputWithContext(context.Context) RepositoryDependabotSecurityUpdatesMapOutput
}

RepositoryDependabotSecurityUpdatesMapInput is an input type that accepts RepositoryDependabotSecurityUpdatesMap and RepositoryDependabotSecurityUpdatesMapOutput values. You can construct a concrete instance of `RepositoryDependabotSecurityUpdatesMapInput` via:

RepositoryDependabotSecurityUpdatesMap{ "key": RepositoryDependabotSecurityUpdatesArgs{...} }

type RepositoryDependabotSecurityUpdatesMapOutput

type RepositoryDependabotSecurityUpdatesMapOutput struct{ *pulumi.OutputState }

func (RepositoryDependabotSecurityUpdatesMapOutput) ElementType

func (RepositoryDependabotSecurityUpdatesMapOutput) MapIndex

func (RepositoryDependabotSecurityUpdatesMapOutput) ToRepositoryDependabotSecurityUpdatesMapOutput

func (o RepositoryDependabotSecurityUpdatesMapOutput) ToRepositoryDependabotSecurityUpdatesMapOutput() RepositoryDependabotSecurityUpdatesMapOutput

func (RepositoryDependabotSecurityUpdatesMapOutput) ToRepositoryDependabotSecurityUpdatesMapOutputWithContext

func (o RepositoryDependabotSecurityUpdatesMapOutput) ToRepositoryDependabotSecurityUpdatesMapOutputWithContext(ctx context.Context) RepositoryDependabotSecurityUpdatesMapOutput

type RepositoryDependabotSecurityUpdatesOutput

type RepositoryDependabotSecurityUpdatesOutput struct{ *pulumi.OutputState }

func (RepositoryDependabotSecurityUpdatesOutput) ElementType

func (RepositoryDependabotSecurityUpdatesOutput) Enabled

The state of the automated security fixes.

func (RepositoryDependabotSecurityUpdatesOutput) Repository

The repository to manage.

func (RepositoryDependabotSecurityUpdatesOutput) ToRepositoryDependabotSecurityUpdatesOutput

func (o RepositoryDependabotSecurityUpdatesOutput) ToRepositoryDependabotSecurityUpdatesOutput() RepositoryDependabotSecurityUpdatesOutput

func (RepositoryDependabotSecurityUpdatesOutput) ToRepositoryDependabotSecurityUpdatesOutputWithContext

func (o RepositoryDependabotSecurityUpdatesOutput) ToRepositoryDependabotSecurityUpdatesOutputWithContext(ctx context.Context) RepositoryDependabotSecurityUpdatesOutput

type RepositoryDependabotSecurityUpdatesState

type RepositoryDependabotSecurityUpdatesState struct {
	// The state of the automated security fixes.
	Enabled pulumi.BoolPtrInput
	// The repository to manage.
	Repository pulumi.StringPtrInput
}

func (RepositoryDependabotSecurityUpdatesState) ElementType

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.
	//
	// Changing any of the fields forces re-creating the resource.
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi-tls/sdk/v5/go/tls"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Generate an ssh key using provider "hashicorp/tls"
		exampleRepositoryDeployKeyPrivateKey, err := tls.NewPrivateKey(ctx, "exampleRepositoryDeployKeyPrivateKey", &tls.PrivateKeyArgs{
			Algorithm: pulumi.String("ED25519"),
		})
		if err != nil {
			return err
		}
		// Add the ssh key as a deploy key
		_, err = github.NewRepositoryDeployKey(ctx, "exampleRepositoryDeployKeyRepositoryDeployKey", &github.RepositoryDeployKeyArgs{
			Title:      pulumi.String("Repository test key"),
			Repository: pulumi.String("test-repo"),
			Key:        exampleRepositoryDeployKeyPrivateKey.PublicKeyOpenssh,
			ReadOnly:   pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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.
	//
	// Changing any of the fields forces re-creating the resource.
	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) Index

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) MapIndex

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

func (RepositoryDeployKeyOutput) Key

A SSH key.

func (RepositoryDeployKeyOutput) ReadOnly

A boolean qualifying the key to be either read only or read/write.

func (RepositoryDeployKeyOutput) Repository

Name of the GitHub repository.

func (RepositoryDeployKeyOutput) Title

A title.

Changing any of the fields forces re-creating the resource.

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.
	//
	// Changing any of the fields forces re-creating the resource.
	Title pulumi.StringPtrInput
}

func (RepositoryDeployKeyState) ElementType

func (RepositoryDeployKeyState) ElementType() reflect.Type

type RepositoryDeploymentBranchPolicy

type RepositoryDeploymentBranchPolicy struct {
	pulumi.CustomResourceState

	// The name of the environment. This environment must have `deployment_branch_policy.custom_branch_policies` set to true or a 404 error will be thrown.
	EnvironmentName pulumi.StringOutput `pulumi:"environmentName"`
	// An etag representing the Branch object.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The name pattern that branches must match in order to deploy to the environment.
	Name pulumi.StringOutput `pulumi:"name"`
	// The repository to create the policy in.
	Repository pulumi.StringOutput `pulumi:"repository"`
}

This resource allows you to create and manage deployment branch policies.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		env, err := github.NewRepositoryEnvironment(ctx, "env", &github.RepositoryEnvironmentArgs{
			Repository:  pulumi.String("my_repo"),
			Environment: pulumi.String("my_env"),
			DeploymentBranchPolicy: &github.RepositoryEnvironmentDeploymentBranchPolicyArgs{
				ProtectedBranches:    pulumi.Bool(false),
				CustomBranchPolicies: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		_, err = github.NewRepositoryDeploymentBranchPolicy(ctx, "foo", &github.RepositoryDeploymentBranchPolicyArgs{
			Repository:      pulumi.String("my_repo"),
			EnvironmentName: pulumi.String("my_env"),
		}, pulumi.DependsOn([]pulumi.Resource{
			env,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

```sh $ pulumi import github:index/repositoryDeploymentBranchPolicy:RepositoryDeploymentBranchPolicy foo repo:env:id ```

func GetRepositoryDeploymentBranchPolicy

func GetRepositoryDeploymentBranchPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryDeploymentBranchPolicyState, opts ...pulumi.ResourceOption) (*RepositoryDeploymentBranchPolicy, error)

GetRepositoryDeploymentBranchPolicy gets an existing RepositoryDeploymentBranchPolicy 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 NewRepositoryDeploymentBranchPolicy

func NewRepositoryDeploymentBranchPolicy(ctx *pulumi.Context,
	name string, args *RepositoryDeploymentBranchPolicyArgs, opts ...pulumi.ResourceOption) (*RepositoryDeploymentBranchPolicy, error)

NewRepositoryDeploymentBranchPolicy registers a new resource with the given unique name, arguments, and options.

func (*RepositoryDeploymentBranchPolicy) ElementType

func (*RepositoryDeploymentBranchPolicy) ToRepositoryDeploymentBranchPolicyOutput

func (i *RepositoryDeploymentBranchPolicy) ToRepositoryDeploymentBranchPolicyOutput() RepositoryDeploymentBranchPolicyOutput

func (*RepositoryDeploymentBranchPolicy) ToRepositoryDeploymentBranchPolicyOutputWithContext

func (i *RepositoryDeploymentBranchPolicy) ToRepositoryDeploymentBranchPolicyOutputWithContext(ctx context.Context) RepositoryDeploymentBranchPolicyOutput

type RepositoryDeploymentBranchPolicyArgs

type RepositoryDeploymentBranchPolicyArgs struct {
	// The name of the environment. This environment must have `deployment_branch_policy.custom_branch_policies` set to true or a 404 error will be thrown.
	EnvironmentName pulumi.StringInput
	// The name pattern that branches must match in order to deploy to the environment.
	Name pulumi.StringPtrInput
	// The repository to create the policy in.
	Repository pulumi.StringInput
}

The set of arguments for constructing a RepositoryDeploymentBranchPolicy resource.

func (RepositoryDeploymentBranchPolicyArgs) ElementType

type RepositoryDeploymentBranchPolicyArray

type RepositoryDeploymentBranchPolicyArray []RepositoryDeploymentBranchPolicyInput

func (RepositoryDeploymentBranchPolicyArray) ElementType

func (RepositoryDeploymentBranchPolicyArray) ToRepositoryDeploymentBranchPolicyArrayOutput

func (i RepositoryDeploymentBranchPolicyArray) ToRepositoryDeploymentBranchPolicyArrayOutput() RepositoryDeploymentBranchPolicyArrayOutput

func (RepositoryDeploymentBranchPolicyArray) ToRepositoryDeploymentBranchPolicyArrayOutputWithContext

func (i RepositoryDeploymentBranchPolicyArray) ToRepositoryDeploymentBranchPolicyArrayOutputWithContext(ctx context.Context) RepositoryDeploymentBranchPolicyArrayOutput

type RepositoryDeploymentBranchPolicyArrayInput

type RepositoryDeploymentBranchPolicyArrayInput interface {
	pulumi.Input

	ToRepositoryDeploymentBranchPolicyArrayOutput() RepositoryDeploymentBranchPolicyArrayOutput
	ToRepositoryDeploymentBranchPolicyArrayOutputWithContext(context.Context) RepositoryDeploymentBranchPolicyArrayOutput
}

RepositoryDeploymentBranchPolicyArrayInput is an input type that accepts RepositoryDeploymentBranchPolicyArray and RepositoryDeploymentBranchPolicyArrayOutput values. You can construct a concrete instance of `RepositoryDeploymentBranchPolicyArrayInput` via:

RepositoryDeploymentBranchPolicyArray{ RepositoryDeploymentBranchPolicyArgs{...} }

type RepositoryDeploymentBranchPolicyArrayOutput

type RepositoryDeploymentBranchPolicyArrayOutput struct{ *pulumi.OutputState }

func (RepositoryDeploymentBranchPolicyArrayOutput) ElementType

func (RepositoryDeploymentBranchPolicyArrayOutput) Index

func (RepositoryDeploymentBranchPolicyArrayOutput) ToRepositoryDeploymentBranchPolicyArrayOutput

func (o RepositoryDeploymentBranchPolicyArrayOutput) ToRepositoryDeploymentBranchPolicyArrayOutput() RepositoryDeploymentBranchPolicyArrayOutput

func (RepositoryDeploymentBranchPolicyArrayOutput) ToRepositoryDeploymentBranchPolicyArrayOutputWithContext

func (o RepositoryDeploymentBranchPolicyArrayOutput) ToRepositoryDeploymentBranchPolicyArrayOutputWithContext(ctx context.Context) RepositoryDeploymentBranchPolicyArrayOutput

type RepositoryDeploymentBranchPolicyInput

type RepositoryDeploymentBranchPolicyInput interface {
	pulumi.Input

	ToRepositoryDeploymentBranchPolicyOutput() RepositoryDeploymentBranchPolicyOutput
	ToRepositoryDeploymentBranchPolicyOutputWithContext(ctx context.Context) RepositoryDeploymentBranchPolicyOutput
}

type RepositoryDeploymentBranchPolicyMap

type RepositoryDeploymentBranchPolicyMap map[string]RepositoryDeploymentBranchPolicyInput

func (RepositoryDeploymentBranchPolicyMap) ElementType

func (RepositoryDeploymentBranchPolicyMap) ToRepositoryDeploymentBranchPolicyMapOutput

func (i RepositoryDeploymentBranchPolicyMap) ToRepositoryDeploymentBranchPolicyMapOutput() RepositoryDeploymentBranchPolicyMapOutput

func (RepositoryDeploymentBranchPolicyMap) ToRepositoryDeploymentBranchPolicyMapOutputWithContext

func (i RepositoryDeploymentBranchPolicyMap) ToRepositoryDeploymentBranchPolicyMapOutputWithContext(ctx context.Context) RepositoryDeploymentBranchPolicyMapOutput

type RepositoryDeploymentBranchPolicyMapInput

type RepositoryDeploymentBranchPolicyMapInput interface {
	pulumi.Input

	ToRepositoryDeploymentBranchPolicyMapOutput() RepositoryDeploymentBranchPolicyMapOutput
	ToRepositoryDeploymentBranchPolicyMapOutputWithContext(context.Context) RepositoryDeploymentBranchPolicyMapOutput
}

RepositoryDeploymentBranchPolicyMapInput is an input type that accepts RepositoryDeploymentBranchPolicyMap and RepositoryDeploymentBranchPolicyMapOutput values. You can construct a concrete instance of `RepositoryDeploymentBranchPolicyMapInput` via:

RepositoryDeploymentBranchPolicyMap{ "key": RepositoryDeploymentBranchPolicyArgs{...} }

type RepositoryDeploymentBranchPolicyMapOutput

type RepositoryDeploymentBranchPolicyMapOutput struct{ *pulumi.OutputState }

func (RepositoryDeploymentBranchPolicyMapOutput) ElementType

func (RepositoryDeploymentBranchPolicyMapOutput) MapIndex

func (RepositoryDeploymentBranchPolicyMapOutput) ToRepositoryDeploymentBranchPolicyMapOutput

func (o RepositoryDeploymentBranchPolicyMapOutput) ToRepositoryDeploymentBranchPolicyMapOutput() RepositoryDeploymentBranchPolicyMapOutput

func (RepositoryDeploymentBranchPolicyMapOutput) ToRepositoryDeploymentBranchPolicyMapOutputWithContext

func (o RepositoryDeploymentBranchPolicyMapOutput) ToRepositoryDeploymentBranchPolicyMapOutputWithContext(ctx context.Context) RepositoryDeploymentBranchPolicyMapOutput

type RepositoryDeploymentBranchPolicyOutput

type RepositoryDeploymentBranchPolicyOutput struct{ *pulumi.OutputState }

func (RepositoryDeploymentBranchPolicyOutput) ElementType

func (RepositoryDeploymentBranchPolicyOutput) EnvironmentName

The name of the environment. This environment must have `deployment_branch_policy.custom_branch_policies` set to true or a 404 error will be thrown.

func (RepositoryDeploymentBranchPolicyOutput) Etag

An etag representing the Branch object.

func (RepositoryDeploymentBranchPolicyOutput) Name

The name pattern that branches must match in order to deploy to the environment.

func (RepositoryDeploymentBranchPolicyOutput) Repository

The repository to create the policy in.

func (RepositoryDeploymentBranchPolicyOutput) ToRepositoryDeploymentBranchPolicyOutput

func (o RepositoryDeploymentBranchPolicyOutput) ToRepositoryDeploymentBranchPolicyOutput() RepositoryDeploymentBranchPolicyOutput

func (RepositoryDeploymentBranchPolicyOutput) ToRepositoryDeploymentBranchPolicyOutputWithContext

func (o RepositoryDeploymentBranchPolicyOutput) ToRepositoryDeploymentBranchPolicyOutputWithContext(ctx context.Context) RepositoryDeploymentBranchPolicyOutput

type RepositoryDeploymentBranchPolicyState

type RepositoryDeploymentBranchPolicyState struct {
	// The name of the environment. This environment must have `deployment_branch_policy.custom_branch_policies` set to true or a 404 error will be thrown.
	EnvironmentName pulumi.StringPtrInput
	// An etag representing the Branch object.
	Etag pulumi.StringPtrInput
	// The name pattern that branches must match in order to deploy to the environment.
	Name pulumi.StringPtrInput
	// The repository to create the policy in.
	Repository pulumi.StringPtrInput
}

func (RepositoryDeploymentBranchPolicyState) ElementType

type RepositoryEnvironment

type RepositoryEnvironment struct {
	pulumi.CustomResourceState

	// Can repository admins bypass the environment protections.  Defaults to `true`.
	CanAdminsBypass pulumi.BoolPtrOutput `pulumi:"canAdminsBypass"`
	// The deployment branch policy configuration
	DeploymentBranchPolicy RepositoryEnvironmentDeploymentBranchPolicyPtrOutput `pulumi:"deploymentBranchPolicy"`
	// The name of the environment.
	Environment pulumi.StringOutput `pulumi:"environment"`
	// Whether or not a user who created the job is prevented from approving their own job. Defaults to `false`.
	PreventSelfReview pulumi.BoolPtrOutput `pulumi:"preventSelfReview"`
	// The repository of the environment.
	Repository pulumi.StringOutput `pulumi:"repository"`
	// The environment reviewers configuration.
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := github.GetUser(ctx, &github.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,
			PreventSelfReview: pulumi.Bool(true),
			Reviewers: github.RepositoryEnvironmentReviewerArray{
				&github.RepositoryEnvironmentReviewerArgs{
					Users: pulumi.IntArray{
						pulumi.String(current.Id),
					},
				},
			},
			DeploymentBranchPolicy: &github.RepositoryEnvironmentDeploymentBranchPolicyArgs{
				ProtectedBranches:    pulumi.Bool(true),
				CustomBranchPolicies: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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

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

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

func (*RepositoryEnvironment) ElementType() reflect.Type

func (*RepositoryEnvironment) ToRepositoryEnvironmentOutput

func (i *RepositoryEnvironment) ToRepositoryEnvironmentOutput() RepositoryEnvironmentOutput

func (*RepositoryEnvironment) ToRepositoryEnvironmentOutputWithContext

func (i *RepositoryEnvironment) ToRepositoryEnvironmentOutputWithContext(ctx context.Context) RepositoryEnvironmentOutput

type RepositoryEnvironmentArgs

type RepositoryEnvironmentArgs struct {
	// Can repository admins bypass the environment protections.  Defaults to `true`.
	CanAdminsBypass pulumi.BoolPtrInput
	// The deployment branch policy configuration
	DeploymentBranchPolicy RepositoryEnvironmentDeploymentBranchPolicyPtrInput
	// The name of the environment.
	Environment pulumi.StringInput
	// Whether or not a user who created the job is prevented from approving their own job. Defaults to `false`.
	PreventSelfReview pulumi.BoolPtrInput
	// The repository of the environment.
	Repository pulumi.StringInput
	// The environment reviewers configuration.
	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

func (RepositoryEnvironmentArgs) ElementType() reflect.Type

type RepositoryEnvironmentArray

type RepositoryEnvironmentArray []RepositoryEnvironmentInput

func (RepositoryEnvironmentArray) ElementType

func (RepositoryEnvironmentArray) ElementType() reflect.Type

func (RepositoryEnvironmentArray) ToRepositoryEnvironmentArrayOutput

func (i RepositoryEnvironmentArray) ToRepositoryEnvironmentArrayOutput() RepositoryEnvironmentArrayOutput

func (RepositoryEnvironmentArray) ToRepositoryEnvironmentArrayOutputWithContext

func (i RepositoryEnvironmentArray) ToRepositoryEnvironmentArrayOutputWithContext(ctx context.Context) RepositoryEnvironmentArrayOutput

type RepositoryEnvironmentArrayInput

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

type RepositoryEnvironmentArrayOutput struct{ *pulumi.OutputState }

func (RepositoryEnvironmentArrayOutput) ElementType

func (RepositoryEnvironmentArrayOutput) Index

func (RepositoryEnvironmentArrayOutput) ToRepositoryEnvironmentArrayOutput

func (o RepositoryEnvironmentArrayOutput) ToRepositoryEnvironmentArrayOutput() RepositoryEnvironmentArrayOutput

func (RepositoryEnvironmentArrayOutput) ToRepositoryEnvironmentArrayOutputWithContext

func (o RepositoryEnvironmentArrayOutput) ToRepositoryEnvironmentArrayOutputWithContext(ctx context.Context) RepositoryEnvironmentArrayOutput

type RepositoryEnvironmentDeploymentBranchPolicy

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

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

func (RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyOutput

func (i RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyOutput() RepositoryEnvironmentDeploymentBranchPolicyOutput

func (RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyOutputWithContext

func (i RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyOutput

func (RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput

func (i RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput() RepositoryEnvironmentDeploymentBranchPolicyPtrOutput

func (RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext

func (i RepositoryEnvironmentDeploymentBranchPolicyArgs) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyPtrOutput

type RepositoryEnvironmentDeploymentBranchPolicyInput

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

type RepositoryEnvironmentDeploymentBranchPolicyOutput struct{ *pulumi.OutputState }

func (RepositoryEnvironmentDeploymentBranchPolicyOutput) CustomBranchPolicies

Whether only branches that match the specified name patterns can deploy to this environment.

func (RepositoryEnvironmentDeploymentBranchPolicyOutput) ElementType

func (RepositoryEnvironmentDeploymentBranchPolicyOutput) ProtectedBranches

Whether only branches with branch protection rules can deploy to this environment.

func (RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyOutput

func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyOutput() RepositoryEnvironmentDeploymentBranchPolicyOutput

func (RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyOutputWithContext

func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyOutput

func (RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput

func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput() RepositoryEnvironmentDeploymentBranchPolicyPtrOutput

func (RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext

func (o RepositoryEnvironmentDeploymentBranchPolicyOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyPtrOutput

type RepositoryEnvironmentDeploymentBranchPolicyPtrInput

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

type RepositoryEnvironmentDeploymentBranchPolicyPtrOutput

type RepositoryEnvironmentDeploymentBranchPolicyPtrOutput struct{ *pulumi.OutputState }

func (RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) CustomBranchPolicies

Whether only branches that match the specified name patterns can deploy to this environment.

func (RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) Elem

func (RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ElementType

func (RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ProtectedBranches

Whether only branches with branch protection rules can deploy to this environment.

func (RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutput

func (RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext

func (o RepositoryEnvironmentDeploymentBranchPolicyPtrOutput) ToRepositoryEnvironmentDeploymentBranchPolicyPtrOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentBranchPolicyPtrOutput

type RepositoryEnvironmentDeploymentPolicy

type RepositoryEnvironmentDeploymentPolicy struct {
	pulumi.CustomResourceState

	// The name pattern that branches must match in order to deploy to the environment.
	BranchPattern pulumi.StringOutput `pulumi:"branchPattern"`
	// The name of the environment.
	Environment pulumi.StringOutput `pulumi:"environment"`
	// The repository of the environment.
	Repository pulumi.StringOutput `pulumi:"repository"`
}

This resource allows you to create and manage environment deployment branch policies for a GitHub repository.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := github.GetUser(ctx, &github.GetUserArgs{
			Username: "",
		}, nil)
		if err != nil {
			return err
		}
		testRepository, err := github.NewRepository(ctx, "testRepository", nil)
		if err != nil {
			return err
		}
		testRepositoryEnvironment, err := github.NewRepositoryEnvironment(ctx, "testRepositoryEnvironment", &github.RepositoryEnvironmentArgs{
			Repository:  testRepository.Name,
			Environment: pulumi.String("environment/test"),
			WaitTimer:   pulumi.Int(10000),
			Reviewers: github.RepositoryEnvironmentReviewerArray{
				&github.RepositoryEnvironmentReviewerArgs{
					Users: pulumi.IntArray{
						pulumi.String(current.Id),
					},
				},
			},
			DeploymentBranchPolicy: &github.RepositoryEnvironmentDeploymentBranchPolicyArgs{
				ProtectedBranches:    pulumi.Bool(false),
				CustomBranchPolicies: pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		_, err = github.NewRepositoryEnvironmentDeploymentPolicy(ctx, "testRepositoryEnvironmentDeploymentPolicy", &github.RepositoryEnvironmentDeploymentPolicyArgs{
			Repository:    testRepository.Name,
			Environment:   testRepositoryEnvironment.Environment,
			BranchPattern: pulumi.String("releases/*"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

GitHub Repository Environment Deployment Policy can be imported using an ID made up of `name` of the repository combined with the `environment` name of the environment with the `Id` of the deployment policy, separated by a `:` character, e.g.

```sh $ pulumi import github:index/repositoryEnvironmentDeploymentPolicy:RepositoryEnvironmentDeploymentPolicy daily terraform:daily:123456 ```

func GetRepositoryEnvironmentDeploymentPolicy

func GetRepositoryEnvironmentDeploymentPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryEnvironmentDeploymentPolicyState, opts ...pulumi.ResourceOption) (*RepositoryEnvironmentDeploymentPolicy, error)

GetRepositoryEnvironmentDeploymentPolicy gets an existing RepositoryEnvironmentDeploymentPolicy 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 NewRepositoryEnvironmentDeploymentPolicy

func NewRepositoryEnvironmentDeploymentPolicy(ctx *pulumi.Context,
	name string, args *RepositoryEnvironmentDeploymentPolicyArgs, opts ...pulumi.ResourceOption) (*RepositoryEnvironmentDeploymentPolicy, error)

NewRepositoryEnvironmentDeploymentPolicy registers a new resource with the given unique name, arguments, and options.

func (*RepositoryEnvironmentDeploymentPolicy) ElementType

func (*RepositoryEnvironmentDeploymentPolicy) ToRepositoryEnvironmentDeploymentPolicyOutput

func (i *RepositoryEnvironmentDeploymentPolicy) ToRepositoryEnvironmentDeploymentPolicyOutput() RepositoryEnvironmentDeploymentPolicyOutput

func (*RepositoryEnvironmentDeploymentPolicy) ToRepositoryEnvironmentDeploymentPolicyOutputWithContext

func (i *RepositoryEnvironmentDeploymentPolicy) ToRepositoryEnvironmentDeploymentPolicyOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentPolicyOutput

type RepositoryEnvironmentDeploymentPolicyArgs

type RepositoryEnvironmentDeploymentPolicyArgs struct {
	// The name pattern that branches must match in order to deploy to the environment.
	BranchPattern pulumi.StringInput
	// The name of the environment.
	Environment pulumi.StringInput
	// The repository of the environment.
	Repository pulumi.StringInput
}

The set of arguments for constructing a RepositoryEnvironmentDeploymentPolicy resource.

func (RepositoryEnvironmentDeploymentPolicyArgs) ElementType

type RepositoryEnvironmentDeploymentPolicyArray

type RepositoryEnvironmentDeploymentPolicyArray []RepositoryEnvironmentDeploymentPolicyInput

func (RepositoryEnvironmentDeploymentPolicyArray) ElementType

func (RepositoryEnvironmentDeploymentPolicyArray) ToRepositoryEnvironmentDeploymentPolicyArrayOutput

func (i RepositoryEnvironmentDeploymentPolicyArray) ToRepositoryEnvironmentDeploymentPolicyArrayOutput() RepositoryEnvironmentDeploymentPolicyArrayOutput

func (RepositoryEnvironmentDeploymentPolicyArray) ToRepositoryEnvironmentDeploymentPolicyArrayOutputWithContext

func (i RepositoryEnvironmentDeploymentPolicyArray) ToRepositoryEnvironmentDeploymentPolicyArrayOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentPolicyArrayOutput

type RepositoryEnvironmentDeploymentPolicyArrayInput

type RepositoryEnvironmentDeploymentPolicyArrayInput interface {
	pulumi.Input

	ToRepositoryEnvironmentDeploymentPolicyArrayOutput() RepositoryEnvironmentDeploymentPolicyArrayOutput
	ToRepositoryEnvironmentDeploymentPolicyArrayOutputWithContext(context.Context) RepositoryEnvironmentDeploymentPolicyArrayOutput
}

RepositoryEnvironmentDeploymentPolicyArrayInput is an input type that accepts RepositoryEnvironmentDeploymentPolicyArray and RepositoryEnvironmentDeploymentPolicyArrayOutput values. You can construct a concrete instance of `RepositoryEnvironmentDeploymentPolicyArrayInput` via:

RepositoryEnvironmentDeploymentPolicyArray{ RepositoryEnvironmentDeploymentPolicyArgs{...} }

type RepositoryEnvironmentDeploymentPolicyArrayOutput

type RepositoryEnvironmentDeploymentPolicyArrayOutput struct{ *pulumi.OutputState }

func (RepositoryEnvironmentDeploymentPolicyArrayOutput) ElementType

func (RepositoryEnvironmentDeploymentPolicyArrayOutput) Index

func (RepositoryEnvironmentDeploymentPolicyArrayOutput) ToRepositoryEnvironmentDeploymentPolicyArrayOutput

func (o RepositoryEnvironmentDeploymentPolicyArrayOutput) ToRepositoryEnvironmentDeploymentPolicyArrayOutput() RepositoryEnvironmentDeploymentPolicyArrayOutput

func (RepositoryEnvironmentDeploymentPolicyArrayOutput) ToRepositoryEnvironmentDeploymentPolicyArrayOutputWithContext

func (o RepositoryEnvironmentDeploymentPolicyArrayOutput) ToRepositoryEnvironmentDeploymentPolicyArrayOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentPolicyArrayOutput

type RepositoryEnvironmentDeploymentPolicyInput

type RepositoryEnvironmentDeploymentPolicyInput interface {
	pulumi.Input

	ToRepositoryEnvironmentDeploymentPolicyOutput() RepositoryEnvironmentDeploymentPolicyOutput
	ToRepositoryEnvironmentDeploymentPolicyOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentPolicyOutput
}

type RepositoryEnvironmentDeploymentPolicyMap

type RepositoryEnvironmentDeploymentPolicyMap map[string]RepositoryEnvironmentDeploymentPolicyInput

func (RepositoryEnvironmentDeploymentPolicyMap) ElementType

func (RepositoryEnvironmentDeploymentPolicyMap) ToRepositoryEnvironmentDeploymentPolicyMapOutput

func (i RepositoryEnvironmentDeploymentPolicyMap) ToRepositoryEnvironmentDeploymentPolicyMapOutput() RepositoryEnvironmentDeploymentPolicyMapOutput

func (RepositoryEnvironmentDeploymentPolicyMap) ToRepositoryEnvironmentDeploymentPolicyMapOutputWithContext

func (i RepositoryEnvironmentDeploymentPolicyMap) ToRepositoryEnvironmentDeploymentPolicyMapOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentPolicyMapOutput

type RepositoryEnvironmentDeploymentPolicyMapInput

type RepositoryEnvironmentDeploymentPolicyMapInput interface {
	pulumi.Input

	ToRepositoryEnvironmentDeploymentPolicyMapOutput() RepositoryEnvironmentDeploymentPolicyMapOutput
	ToRepositoryEnvironmentDeploymentPolicyMapOutputWithContext(context.Context) RepositoryEnvironmentDeploymentPolicyMapOutput
}

RepositoryEnvironmentDeploymentPolicyMapInput is an input type that accepts RepositoryEnvironmentDeploymentPolicyMap and RepositoryEnvironmentDeploymentPolicyMapOutput values. You can construct a concrete instance of `RepositoryEnvironmentDeploymentPolicyMapInput` via:

RepositoryEnvironmentDeploymentPolicyMap{ "key": RepositoryEnvironmentDeploymentPolicyArgs{...} }

type RepositoryEnvironmentDeploymentPolicyMapOutput

type RepositoryEnvironmentDeploymentPolicyMapOutput struct{ *pulumi.OutputState }

func (RepositoryEnvironmentDeploymentPolicyMapOutput) ElementType

func (RepositoryEnvironmentDeploymentPolicyMapOutput) MapIndex

func (RepositoryEnvironmentDeploymentPolicyMapOutput) ToRepositoryEnvironmentDeploymentPolicyMapOutput

func (o RepositoryEnvironmentDeploymentPolicyMapOutput) ToRepositoryEnvironmentDeploymentPolicyMapOutput() RepositoryEnvironmentDeploymentPolicyMapOutput

func (RepositoryEnvironmentDeploymentPolicyMapOutput) ToRepositoryEnvironmentDeploymentPolicyMapOutputWithContext

func (o RepositoryEnvironmentDeploymentPolicyMapOutput) ToRepositoryEnvironmentDeploymentPolicyMapOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentPolicyMapOutput

type RepositoryEnvironmentDeploymentPolicyOutput

type RepositoryEnvironmentDeploymentPolicyOutput struct{ *pulumi.OutputState }

func (RepositoryEnvironmentDeploymentPolicyOutput) BranchPattern

The name pattern that branches must match in order to deploy to the environment.

func (RepositoryEnvironmentDeploymentPolicyOutput) ElementType

func (RepositoryEnvironmentDeploymentPolicyOutput) Environment

The name of the environment.

func (RepositoryEnvironmentDeploymentPolicyOutput) Repository

The repository of the environment.

func (RepositoryEnvironmentDeploymentPolicyOutput) ToRepositoryEnvironmentDeploymentPolicyOutput

func (o RepositoryEnvironmentDeploymentPolicyOutput) ToRepositoryEnvironmentDeploymentPolicyOutput() RepositoryEnvironmentDeploymentPolicyOutput

func (RepositoryEnvironmentDeploymentPolicyOutput) ToRepositoryEnvironmentDeploymentPolicyOutputWithContext

func (o RepositoryEnvironmentDeploymentPolicyOutput) ToRepositoryEnvironmentDeploymentPolicyOutputWithContext(ctx context.Context) RepositoryEnvironmentDeploymentPolicyOutput

type RepositoryEnvironmentDeploymentPolicyState

type RepositoryEnvironmentDeploymentPolicyState struct {
	// The name pattern that branches must match in order to deploy to the environment.
	BranchPattern pulumi.StringPtrInput
	// The name of the environment.
	Environment pulumi.StringPtrInput
	// The repository of the environment.
	Repository pulumi.StringPtrInput
}

func (RepositoryEnvironmentDeploymentPolicyState) ElementType

type RepositoryEnvironmentInput

type RepositoryEnvironmentInput interface {
	pulumi.Input

	ToRepositoryEnvironmentOutput() RepositoryEnvironmentOutput
	ToRepositoryEnvironmentOutputWithContext(ctx context.Context) RepositoryEnvironmentOutput
}

type RepositoryEnvironmentMap

type RepositoryEnvironmentMap map[string]RepositoryEnvironmentInput

func (RepositoryEnvironmentMap) ElementType

func (RepositoryEnvironmentMap) ElementType() reflect.Type

func (RepositoryEnvironmentMap) ToRepositoryEnvironmentMapOutput

func (i RepositoryEnvironmentMap) ToRepositoryEnvironmentMapOutput() RepositoryEnvironmentMapOutput

func (RepositoryEnvironmentMap) ToRepositoryEnvironmentMapOutputWithContext

func (i RepositoryEnvironmentMap) ToRepositoryEnvironmentMapOutputWithContext(ctx context.Context) RepositoryEnvironmentMapOutput

type RepositoryEnvironmentMapInput

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

type RepositoryEnvironmentMapOutput struct{ *pulumi.OutputState }

func (RepositoryEnvironmentMapOutput) ElementType

func (RepositoryEnvironmentMapOutput) MapIndex

func (RepositoryEnvironmentMapOutput) ToRepositoryEnvironmentMapOutput

func (o RepositoryEnvironmentMapOutput) ToRepositoryEnvironmentMapOutput() RepositoryEnvironmentMapOutput

func (RepositoryEnvironmentMapOutput) ToRepositoryEnvironmentMapOutputWithContext

func (o RepositoryEnvironmentMapOutput) ToRepositoryEnvironmentMapOutputWithContext(ctx context.Context) RepositoryEnvironmentMapOutput

type RepositoryEnvironmentOutput

type RepositoryEnvironmentOutput struct{ *pulumi.OutputState }

func (RepositoryEnvironmentOutput) CanAdminsBypass

func (o RepositoryEnvironmentOutput) CanAdminsBypass() pulumi.BoolPtrOutput

Can repository admins bypass the environment protections. Defaults to `true`.

func (RepositoryEnvironmentOutput) DeploymentBranchPolicy

The deployment branch policy configuration

func (RepositoryEnvironmentOutput) ElementType

func (RepositoryEnvironmentOutput) Environment

The name of the environment.

func (RepositoryEnvironmentOutput) PreventSelfReview

func (o RepositoryEnvironmentOutput) PreventSelfReview() pulumi.BoolPtrOutput

Whether or not a user who created the job is prevented from approving their own job. Defaults to `false`.

func (RepositoryEnvironmentOutput) Repository

The repository of the environment.

func (RepositoryEnvironmentOutput) Reviewers

The environment reviewers configuration.

func (RepositoryEnvironmentOutput) ToRepositoryEnvironmentOutput

func (o RepositoryEnvironmentOutput) ToRepositoryEnvironmentOutput() RepositoryEnvironmentOutput

func (RepositoryEnvironmentOutput) ToRepositoryEnvironmentOutputWithContext

func (o RepositoryEnvironmentOutput) ToRepositoryEnvironmentOutputWithContext(ctx context.Context) RepositoryEnvironmentOutput

func (RepositoryEnvironmentOutput) WaitTimer

Amount of time to delay a job after the job is initially triggered.

type RepositoryEnvironmentReviewer

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

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

func (RepositoryEnvironmentReviewerArgs) ToRepositoryEnvironmentReviewerOutput

func (i RepositoryEnvironmentReviewerArgs) ToRepositoryEnvironmentReviewerOutput() RepositoryEnvironmentReviewerOutput

func (RepositoryEnvironmentReviewerArgs) ToRepositoryEnvironmentReviewerOutputWithContext

func (i RepositoryEnvironmentReviewerArgs) ToRepositoryEnvironmentReviewerOutputWithContext(ctx context.Context) RepositoryEnvironmentReviewerOutput

type RepositoryEnvironmentReviewerArray

type RepositoryEnvironmentReviewerArray []RepositoryEnvironmentReviewerInput

func (RepositoryEnvironmentReviewerArray) ElementType

func (RepositoryEnvironmentReviewerArray) ToRepositoryEnvironmentReviewerArrayOutput

func (i RepositoryEnvironmentReviewerArray) ToRepositoryEnvironmentReviewerArrayOutput() RepositoryEnvironmentReviewerArrayOutput

func (RepositoryEnvironmentReviewerArray) ToRepositoryEnvironmentReviewerArrayOutputWithContext

func (i RepositoryEnvironmentReviewerArray) ToRepositoryEnvironmentReviewerArrayOutputWithContext(ctx context.Context) RepositoryEnvironmentReviewerArrayOutput

type RepositoryEnvironmentReviewerArrayInput

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

type RepositoryEnvironmentReviewerArrayOutput struct{ *pulumi.OutputState }

func (RepositoryEnvironmentReviewerArrayOutput) ElementType

func (RepositoryEnvironmentReviewerArrayOutput) Index

func (RepositoryEnvironmentReviewerArrayOutput) ToRepositoryEnvironmentReviewerArrayOutput

func (o RepositoryEnvironmentReviewerArrayOutput) ToRepositoryEnvironmentReviewerArrayOutput() RepositoryEnvironmentReviewerArrayOutput

func (RepositoryEnvironmentReviewerArrayOutput) ToRepositoryEnvironmentReviewerArrayOutputWithContext

func (o RepositoryEnvironmentReviewerArrayOutput) ToRepositoryEnvironmentReviewerArrayOutputWithContext(ctx context.Context) RepositoryEnvironmentReviewerArrayOutput

type RepositoryEnvironmentReviewerInput

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

type RepositoryEnvironmentReviewerOutput struct{ *pulumi.OutputState }

func (RepositoryEnvironmentReviewerOutput) ElementType

func (RepositoryEnvironmentReviewerOutput) Teams

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

func (o RepositoryEnvironmentReviewerOutput) ToRepositoryEnvironmentReviewerOutput() RepositoryEnvironmentReviewerOutput

func (RepositoryEnvironmentReviewerOutput) ToRepositoryEnvironmentReviewerOutputWithContext

func (o RepositoryEnvironmentReviewerOutput) ToRepositoryEnvironmentReviewerOutputWithContext(ctx context.Context) RepositoryEnvironmentReviewerOutput

func (RepositoryEnvironmentReviewerOutput) Users

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

type RepositoryEnvironmentState struct {
	// Can repository admins bypass the environment protections.  Defaults to `true`.
	CanAdminsBypass pulumi.BoolPtrInput
	// The deployment branch policy configuration
	DeploymentBranchPolicy RepositoryEnvironmentDeploymentBranchPolicyPtrInput
	// The name of the environment.
	Environment pulumi.StringPtrInput
	// Whether or not a user who created the job is prevented from approving their own job. Defaults to `false`.
	PreventSelfReview pulumi.BoolPtrInput
	// The repository of the environment.
	Repository pulumi.StringPtrInput
	// The environment reviewers configuration.
	Reviewers RepositoryEnvironmentReviewerArrayInput
	// Amount of time to delay a job after the job is initially triggered.
	WaitTimer pulumi.IntPtrInput
}

func (RepositoryEnvironmentState) ElementType

func (RepositoryEnvironmentState) ElementType() reflect.Type

type RepositoryFile

type RepositoryFile struct {
	pulumi.CustomResourceState

	// Git branch (defaults to the repository's default branch).
	// 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. **NOTE:** GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. This maybe useful when a branch protection rule requires signed commits.
	CommitAuthor pulumi.StringPtrOutput `pulumi:"commitAuthor"`
	// Committer email address to use. **NOTE:** GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. This may be useful when a branch protection rule requires signed commits.
	CommitEmail pulumi.StringPtrOutput `pulumi:"commitEmail"`
	// The commit message when creating, updating or deleting 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. If set to `true` it will overwrite an existing file with the same name. If set to `false` it will fail if there is an existing file with the same name.
	OverwriteOnCreate pulumi.BoolPtrOutput `pulumi:"overwriteOnCreate"`
	// The name of the commit/branch/tag.
	Ref pulumi.StringOutput `pulumi:"ref"`
	// 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 the default branch, 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 the repository's default branch).
	// The branch must already exist, it will not be created if it does not already exist.
	Branch pulumi.StringPtrInput
	// Committer author name to use. **NOTE:** GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. This maybe useful when a branch protection rule requires signed commits.
	CommitAuthor pulumi.StringPtrInput
	// Committer email address to use. **NOTE:** GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. This may be useful when a branch protection rule requires signed commits.
	CommitEmail pulumi.StringPtrInput
	// The commit message when creating, updating or deleting 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. If set to `true` it will overwrite an existing file with the same name. If set to `false` it will fail if there is an existing file with the same name.
	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 (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 (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

Git branch (defaults to the repository's default branch). The branch must already exist, it will not be created if it does not already exist.

func (RepositoryFileOutput) CommitAuthor

func (o RepositoryFileOutput) CommitAuthor() pulumi.StringPtrOutput

Committer author name to use. **NOTE:** GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. This maybe useful when a branch protection rule requires signed commits.

func (RepositoryFileOutput) CommitEmail

Committer email address to use. **NOTE:** GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. This may be useful when a branch protection rule requires signed commits.

func (RepositoryFileOutput) CommitMessage

func (o RepositoryFileOutput) CommitMessage() pulumi.StringOutput

The commit message when creating, updating or deleting the managed file.

func (RepositoryFileOutput) CommitSha

The SHA of the commit that modified the file.

func (RepositoryFileOutput) Content

The file content.

func (RepositoryFileOutput) ElementType

func (RepositoryFileOutput) ElementType() reflect.Type

func (RepositoryFileOutput) File

The path of the file to manage.

func (RepositoryFileOutput) OverwriteOnCreate

func (o RepositoryFileOutput) OverwriteOnCreate() pulumi.BoolPtrOutput

Enable overwriting existing files. If set to `true` it will overwrite an existing file with the same name. If set to `false` it will fail if there is an existing file with the same name.

func (RepositoryFileOutput) Ref

The name of the commit/branch/tag.

func (RepositoryFileOutput) Repository

func (o RepositoryFileOutput) Repository() pulumi.StringOutput

The repository to create the file in.

func (RepositoryFileOutput) Sha

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 the repository's default branch).
	// The branch must already exist, it will not be created if it does not already exist.
	Branch pulumi.StringPtrInput
	// Committer author name to use. **NOTE:** GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. This maybe useful when a branch protection rule requires signed commits.
	CommitAuthor pulumi.StringPtrInput
	// Committer email address to use. **NOTE:** GitHub app users may omit author and email information so GitHub can verify commits as the GitHub App. This may be useful when a branch protection rule requires signed commits.
	CommitEmail pulumi.StringPtrInput
	// The commit message when creating, updating or deleting 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. If set to `true` it will overwrite an existing file with the same name. If set to `false` it will fail if there is an existing file with the same name.
	OverwriteOnCreate pulumi.BoolPtrInput
	// The name of the commit/branch/tag.
	Ref pulumi.StringPtrInput
	// 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 (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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Create a milestone for a repository
		_, 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
	})
}

``` <!--End PulumiCodeChooser -->

## 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) Index

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) MapIndex

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

A description of the milestone.

func (RepositoryMilestoneOutput) DueDate

The milestone due date. In `yyyy-mm-dd` format.

func (RepositoryMilestoneOutput) ElementType

func (RepositoryMilestoneOutput) ElementType() reflect.Type

func (RepositoryMilestoneOutput) Number

The number of the milestone.

func (RepositoryMilestoneOutput) Owner

The owner of the GitHub Repository.

func (RepositoryMilestoneOutput) Repository

The name of the GitHub Repository.

func (RepositoryMilestoneOutput) State

The state of the milestone. Either `open` or `closed`. Default: `open`

func (RepositoryMilestoneOutput) Title

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

func (o RepositoryOutput) AllowAutoMerge() pulumi.BoolPtrOutput

Set to `true` to allow auto-merging pull requests on the repository.

func (RepositoryOutput) AllowMergeCommit

func (o RepositoryOutput) AllowMergeCommit() pulumi.BoolPtrOutput

Set to `false` to disable merge commits on the repository.

func (RepositoryOutput) AllowRebaseMerge

func (o RepositoryOutput) AllowRebaseMerge() pulumi.BoolPtrOutput

Set to `false` to disable rebase merges on the repository.

func (RepositoryOutput) AllowSquashMerge

func (o RepositoryOutput) AllowSquashMerge() pulumi.BoolPtrOutput

Set to `false` to disable squash merges on the repository.

func (RepositoryOutput) AllowUpdateBranch

func (o RepositoryOutput) AllowUpdateBranch() pulumi.BoolPtrOutput

Set to `true` to always suggest updating pull request branches.

func (RepositoryOutput) ArchiveOnDestroy

func (o RepositoryOutput) ArchiveOnDestroy() pulumi.BoolPtrOutput

Set to `true` to archive the repository instead of deleting on destroy.

func (RepositoryOutput) Archived

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

func (o RepositoryOutput) AutoInit() pulumi.BoolPtrOutput

Set to `true` to produce an initial commit in the repository.

func (RepositoryOutput) DefaultBranch deprecated

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 BranchDefault resource instead

func (RepositoryOutput) DeleteBranchOnMerge

func (o RepositoryOutput) DeleteBranchOnMerge() pulumi.BoolPtrOutput

Automatically delete head branch after a pull request is merged. Defaults to `false`.

func (RepositoryOutput) Description

func (o RepositoryOutput) Description() pulumi.StringPtrOutput

A description of the repository.

func (RepositoryOutput) ElementType

func (RepositoryOutput) ElementType() reflect.Type

func (RepositoryOutput) Etag

func (RepositoryOutput) FullName

func (o RepositoryOutput) FullName() pulumi.StringOutput

A string of the form "orgname/reponame".

func (RepositoryOutput) GitCloneUrl

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

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) HasDiscussions

func (o RepositoryOutput) HasDiscussions() pulumi.BoolPtrOutput

Set to `true` to enable GitHub Discussions on the repository. Defaults to `false`.

func (RepositoryOutput) HasDownloads

func (o RepositoryOutput) HasDownloads() pulumi.BoolPtrOutput

Set to `true` to enable the (deprecated) downloads features on the repository.

func (RepositoryOutput) HasIssues

func (o RepositoryOutput) HasIssues() pulumi.BoolPtrOutput

Set to `true` to enable the GitHub Issues features on the repository.

func (RepositoryOutput) HasProjects

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

Set to `true` to enable the GitHub Wiki features on the repository.

func (RepositoryOutput) HomepageUrl

func (o RepositoryOutput) HomepageUrl() pulumi.StringPtrOutput

URL of a page describing the project.

func (RepositoryOutput) HtmlUrl

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

func (o RepositoryOutput) HttpCloneUrl() pulumi.StringOutput

URL that can be provided to `git clone` to clone the repository via HTTPS.

func (RepositoryOutput) IgnoreVulnerabilityAlertsDuringRead

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

func (o RepositoryOutput) IsTemplate() pulumi.BoolPtrOutput

Set to `true` to tell GitHub that this is a template repository.

func (RepositoryOutput) LicenseTemplate

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

func (o RepositoryOutput) MergeCommitMessage() pulumi.StringPtrOutput

Can be `PR_BODY`, `PR_TITLE`, or `BLANK` for a default merge commit message. Applicable only if `allowMergeCommit` is `true`.

func (RepositoryOutput) MergeCommitTitle

func (o RepositoryOutput) MergeCommitTitle() pulumi.StringPtrOutput

Can be `PR_TITLE` or `MERGE_MESSAGE` for a default merge commit title. Applicable only if `allowMergeCommit` is `true`.

func (RepositoryOutput) Name

The name of the repository.

func (RepositoryOutput) NodeId

GraphQL global node id for use with v4 API

func (RepositoryOutput) Pages

The repository's GitHub Pages configuration. See GitHub Pages Configuration below for details.

func (RepositoryOutput) PrimaryLanguage

func (o RepositoryOutput) PrimaryLanguage() pulumi.StringOutput

The primary language used in the repository.

func (RepositoryOutput) Private deprecated

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

func (o RepositoryOutput) RepoId() pulumi.IntOutput

GitHub ID for the repository

func (RepositoryOutput) SecurityAndAnalysis

func (o RepositoryOutput) SecurityAndAnalysis() RepositorySecurityAndAnalysisOutput

The repository's [security and analysis](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository) configuration. See Security and Analysis Configuration below for details.

func (RepositoryOutput) SquashMergeCommitMessage

func (o RepositoryOutput) SquashMergeCommitMessage() pulumi.StringPtrOutput

Can be `PR_BODY`, `COMMIT_MESSAGES`, or `BLANK` for a default squash merge commit message. Applicable only if `allowSquashMerge` is `true`.

func (RepositoryOutput) SquashMergeCommitTitle

func (o RepositoryOutput) SquashMergeCommitTitle() pulumi.StringPtrOutput

Can be `PR_TITLE` or `COMMIT_OR_PR_TITLE` for a default squash merge commit title. Applicable only if `allowSquashMerge` is `true`.

func (RepositoryOutput) SshCloneUrl

func (o RepositoryOutput) SshCloneUrl() pulumi.StringOutput

URL that can be provided to `git clone` to clone the repository via SSH.

func (RepositoryOutput) SvnUrl

URL that can be provided to `svn checkout` to check out the repository via GitHub's Subversion protocol emulation.

func (RepositoryOutput) Template

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

The list of topics of the repository.

func (RepositoryOutput) Visibility

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

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.

func (RepositoryOutput) WebCommitSignoffRequired

func (o RepositoryOutput) WebCommitSignoffRequired() pulumi.BoolPtrOutput

Require contributors to sign off on web-based commits. See more [here](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-commit-signoff-policy-for-your-repository). Defaults to `false`.

type RepositoryPages

type RepositoryPages struct {
	// The type of GitHub Pages site to build. Can be `legacy` or `workflow`. If you use `legacy` as build type you need to set the option `source`.
	BuildType *string `pulumi:"buildType"`
	// 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"`
	// Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
	Status *string `pulumi:"status"`
	Url    *string `pulumi:"url"`
}

type RepositoryPagesArgs

type RepositoryPagesArgs struct {
	// The type of GitHub Pages site to build. Can be `legacy` or `workflow`. If you use `legacy` as build type you need to set the option `source`.
	BuildType pulumi.StringPtrInput `pulumi:"buildType"`
	// 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 RepositoryPagesSourcePtrInput `pulumi:"source"`
	// Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
	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) BuildType

The type of GitHub Pages site to build. Can be `legacy` or `workflow`. If you use `legacy` as build type you need to set the option `source`.

func (RepositoryPagesOutput) Cname

The custom domain for the repository. This can only be set after the repository has been created.

func (RepositoryPagesOutput) Custom404

Whether the rendered GitHub Pages site has a custom 404 page.

func (RepositoryPagesOutput) ElementType

func (RepositoryPagesOutput) ElementType() reflect.Type

func (RepositoryPagesOutput) HtmlUrl

The absolute URL (including scheme) of the rendered GitHub Pages site e.g. `https://username.github.io`.

func (RepositoryPagesOutput) Source

The source branch and directory for the rendered Pages site. See GitHub Pages Source below for details.

func (RepositoryPagesOutput) Status

Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.

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

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

type RepositoryPagesPtrOutput

type RepositoryPagesPtrOutput struct{ *pulumi.OutputState }

func (RepositoryPagesPtrOutput) BuildType

The type of GitHub Pages site to build. Can be `legacy` or `workflow`. If you use `legacy` as build type you need to set the option `source`.

func (RepositoryPagesPtrOutput) Cname

The custom domain for the repository. This can only be set after the repository has been created.

func (RepositoryPagesPtrOutput) Custom404

Whether the rendered GitHub Pages site has a custom 404 page.

func (RepositoryPagesPtrOutput) Elem

func (RepositoryPagesPtrOutput) ElementType

func (RepositoryPagesPtrOutput) ElementType() reflect.Type

func (RepositoryPagesPtrOutput) HtmlUrl

The absolute URL (including scheme) of the rendered GitHub Pages site e.g. `https://username.github.io`.

func (RepositoryPagesPtrOutput) Source

The source branch and directory for the rendered Pages site. See GitHub Pages Source below for details.

func (RepositoryPagesPtrOutput) Status

Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.

func (RepositoryPagesPtrOutput) ToRepositoryPagesPtrOutput

func (o RepositoryPagesPtrOutput) ToRepositoryPagesPtrOutput() RepositoryPagesPtrOutput

func (RepositoryPagesPtrOutput) ToRepositoryPagesPtrOutputWithContext

func (o RepositoryPagesPtrOutput) ToRepositoryPagesPtrOutputWithContext(ctx context.Context) RepositoryPagesPtrOutput

func (RepositoryPagesPtrOutput) Url

type RepositoryPagesSource

type RepositoryPagesSource struct {
	// The repository branch used to publish the site's source files. (i.e. `main` or `gh-pages`.
	Branch string `pulumi:"branch"`
	// The repository directory from which the site publishes (Default: `/`).
	Path *string `pulumi:"path"`
}

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

The repository branch used to publish the site's source files. (i.e. `main` or `gh-pages`.

func (RepositoryPagesSourceOutput) ElementType

func (RepositoryPagesSourceOutput) Path

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

type RepositoryPagesSourcePtrOutput

type RepositoryPagesSourcePtrOutput struct{ *pulumi.OutputState }

func (RepositoryPagesSourcePtrOutput) Branch

The repository branch used to publish the site's source files. (i.e. `main` or `gh-pages`.

func (RepositoryPagesSourcePtrOutput) Elem

func (RepositoryPagesSourcePtrOutput) ElementType

func (RepositoryPagesSourcePtrOutput) Path

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

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) Index

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 (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

The body of the project.

func (RepositoryProjectOutput) ElementType

func (RepositoryProjectOutput) ElementType() reflect.Type

func (RepositoryProjectOutput) Etag

func (RepositoryProjectOutput) Name

The name of the project.

func (RepositoryProjectOutput) Repository

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

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

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) Index

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) MapIndex

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

Name of the branch serving as the base of the Pull Request.

func (RepositoryPullRequestOutput) BaseRepository

func (o RepositoryPullRequestOutput) BaseRepository() pulumi.StringOutput

Name of the base repository to retrieve the Pull Requests from.

func (RepositoryPullRequestOutput) BaseSha

Head commit SHA of the Pull Request base.

func (RepositoryPullRequestOutput) Body

Body of the Pull Request.

func (RepositoryPullRequestOutput) Draft

Indicates Whether this Pull Request is a draft.

func (RepositoryPullRequestOutput) ElementType

func (RepositoryPullRequestOutput) HeadRef

Name of the branch serving as the head of the Pull Request.

func (RepositoryPullRequestOutput) HeadSha

Head commit SHA of the Pull Request head.

func (RepositoryPullRequestOutput) Labels

List of label names set on the Pull Request.

func (RepositoryPullRequestOutput) MaintainerCanModify

func (o RepositoryPullRequestOutput) MaintainerCanModify() pulumi.BoolPtrOutput

Controls whether the base repository maintainers can modify the Pull Request. Default: false.

func (RepositoryPullRequestOutput) Number

The number of the Pull Request within the repository.

func (RepositoryPullRequestOutput) OpenedAt

Unix timestamp indicating the Pull Request creation time.

func (RepositoryPullRequestOutput) OpenedBy

GitHub login of the user who opened the Pull Request.

func (RepositoryPullRequestOutput) Owner

Owner of the repository. If not provided, the provider's default owner is used.

func (RepositoryPullRequestOutput) State

the current Pull Request state - can be "open", "closed" or "merged".

func (RepositoryPullRequestOutput) Title

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

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 RepositoryRuleset

type RepositoryRuleset struct {
	pulumi.CustomResourceState

	// (Block List) The actors that can bypass the rules in this ruleset. (see below for nested schema)
	BypassActors RepositoryRulesetBypassActorArrayOutput `pulumi:"bypassActors"`
	// (Block List, Max: 1) Parameters for a repository ruleset ref name condition. (see below for nested schema)
	Conditions RepositoryRulesetConditionsPtrOutput `pulumi:"conditions"`
	// (String) Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.
	Enforcement pulumi.StringOutput `pulumi:"enforcement"`
	// (String)
	Etag pulumi.StringOutput `pulumi:"etag"`
	// (String) The name of the ruleset.
	Name pulumi.StringOutput `pulumi:"name"`
	// (String) GraphQL global node id for use with v4 API.
	NodeId pulumi.StringOutput `pulumi:"nodeId"`
	// (String) Name of the repository to apply rulset to.
	Repository pulumi.StringPtrOutput `pulumi:"repository"`
	// (Block List, Min: 1, Max: 1) Rules within the ruleset. (see below for nested schema)
	Rules RepositoryRulesetRulesOutput `pulumi:"rules"`
	// (Number) GitHub ID for the ruleset.
	RulesetId pulumi.IntOutput `pulumi:"rulesetId"`
	// (String) Possible values are `branch` and `tag`.
	Target pulumi.StringOutput `pulumi:"target"`
}

Creates a GitHub repository ruleset.

This resource allows you to create and manage rulesets on the repository level. When applied, a new ruleset will be created. When destroyed, that ruleset will be removed.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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", &github.RepositoryArgs{
			Description: pulumi.String("Example repository"),
		})
		if err != nil {
			return err
		}
		_, err = github.NewRepositoryRuleset(ctx, "exampleRepositoryRuleset", &github.RepositoryRulesetArgs{
			Repository:  exampleRepository.Name,
			Target:      pulumi.String("branch"),
			Enforcement: pulumi.String("active"),
			Conditions: &github.RepositoryRulesetConditionsArgs{
				RefName: &github.RepositoryRulesetConditionsRefNameArgs{
					Includes: pulumi.StringArray{
						pulumi.String("~ALL"),
					},
					Excludes: pulumi.StringArray{},
				},
			},
			BypassActors: github.RepositoryRulesetBypassActorArray{
				&github.RepositoryRulesetBypassActorArgs{
					ActorId:    pulumi.Int(13473),
					ActorType:  pulumi.String("Integration"),
					BypassMode: pulumi.String("always"),
				},
			},
			Rules: &github.RepositoryRulesetRulesArgs{
				Creation:              pulumi.Bool(true),
				Update:                pulumi.Bool(true),
				Deletion:              pulumi.Bool(true),
				RequiredLinearHistory: pulumi.Bool(true),
				RequiredSignatures:    pulumi.Bool(true),
				RequiredDeployments: &github.RepositoryRulesetRulesRequiredDeploymentsArgs{
					RequiredDeploymentEnvironments: pulumi.StringArray{
						pulumi.String("test"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

GitHub Repository Rulesets can be imported using the GitHub repository name and ruleset ID e.g.

```sh $ pulumi import github:index/repositoryRuleset:RepositoryRuleset example example:12345` ```

func GetRepositoryRuleset

func GetRepositoryRuleset(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryRulesetState, opts ...pulumi.ResourceOption) (*RepositoryRuleset, error)

GetRepositoryRuleset gets an existing RepositoryRuleset 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 NewRepositoryRuleset

func NewRepositoryRuleset(ctx *pulumi.Context,
	name string, args *RepositoryRulesetArgs, opts ...pulumi.ResourceOption) (*RepositoryRuleset, error)

NewRepositoryRuleset registers a new resource with the given unique name, arguments, and options.

func (*RepositoryRuleset) ElementType

func (*RepositoryRuleset) ElementType() reflect.Type

func (*RepositoryRuleset) ToRepositoryRulesetOutput

func (i *RepositoryRuleset) ToRepositoryRulesetOutput() RepositoryRulesetOutput

func (*RepositoryRuleset) ToRepositoryRulesetOutputWithContext

func (i *RepositoryRuleset) ToRepositoryRulesetOutputWithContext(ctx context.Context) RepositoryRulesetOutput

type RepositoryRulesetArgs

type RepositoryRulesetArgs struct {
	// (Block List) The actors that can bypass the rules in this ruleset. (see below for nested schema)
	BypassActors RepositoryRulesetBypassActorArrayInput
	// (Block List, Max: 1) Parameters for a repository ruleset ref name condition. (see below for nested schema)
	Conditions RepositoryRulesetConditionsPtrInput
	// (String) Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.
	Enforcement pulumi.StringInput
	// (String) The name of the ruleset.
	Name pulumi.StringPtrInput
	// (String) Name of the repository to apply rulset to.
	Repository pulumi.StringPtrInput
	// (Block List, Min: 1, Max: 1) Rules within the ruleset. (see below for nested schema)
	Rules RepositoryRulesetRulesInput
	// (String) Possible values are `branch` and `tag`.
	Target pulumi.StringInput
}

The set of arguments for constructing a RepositoryRuleset resource.

func (RepositoryRulesetArgs) ElementType

func (RepositoryRulesetArgs) ElementType() reflect.Type

type RepositoryRulesetArray

type RepositoryRulesetArray []RepositoryRulesetInput

func (RepositoryRulesetArray) ElementType

func (RepositoryRulesetArray) ElementType() reflect.Type

func (RepositoryRulesetArray) ToRepositoryRulesetArrayOutput

func (i RepositoryRulesetArray) ToRepositoryRulesetArrayOutput() RepositoryRulesetArrayOutput

func (RepositoryRulesetArray) ToRepositoryRulesetArrayOutputWithContext

func (i RepositoryRulesetArray) ToRepositoryRulesetArrayOutputWithContext(ctx context.Context) RepositoryRulesetArrayOutput

type RepositoryRulesetArrayInput

type RepositoryRulesetArrayInput interface {
	pulumi.Input

	ToRepositoryRulesetArrayOutput() RepositoryRulesetArrayOutput
	ToRepositoryRulesetArrayOutputWithContext(context.Context) RepositoryRulesetArrayOutput
}

RepositoryRulesetArrayInput is an input type that accepts RepositoryRulesetArray and RepositoryRulesetArrayOutput values. You can construct a concrete instance of `RepositoryRulesetArrayInput` via:

RepositoryRulesetArray{ RepositoryRulesetArgs{...} }

type RepositoryRulesetArrayOutput

type RepositoryRulesetArrayOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetArrayOutput) ElementType

func (RepositoryRulesetArrayOutput) Index

func (RepositoryRulesetArrayOutput) ToRepositoryRulesetArrayOutput

func (o RepositoryRulesetArrayOutput) ToRepositoryRulesetArrayOutput() RepositoryRulesetArrayOutput

func (RepositoryRulesetArrayOutput) ToRepositoryRulesetArrayOutputWithContext

func (o RepositoryRulesetArrayOutput) ToRepositoryRulesetArrayOutputWithContext(ctx context.Context) RepositoryRulesetArrayOutput

type RepositoryRulesetBypassActor

type RepositoryRulesetBypassActor struct {
	// (Number) The ID of the actor that can bypass a ruleset.
	ActorId int `pulumi:"actorId"`
	// The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
	ActorType string `pulumi:"actorType"`
	// (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.
	//
	// > Note: at the time of writing this, the following actor types correspond to the following actor IDs:
	BypassMode string `pulumi:"bypassMode"`
}

type RepositoryRulesetBypassActorArgs

type RepositoryRulesetBypassActorArgs struct {
	// (Number) The ID of the actor that can bypass a ruleset.
	ActorId pulumi.IntInput `pulumi:"actorId"`
	// The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
	ActorType pulumi.StringInput `pulumi:"actorType"`
	// (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.
	//
	// > Note: at the time of writing this, the following actor types correspond to the following actor IDs:
	BypassMode pulumi.StringInput `pulumi:"bypassMode"`
}

func (RepositoryRulesetBypassActorArgs) ElementType

func (RepositoryRulesetBypassActorArgs) ToRepositoryRulesetBypassActorOutput

func (i RepositoryRulesetBypassActorArgs) ToRepositoryRulesetBypassActorOutput() RepositoryRulesetBypassActorOutput

func (RepositoryRulesetBypassActorArgs) ToRepositoryRulesetBypassActorOutputWithContext

func (i RepositoryRulesetBypassActorArgs) ToRepositoryRulesetBypassActorOutputWithContext(ctx context.Context) RepositoryRulesetBypassActorOutput

type RepositoryRulesetBypassActorArray

type RepositoryRulesetBypassActorArray []RepositoryRulesetBypassActorInput

func (RepositoryRulesetBypassActorArray) ElementType

func (RepositoryRulesetBypassActorArray) ToRepositoryRulesetBypassActorArrayOutput

func (i RepositoryRulesetBypassActorArray) ToRepositoryRulesetBypassActorArrayOutput() RepositoryRulesetBypassActorArrayOutput

func (RepositoryRulesetBypassActorArray) ToRepositoryRulesetBypassActorArrayOutputWithContext

func (i RepositoryRulesetBypassActorArray) ToRepositoryRulesetBypassActorArrayOutputWithContext(ctx context.Context) RepositoryRulesetBypassActorArrayOutput

type RepositoryRulesetBypassActorArrayInput

type RepositoryRulesetBypassActorArrayInput interface {
	pulumi.Input

	ToRepositoryRulesetBypassActorArrayOutput() RepositoryRulesetBypassActorArrayOutput
	ToRepositoryRulesetBypassActorArrayOutputWithContext(context.Context) RepositoryRulesetBypassActorArrayOutput
}

RepositoryRulesetBypassActorArrayInput is an input type that accepts RepositoryRulesetBypassActorArray and RepositoryRulesetBypassActorArrayOutput values. You can construct a concrete instance of `RepositoryRulesetBypassActorArrayInput` via:

RepositoryRulesetBypassActorArray{ RepositoryRulesetBypassActorArgs{...} }

type RepositoryRulesetBypassActorArrayOutput

type RepositoryRulesetBypassActorArrayOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetBypassActorArrayOutput) ElementType

func (RepositoryRulesetBypassActorArrayOutput) Index

func (RepositoryRulesetBypassActorArrayOutput) ToRepositoryRulesetBypassActorArrayOutput

func (o RepositoryRulesetBypassActorArrayOutput) ToRepositoryRulesetBypassActorArrayOutput() RepositoryRulesetBypassActorArrayOutput

func (RepositoryRulesetBypassActorArrayOutput) ToRepositoryRulesetBypassActorArrayOutputWithContext

func (o RepositoryRulesetBypassActorArrayOutput) ToRepositoryRulesetBypassActorArrayOutputWithContext(ctx context.Context) RepositoryRulesetBypassActorArrayOutput

type RepositoryRulesetBypassActorInput

type RepositoryRulesetBypassActorInput interface {
	pulumi.Input

	ToRepositoryRulesetBypassActorOutput() RepositoryRulesetBypassActorOutput
	ToRepositoryRulesetBypassActorOutputWithContext(context.Context) RepositoryRulesetBypassActorOutput
}

RepositoryRulesetBypassActorInput is an input type that accepts RepositoryRulesetBypassActorArgs and RepositoryRulesetBypassActorOutput values. You can construct a concrete instance of `RepositoryRulesetBypassActorInput` via:

RepositoryRulesetBypassActorArgs{...}

type RepositoryRulesetBypassActorOutput

type RepositoryRulesetBypassActorOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetBypassActorOutput) ActorId

(Number) The ID of the actor that can bypass a ruleset.

func (RepositoryRulesetBypassActorOutput) ActorType

The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.

func (RepositoryRulesetBypassActorOutput) BypassMode

(String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.

> Note: at the time of writing this, the following actor types correspond to the following actor IDs:

func (RepositoryRulesetBypassActorOutput) ElementType

func (RepositoryRulesetBypassActorOutput) ToRepositoryRulesetBypassActorOutput

func (o RepositoryRulesetBypassActorOutput) ToRepositoryRulesetBypassActorOutput() RepositoryRulesetBypassActorOutput

func (RepositoryRulesetBypassActorOutput) ToRepositoryRulesetBypassActorOutputWithContext

func (o RepositoryRulesetBypassActorOutput) ToRepositoryRulesetBypassActorOutputWithContext(ctx context.Context) RepositoryRulesetBypassActorOutput

type RepositoryRulesetConditions

type RepositoryRulesetConditions struct {
	// (Block List, Min: 1, Max: 1) (see below for nested schema)
	RefName RepositoryRulesetConditionsRefName `pulumi:"refName"`
}

type RepositoryRulesetConditionsArgs

type RepositoryRulesetConditionsArgs struct {
	// (Block List, Min: 1, Max: 1) (see below for nested schema)
	RefName RepositoryRulesetConditionsRefNameInput `pulumi:"refName"`
}

func (RepositoryRulesetConditionsArgs) ElementType

func (RepositoryRulesetConditionsArgs) ToRepositoryRulesetConditionsOutput

func (i RepositoryRulesetConditionsArgs) ToRepositoryRulesetConditionsOutput() RepositoryRulesetConditionsOutput

func (RepositoryRulesetConditionsArgs) ToRepositoryRulesetConditionsOutputWithContext

func (i RepositoryRulesetConditionsArgs) ToRepositoryRulesetConditionsOutputWithContext(ctx context.Context) RepositoryRulesetConditionsOutput

func (RepositoryRulesetConditionsArgs) ToRepositoryRulesetConditionsPtrOutput

func (i RepositoryRulesetConditionsArgs) ToRepositoryRulesetConditionsPtrOutput() RepositoryRulesetConditionsPtrOutput

func (RepositoryRulesetConditionsArgs) ToRepositoryRulesetConditionsPtrOutputWithContext

func (i RepositoryRulesetConditionsArgs) ToRepositoryRulesetConditionsPtrOutputWithContext(ctx context.Context) RepositoryRulesetConditionsPtrOutput

type RepositoryRulesetConditionsInput

type RepositoryRulesetConditionsInput interface {
	pulumi.Input

	ToRepositoryRulesetConditionsOutput() RepositoryRulesetConditionsOutput
	ToRepositoryRulesetConditionsOutputWithContext(context.Context) RepositoryRulesetConditionsOutput
}

RepositoryRulesetConditionsInput is an input type that accepts RepositoryRulesetConditionsArgs and RepositoryRulesetConditionsOutput values. You can construct a concrete instance of `RepositoryRulesetConditionsInput` via:

RepositoryRulesetConditionsArgs{...}

type RepositoryRulesetConditionsOutput

type RepositoryRulesetConditionsOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetConditionsOutput) ElementType

func (RepositoryRulesetConditionsOutput) RefName

(Block List, Min: 1, Max: 1) (see below for nested schema)

func (RepositoryRulesetConditionsOutput) ToRepositoryRulesetConditionsOutput

func (o RepositoryRulesetConditionsOutput) ToRepositoryRulesetConditionsOutput() RepositoryRulesetConditionsOutput

func (RepositoryRulesetConditionsOutput) ToRepositoryRulesetConditionsOutputWithContext

func (o RepositoryRulesetConditionsOutput) ToRepositoryRulesetConditionsOutputWithContext(ctx context.Context) RepositoryRulesetConditionsOutput

func (RepositoryRulesetConditionsOutput) ToRepositoryRulesetConditionsPtrOutput

func (o RepositoryRulesetConditionsOutput) ToRepositoryRulesetConditionsPtrOutput() RepositoryRulesetConditionsPtrOutput

func (RepositoryRulesetConditionsOutput) ToRepositoryRulesetConditionsPtrOutputWithContext

func (o RepositoryRulesetConditionsOutput) ToRepositoryRulesetConditionsPtrOutputWithContext(ctx context.Context) RepositoryRulesetConditionsPtrOutput

type RepositoryRulesetConditionsPtrInput

type RepositoryRulesetConditionsPtrInput interface {
	pulumi.Input

	ToRepositoryRulesetConditionsPtrOutput() RepositoryRulesetConditionsPtrOutput
	ToRepositoryRulesetConditionsPtrOutputWithContext(context.Context) RepositoryRulesetConditionsPtrOutput
}

RepositoryRulesetConditionsPtrInput is an input type that accepts RepositoryRulesetConditionsArgs, RepositoryRulesetConditionsPtr and RepositoryRulesetConditionsPtrOutput values. You can construct a concrete instance of `RepositoryRulesetConditionsPtrInput` via:

        RepositoryRulesetConditionsArgs{...}

or:

        nil

type RepositoryRulesetConditionsPtrOutput

type RepositoryRulesetConditionsPtrOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetConditionsPtrOutput) Elem

func (RepositoryRulesetConditionsPtrOutput) ElementType

func (RepositoryRulesetConditionsPtrOutput) RefName

(Block List, Min: 1, Max: 1) (see below for nested schema)

func (RepositoryRulesetConditionsPtrOutput) ToRepositoryRulesetConditionsPtrOutput

func (o RepositoryRulesetConditionsPtrOutput) ToRepositoryRulesetConditionsPtrOutput() RepositoryRulesetConditionsPtrOutput

func (RepositoryRulesetConditionsPtrOutput) ToRepositoryRulesetConditionsPtrOutputWithContext

func (o RepositoryRulesetConditionsPtrOutput) ToRepositoryRulesetConditionsPtrOutputWithContext(ctx context.Context) RepositoryRulesetConditionsPtrOutput

type RepositoryRulesetConditionsRefName

type RepositoryRulesetConditionsRefName struct {
	// (List of String) Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
	Excludes []string `pulumi:"excludes"`
	// (List of String) Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.
	Includes []string `pulumi:"includes"`
}

type RepositoryRulesetConditionsRefNameArgs

type RepositoryRulesetConditionsRefNameArgs struct {
	// (List of String) Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
	Excludes pulumi.StringArrayInput `pulumi:"excludes"`
	// (List of String) Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.
	Includes pulumi.StringArrayInput `pulumi:"includes"`
}

func (RepositoryRulesetConditionsRefNameArgs) ElementType

func (RepositoryRulesetConditionsRefNameArgs) ToRepositoryRulesetConditionsRefNameOutput

func (i RepositoryRulesetConditionsRefNameArgs) ToRepositoryRulesetConditionsRefNameOutput() RepositoryRulesetConditionsRefNameOutput

func (RepositoryRulesetConditionsRefNameArgs) ToRepositoryRulesetConditionsRefNameOutputWithContext

func (i RepositoryRulesetConditionsRefNameArgs) ToRepositoryRulesetConditionsRefNameOutputWithContext(ctx context.Context) RepositoryRulesetConditionsRefNameOutput

func (RepositoryRulesetConditionsRefNameArgs) ToRepositoryRulesetConditionsRefNamePtrOutput

func (i RepositoryRulesetConditionsRefNameArgs) ToRepositoryRulesetConditionsRefNamePtrOutput() RepositoryRulesetConditionsRefNamePtrOutput

func (RepositoryRulesetConditionsRefNameArgs) ToRepositoryRulesetConditionsRefNamePtrOutputWithContext

func (i RepositoryRulesetConditionsRefNameArgs) ToRepositoryRulesetConditionsRefNamePtrOutputWithContext(ctx context.Context) RepositoryRulesetConditionsRefNamePtrOutput

type RepositoryRulesetConditionsRefNameInput

type RepositoryRulesetConditionsRefNameInput interface {
	pulumi.Input

	ToRepositoryRulesetConditionsRefNameOutput() RepositoryRulesetConditionsRefNameOutput
	ToRepositoryRulesetConditionsRefNameOutputWithContext(context.Context) RepositoryRulesetConditionsRefNameOutput
}

RepositoryRulesetConditionsRefNameInput is an input type that accepts RepositoryRulesetConditionsRefNameArgs and RepositoryRulesetConditionsRefNameOutput values. You can construct a concrete instance of `RepositoryRulesetConditionsRefNameInput` via:

RepositoryRulesetConditionsRefNameArgs{...}

type RepositoryRulesetConditionsRefNameOutput

type RepositoryRulesetConditionsRefNameOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetConditionsRefNameOutput) ElementType

func (RepositoryRulesetConditionsRefNameOutput) Excludes

(List of String) Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

func (RepositoryRulesetConditionsRefNameOutput) Includes

(List of String) Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.

func (RepositoryRulesetConditionsRefNameOutput) ToRepositoryRulesetConditionsRefNameOutput

func (o RepositoryRulesetConditionsRefNameOutput) ToRepositoryRulesetConditionsRefNameOutput() RepositoryRulesetConditionsRefNameOutput

func (RepositoryRulesetConditionsRefNameOutput) ToRepositoryRulesetConditionsRefNameOutputWithContext

func (o RepositoryRulesetConditionsRefNameOutput) ToRepositoryRulesetConditionsRefNameOutputWithContext(ctx context.Context) RepositoryRulesetConditionsRefNameOutput

func (RepositoryRulesetConditionsRefNameOutput) ToRepositoryRulesetConditionsRefNamePtrOutput

func (o RepositoryRulesetConditionsRefNameOutput) ToRepositoryRulesetConditionsRefNamePtrOutput() RepositoryRulesetConditionsRefNamePtrOutput

func (RepositoryRulesetConditionsRefNameOutput) ToRepositoryRulesetConditionsRefNamePtrOutputWithContext

func (o RepositoryRulesetConditionsRefNameOutput) ToRepositoryRulesetConditionsRefNamePtrOutputWithContext(ctx context.Context) RepositoryRulesetConditionsRefNamePtrOutput

type RepositoryRulesetConditionsRefNamePtrInput

type RepositoryRulesetConditionsRefNamePtrInput interface {
	pulumi.Input

	ToRepositoryRulesetConditionsRefNamePtrOutput() RepositoryRulesetConditionsRefNamePtrOutput
	ToRepositoryRulesetConditionsRefNamePtrOutputWithContext(context.Context) RepositoryRulesetConditionsRefNamePtrOutput
}

RepositoryRulesetConditionsRefNamePtrInput is an input type that accepts RepositoryRulesetConditionsRefNameArgs, RepositoryRulesetConditionsRefNamePtr and RepositoryRulesetConditionsRefNamePtrOutput values. You can construct a concrete instance of `RepositoryRulesetConditionsRefNamePtrInput` via:

        RepositoryRulesetConditionsRefNameArgs{...}

or:

        nil

type RepositoryRulesetConditionsRefNamePtrOutput

type RepositoryRulesetConditionsRefNamePtrOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetConditionsRefNamePtrOutput) Elem

func (RepositoryRulesetConditionsRefNamePtrOutput) ElementType

func (RepositoryRulesetConditionsRefNamePtrOutput) Excludes

(List of String) Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

func (RepositoryRulesetConditionsRefNamePtrOutput) Includes

(List of String) Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.

func (RepositoryRulesetConditionsRefNamePtrOutput) ToRepositoryRulesetConditionsRefNamePtrOutput

func (o RepositoryRulesetConditionsRefNamePtrOutput) ToRepositoryRulesetConditionsRefNamePtrOutput() RepositoryRulesetConditionsRefNamePtrOutput

func (RepositoryRulesetConditionsRefNamePtrOutput) ToRepositoryRulesetConditionsRefNamePtrOutputWithContext

func (o RepositoryRulesetConditionsRefNamePtrOutput) ToRepositoryRulesetConditionsRefNamePtrOutputWithContext(ctx context.Context) RepositoryRulesetConditionsRefNamePtrOutput

type RepositoryRulesetInput

type RepositoryRulesetInput interface {
	pulumi.Input

	ToRepositoryRulesetOutput() RepositoryRulesetOutput
	ToRepositoryRulesetOutputWithContext(ctx context.Context) RepositoryRulesetOutput
}

type RepositoryRulesetMap

type RepositoryRulesetMap map[string]RepositoryRulesetInput

func (RepositoryRulesetMap) ElementType

func (RepositoryRulesetMap) ElementType() reflect.Type

func (RepositoryRulesetMap) ToRepositoryRulesetMapOutput

func (i RepositoryRulesetMap) ToRepositoryRulesetMapOutput() RepositoryRulesetMapOutput

func (RepositoryRulesetMap) ToRepositoryRulesetMapOutputWithContext

func (i RepositoryRulesetMap) ToRepositoryRulesetMapOutputWithContext(ctx context.Context) RepositoryRulesetMapOutput

type RepositoryRulesetMapInput

type RepositoryRulesetMapInput interface {
	pulumi.Input

	ToRepositoryRulesetMapOutput() RepositoryRulesetMapOutput
	ToRepositoryRulesetMapOutputWithContext(context.Context) RepositoryRulesetMapOutput
}

RepositoryRulesetMapInput is an input type that accepts RepositoryRulesetMap and RepositoryRulesetMapOutput values. You can construct a concrete instance of `RepositoryRulesetMapInput` via:

RepositoryRulesetMap{ "key": RepositoryRulesetArgs{...} }

type RepositoryRulesetMapOutput

type RepositoryRulesetMapOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetMapOutput) ElementType

func (RepositoryRulesetMapOutput) ElementType() reflect.Type

func (RepositoryRulesetMapOutput) MapIndex

func (RepositoryRulesetMapOutput) ToRepositoryRulesetMapOutput

func (o RepositoryRulesetMapOutput) ToRepositoryRulesetMapOutput() RepositoryRulesetMapOutput

func (RepositoryRulesetMapOutput) ToRepositoryRulesetMapOutputWithContext

func (o RepositoryRulesetMapOutput) ToRepositoryRulesetMapOutputWithContext(ctx context.Context) RepositoryRulesetMapOutput

type RepositoryRulesetOutput

type RepositoryRulesetOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetOutput) BypassActors

(Block List) The actors that can bypass the rules in this ruleset. (see below for nested schema)

func (RepositoryRulesetOutput) Conditions

(Block List, Max: 1) Parameters for a repository ruleset ref name condition. (see below for nested schema)

func (RepositoryRulesetOutput) ElementType

func (RepositoryRulesetOutput) ElementType() reflect.Type

func (RepositoryRulesetOutput) Enforcement

(String) Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.

func (RepositoryRulesetOutput) Etag

(String)

func (RepositoryRulesetOutput) Name

(String) The name of the ruleset.

func (RepositoryRulesetOutput) NodeId

(String) GraphQL global node id for use with v4 API.

func (RepositoryRulesetOutput) Repository

(String) Name of the repository to apply rulset to.

func (RepositoryRulesetOutput) Rules

(Block List, Min: 1, Max: 1) Rules within the ruleset. (see below for nested schema)

func (RepositoryRulesetOutput) RulesetId

(Number) GitHub ID for the ruleset.

func (RepositoryRulesetOutput) Target

(String) Possible values are `branch` and `tag`.

func (RepositoryRulesetOutput) ToRepositoryRulesetOutput

func (o RepositoryRulesetOutput) ToRepositoryRulesetOutput() RepositoryRulesetOutput

func (RepositoryRulesetOutput) ToRepositoryRulesetOutputWithContext

func (o RepositoryRulesetOutput) ToRepositoryRulesetOutputWithContext(ctx context.Context) RepositoryRulesetOutput

type RepositoryRulesetRules

type RepositoryRulesetRules struct {
	// (Block List, Max: 1) Parameters to be used for the branchNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `tagNamePattern` as it only applied to rulesets with target `branch`. (see below for nested schema)
	BranchNamePattern *RepositoryRulesetRulesBranchNamePattern `pulumi:"branchNamePattern"`
	// (Block List, Max: 1) Parameters to be used for the commitAuthorEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)
	CommitAuthorEmailPattern *RepositoryRulesetRulesCommitAuthorEmailPattern `pulumi:"commitAuthorEmailPattern"`
	// (Block List, Max: 1) Parameters to be used for the commitMessagePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)
	CommitMessagePattern *RepositoryRulesetRulesCommitMessagePattern `pulumi:"commitMessagePattern"`
	// (Block List, Max: 1) Parameters to be used for the committerEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)
	CommitterEmailPattern *RepositoryRulesetRulesCommitterEmailPattern `pulumi:"committerEmailPattern"`
	// (Boolean) Only allow users with bypass permission to create matching refs.
	Creation *bool `pulumi:"creation"`
	// (Boolean) Only allow users with bypass permissions to delete matching refs.
	Deletion *bool `pulumi:"deletion"`
	// (Boolean) Prevent users with push access from force pushing to branches.
	NonFastForward *bool `pulumi:"nonFastForward"`
	// (Block List, Max: 1) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. (see below for nested schema)
	PullRequest *RepositoryRulesetRulesPullRequest `pulumi:"pullRequest"`
	// (Block List, Max: 1) Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule. (see below for nested schema)
	RequiredDeployments *RepositoryRulesetRulesRequiredDeployments `pulumi:"requiredDeployments"`
	// (Boolean) Prevent merge commits from being pushed to matching branches.
	RequiredLinearHistory *bool `pulumi:"requiredLinearHistory"`
	// (Boolean) Commits pushed to matching branches must have verified signatures.
	RequiredSignatures *bool `pulumi:"requiredSignatures"`
	// (Block List, Max: 1) Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed. (see below for nested schema)
	RequiredStatusChecks *RepositoryRulesetRulesRequiredStatusChecks `pulumi:"requiredStatusChecks"`
	// (Block List, Max: 1) Parameters to be used for the tagNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `branchNamePattern` as it only applied to rulesets with target `tag`. (see below for nested schema)
	TagNamePattern *RepositoryRulesetRulesTagNamePattern `pulumi:"tagNamePattern"`
	// (Boolean) Only allow users with bypass permission to update matching refs.
	Update *bool `pulumi:"update"`
	// (Boolean) Branch can pull changes from its upstream repository. This is only applicable to forked repositories. Requires `update` to be set to `true`. Note: behaviour is affected by a known bug on the GitHub side which may cause issues when using this parameter.
	UpdateAllowsFetchAndMerge *bool `pulumi:"updateAllowsFetchAndMerge"`
}

type RepositoryRulesetRulesArgs

type RepositoryRulesetRulesArgs struct {
	// (Block List, Max: 1) Parameters to be used for the branchNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `tagNamePattern` as it only applied to rulesets with target `branch`. (see below for nested schema)
	BranchNamePattern RepositoryRulesetRulesBranchNamePatternPtrInput `pulumi:"branchNamePattern"`
	// (Block List, Max: 1) Parameters to be used for the commitAuthorEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)
	CommitAuthorEmailPattern RepositoryRulesetRulesCommitAuthorEmailPatternPtrInput `pulumi:"commitAuthorEmailPattern"`
	// (Block List, Max: 1) Parameters to be used for the commitMessagePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)
	CommitMessagePattern RepositoryRulesetRulesCommitMessagePatternPtrInput `pulumi:"commitMessagePattern"`
	// (Block List, Max: 1) Parameters to be used for the committerEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)
	CommitterEmailPattern RepositoryRulesetRulesCommitterEmailPatternPtrInput `pulumi:"committerEmailPattern"`
	// (Boolean) Only allow users with bypass permission to create matching refs.
	Creation pulumi.BoolPtrInput `pulumi:"creation"`
	// (Boolean) Only allow users with bypass permissions to delete matching refs.
	Deletion pulumi.BoolPtrInput `pulumi:"deletion"`
	// (Boolean) Prevent users with push access from force pushing to branches.
	NonFastForward pulumi.BoolPtrInput `pulumi:"nonFastForward"`
	// (Block List, Max: 1) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. (see below for nested schema)
	PullRequest RepositoryRulesetRulesPullRequestPtrInput `pulumi:"pullRequest"`
	// (Block List, Max: 1) Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule. (see below for nested schema)
	RequiredDeployments RepositoryRulesetRulesRequiredDeploymentsPtrInput `pulumi:"requiredDeployments"`
	// (Boolean) Prevent merge commits from being pushed to matching branches.
	RequiredLinearHistory pulumi.BoolPtrInput `pulumi:"requiredLinearHistory"`
	// (Boolean) Commits pushed to matching branches must have verified signatures.
	RequiredSignatures pulumi.BoolPtrInput `pulumi:"requiredSignatures"`
	// (Block List, Max: 1) Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed. (see below for nested schema)
	RequiredStatusChecks RepositoryRulesetRulesRequiredStatusChecksPtrInput `pulumi:"requiredStatusChecks"`
	// (Block List, Max: 1) Parameters to be used for the tagNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `branchNamePattern` as it only applied to rulesets with target `tag`. (see below for nested schema)
	TagNamePattern RepositoryRulesetRulesTagNamePatternPtrInput `pulumi:"tagNamePattern"`
	// (Boolean) Only allow users with bypass permission to update matching refs.
	Update pulumi.BoolPtrInput `pulumi:"update"`
	// (Boolean) Branch can pull changes from its upstream repository. This is only applicable to forked repositories. Requires `update` to be set to `true`. Note: behaviour is affected by a known bug on the GitHub side which may cause issues when using this parameter.
	UpdateAllowsFetchAndMerge pulumi.BoolPtrInput `pulumi:"updateAllowsFetchAndMerge"`
}

func (RepositoryRulesetRulesArgs) ElementType

func (RepositoryRulesetRulesArgs) ElementType() reflect.Type

func (RepositoryRulesetRulesArgs) ToRepositoryRulesetRulesOutput

func (i RepositoryRulesetRulesArgs) ToRepositoryRulesetRulesOutput() RepositoryRulesetRulesOutput

func (RepositoryRulesetRulesArgs) ToRepositoryRulesetRulesOutputWithContext

func (i RepositoryRulesetRulesArgs) ToRepositoryRulesetRulesOutputWithContext(ctx context.Context) RepositoryRulesetRulesOutput

func (RepositoryRulesetRulesArgs) ToRepositoryRulesetRulesPtrOutput

func (i RepositoryRulesetRulesArgs) ToRepositoryRulesetRulesPtrOutput() RepositoryRulesetRulesPtrOutput

func (RepositoryRulesetRulesArgs) ToRepositoryRulesetRulesPtrOutputWithContext

func (i RepositoryRulesetRulesArgs) ToRepositoryRulesetRulesPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesPtrOutput

type RepositoryRulesetRulesBranchNamePattern

type RepositoryRulesetRulesBranchNamePattern struct {
	// (String) The name of the ruleset.
	Name *string `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate *bool `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator string `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern string `pulumi:"pattern"`
}

type RepositoryRulesetRulesBranchNamePatternArgs

type RepositoryRulesetRulesBranchNamePatternArgs struct {
	// (String) The name of the ruleset.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate pulumi.BoolPtrInput `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern pulumi.StringInput `pulumi:"pattern"`
}

func (RepositoryRulesetRulesBranchNamePatternArgs) ElementType

func (RepositoryRulesetRulesBranchNamePatternArgs) ToRepositoryRulesetRulesBranchNamePatternOutput

func (i RepositoryRulesetRulesBranchNamePatternArgs) ToRepositoryRulesetRulesBranchNamePatternOutput() RepositoryRulesetRulesBranchNamePatternOutput

func (RepositoryRulesetRulesBranchNamePatternArgs) ToRepositoryRulesetRulesBranchNamePatternOutputWithContext

func (i RepositoryRulesetRulesBranchNamePatternArgs) ToRepositoryRulesetRulesBranchNamePatternOutputWithContext(ctx context.Context) RepositoryRulesetRulesBranchNamePatternOutput

func (RepositoryRulesetRulesBranchNamePatternArgs) ToRepositoryRulesetRulesBranchNamePatternPtrOutput

func (i RepositoryRulesetRulesBranchNamePatternArgs) ToRepositoryRulesetRulesBranchNamePatternPtrOutput() RepositoryRulesetRulesBranchNamePatternPtrOutput

func (RepositoryRulesetRulesBranchNamePatternArgs) ToRepositoryRulesetRulesBranchNamePatternPtrOutputWithContext

func (i RepositoryRulesetRulesBranchNamePatternArgs) ToRepositoryRulesetRulesBranchNamePatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesBranchNamePatternPtrOutput

type RepositoryRulesetRulesBranchNamePatternInput

type RepositoryRulesetRulesBranchNamePatternInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesBranchNamePatternOutput() RepositoryRulesetRulesBranchNamePatternOutput
	ToRepositoryRulesetRulesBranchNamePatternOutputWithContext(context.Context) RepositoryRulesetRulesBranchNamePatternOutput
}

RepositoryRulesetRulesBranchNamePatternInput is an input type that accepts RepositoryRulesetRulesBranchNamePatternArgs and RepositoryRulesetRulesBranchNamePatternOutput values. You can construct a concrete instance of `RepositoryRulesetRulesBranchNamePatternInput` via:

RepositoryRulesetRulesBranchNamePatternArgs{...}

type RepositoryRulesetRulesBranchNamePatternOutput

type RepositoryRulesetRulesBranchNamePatternOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesBranchNamePatternOutput) ElementType

func (RepositoryRulesetRulesBranchNamePatternOutput) Name

(String) The name of the ruleset.

func (RepositoryRulesetRulesBranchNamePatternOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (RepositoryRulesetRulesBranchNamePatternOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (RepositoryRulesetRulesBranchNamePatternOutput) Pattern

(String) The pattern to match with.

func (RepositoryRulesetRulesBranchNamePatternOutput) ToRepositoryRulesetRulesBranchNamePatternOutput

func (o RepositoryRulesetRulesBranchNamePatternOutput) ToRepositoryRulesetRulesBranchNamePatternOutput() RepositoryRulesetRulesBranchNamePatternOutput

func (RepositoryRulesetRulesBranchNamePatternOutput) ToRepositoryRulesetRulesBranchNamePatternOutputWithContext

func (o RepositoryRulesetRulesBranchNamePatternOutput) ToRepositoryRulesetRulesBranchNamePatternOutputWithContext(ctx context.Context) RepositoryRulesetRulesBranchNamePatternOutput

func (RepositoryRulesetRulesBranchNamePatternOutput) ToRepositoryRulesetRulesBranchNamePatternPtrOutput

func (o RepositoryRulesetRulesBranchNamePatternOutput) ToRepositoryRulesetRulesBranchNamePatternPtrOutput() RepositoryRulesetRulesBranchNamePatternPtrOutput

func (RepositoryRulesetRulesBranchNamePatternOutput) ToRepositoryRulesetRulesBranchNamePatternPtrOutputWithContext

func (o RepositoryRulesetRulesBranchNamePatternOutput) ToRepositoryRulesetRulesBranchNamePatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesBranchNamePatternPtrOutput

type RepositoryRulesetRulesBranchNamePatternPtrInput

type RepositoryRulesetRulesBranchNamePatternPtrInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesBranchNamePatternPtrOutput() RepositoryRulesetRulesBranchNamePatternPtrOutput
	ToRepositoryRulesetRulesBranchNamePatternPtrOutputWithContext(context.Context) RepositoryRulesetRulesBranchNamePatternPtrOutput
}

RepositoryRulesetRulesBranchNamePatternPtrInput is an input type that accepts RepositoryRulesetRulesBranchNamePatternArgs, RepositoryRulesetRulesBranchNamePatternPtr and RepositoryRulesetRulesBranchNamePatternPtrOutput values. You can construct a concrete instance of `RepositoryRulesetRulesBranchNamePatternPtrInput` via:

        RepositoryRulesetRulesBranchNamePatternArgs{...}

or:

        nil

type RepositoryRulesetRulesBranchNamePatternPtrOutput

type RepositoryRulesetRulesBranchNamePatternPtrOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesBranchNamePatternPtrOutput) Elem

func (RepositoryRulesetRulesBranchNamePatternPtrOutput) ElementType

func (RepositoryRulesetRulesBranchNamePatternPtrOutput) Name

(String) The name of the ruleset.

func (RepositoryRulesetRulesBranchNamePatternPtrOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (RepositoryRulesetRulesBranchNamePatternPtrOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (RepositoryRulesetRulesBranchNamePatternPtrOutput) Pattern

(String) The pattern to match with.

func (RepositoryRulesetRulesBranchNamePatternPtrOutput) ToRepositoryRulesetRulesBranchNamePatternPtrOutput

func (o RepositoryRulesetRulesBranchNamePatternPtrOutput) ToRepositoryRulesetRulesBranchNamePatternPtrOutput() RepositoryRulesetRulesBranchNamePatternPtrOutput

func (RepositoryRulesetRulesBranchNamePatternPtrOutput) ToRepositoryRulesetRulesBranchNamePatternPtrOutputWithContext

func (o RepositoryRulesetRulesBranchNamePatternPtrOutput) ToRepositoryRulesetRulesBranchNamePatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesBranchNamePatternPtrOutput

type RepositoryRulesetRulesCommitAuthorEmailPattern

type RepositoryRulesetRulesCommitAuthorEmailPattern struct {
	// (String) The name of the ruleset.
	Name *string `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate *bool `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator string `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern string `pulumi:"pattern"`
}

type RepositoryRulesetRulesCommitAuthorEmailPatternArgs

type RepositoryRulesetRulesCommitAuthorEmailPatternArgs struct {
	// (String) The name of the ruleset.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate pulumi.BoolPtrInput `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern pulumi.StringInput `pulumi:"pattern"`
}

func (RepositoryRulesetRulesCommitAuthorEmailPatternArgs) ElementType

func (RepositoryRulesetRulesCommitAuthorEmailPatternArgs) ToRepositoryRulesetRulesCommitAuthorEmailPatternOutput

func (i RepositoryRulesetRulesCommitAuthorEmailPatternArgs) ToRepositoryRulesetRulesCommitAuthorEmailPatternOutput() RepositoryRulesetRulesCommitAuthorEmailPatternOutput

func (RepositoryRulesetRulesCommitAuthorEmailPatternArgs) ToRepositoryRulesetRulesCommitAuthorEmailPatternOutputWithContext

func (i RepositoryRulesetRulesCommitAuthorEmailPatternArgs) ToRepositoryRulesetRulesCommitAuthorEmailPatternOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitAuthorEmailPatternOutput

func (RepositoryRulesetRulesCommitAuthorEmailPatternArgs) ToRepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput

func (i RepositoryRulesetRulesCommitAuthorEmailPatternArgs) ToRepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput() RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput

func (RepositoryRulesetRulesCommitAuthorEmailPatternArgs) ToRepositoryRulesetRulesCommitAuthorEmailPatternPtrOutputWithContext

func (i RepositoryRulesetRulesCommitAuthorEmailPatternArgs) ToRepositoryRulesetRulesCommitAuthorEmailPatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput

type RepositoryRulesetRulesCommitAuthorEmailPatternInput

type RepositoryRulesetRulesCommitAuthorEmailPatternInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesCommitAuthorEmailPatternOutput() RepositoryRulesetRulesCommitAuthorEmailPatternOutput
	ToRepositoryRulesetRulesCommitAuthorEmailPatternOutputWithContext(context.Context) RepositoryRulesetRulesCommitAuthorEmailPatternOutput
}

RepositoryRulesetRulesCommitAuthorEmailPatternInput is an input type that accepts RepositoryRulesetRulesCommitAuthorEmailPatternArgs and RepositoryRulesetRulesCommitAuthorEmailPatternOutput values. You can construct a concrete instance of `RepositoryRulesetRulesCommitAuthorEmailPatternInput` via:

RepositoryRulesetRulesCommitAuthorEmailPatternArgs{...}

type RepositoryRulesetRulesCommitAuthorEmailPatternOutput

type RepositoryRulesetRulesCommitAuthorEmailPatternOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesCommitAuthorEmailPatternOutput) ElementType

func (RepositoryRulesetRulesCommitAuthorEmailPatternOutput) Name

(String) The name of the ruleset.

func (RepositoryRulesetRulesCommitAuthorEmailPatternOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (RepositoryRulesetRulesCommitAuthorEmailPatternOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (RepositoryRulesetRulesCommitAuthorEmailPatternOutput) Pattern

(String) The pattern to match with.

func (RepositoryRulesetRulesCommitAuthorEmailPatternOutput) ToRepositoryRulesetRulesCommitAuthorEmailPatternOutput

func (RepositoryRulesetRulesCommitAuthorEmailPatternOutput) ToRepositoryRulesetRulesCommitAuthorEmailPatternOutputWithContext

func (o RepositoryRulesetRulesCommitAuthorEmailPatternOutput) ToRepositoryRulesetRulesCommitAuthorEmailPatternOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitAuthorEmailPatternOutput

func (RepositoryRulesetRulesCommitAuthorEmailPatternOutput) ToRepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput

func (o RepositoryRulesetRulesCommitAuthorEmailPatternOutput) ToRepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput() RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput

func (RepositoryRulesetRulesCommitAuthorEmailPatternOutput) ToRepositoryRulesetRulesCommitAuthorEmailPatternPtrOutputWithContext

func (o RepositoryRulesetRulesCommitAuthorEmailPatternOutput) ToRepositoryRulesetRulesCommitAuthorEmailPatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput

type RepositoryRulesetRulesCommitAuthorEmailPatternPtrInput

type RepositoryRulesetRulesCommitAuthorEmailPatternPtrInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput() RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput
	ToRepositoryRulesetRulesCommitAuthorEmailPatternPtrOutputWithContext(context.Context) RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput
}

RepositoryRulesetRulesCommitAuthorEmailPatternPtrInput is an input type that accepts RepositoryRulesetRulesCommitAuthorEmailPatternArgs, RepositoryRulesetRulesCommitAuthorEmailPatternPtr and RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput values. You can construct a concrete instance of `RepositoryRulesetRulesCommitAuthorEmailPatternPtrInput` via:

        RepositoryRulesetRulesCommitAuthorEmailPatternArgs{...}

or:

        nil

type RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput

type RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput) Elem

func (RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput) ElementType

func (RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput) Name

(String) The name of the ruleset.

func (RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput) Pattern

(String) The pattern to match with.

func (RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput) ToRepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput

func (RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput) ToRepositoryRulesetRulesCommitAuthorEmailPatternPtrOutputWithContext

func (o RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput) ToRepositoryRulesetRulesCommitAuthorEmailPatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitAuthorEmailPatternPtrOutput

type RepositoryRulesetRulesCommitMessagePattern

type RepositoryRulesetRulesCommitMessagePattern struct {
	// (String) The name of the ruleset.
	Name *string `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate *bool `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator string `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern string `pulumi:"pattern"`
}

type RepositoryRulesetRulesCommitMessagePatternArgs

type RepositoryRulesetRulesCommitMessagePatternArgs struct {
	// (String) The name of the ruleset.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate pulumi.BoolPtrInput `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern pulumi.StringInput `pulumi:"pattern"`
}

func (RepositoryRulesetRulesCommitMessagePatternArgs) ElementType

func (RepositoryRulesetRulesCommitMessagePatternArgs) ToRepositoryRulesetRulesCommitMessagePatternOutput

func (i RepositoryRulesetRulesCommitMessagePatternArgs) ToRepositoryRulesetRulesCommitMessagePatternOutput() RepositoryRulesetRulesCommitMessagePatternOutput

func (RepositoryRulesetRulesCommitMessagePatternArgs) ToRepositoryRulesetRulesCommitMessagePatternOutputWithContext

func (i RepositoryRulesetRulesCommitMessagePatternArgs) ToRepositoryRulesetRulesCommitMessagePatternOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitMessagePatternOutput

func (RepositoryRulesetRulesCommitMessagePatternArgs) ToRepositoryRulesetRulesCommitMessagePatternPtrOutput

func (i RepositoryRulesetRulesCommitMessagePatternArgs) ToRepositoryRulesetRulesCommitMessagePatternPtrOutput() RepositoryRulesetRulesCommitMessagePatternPtrOutput

func (RepositoryRulesetRulesCommitMessagePatternArgs) ToRepositoryRulesetRulesCommitMessagePatternPtrOutputWithContext

func (i RepositoryRulesetRulesCommitMessagePatternArgs) ToRepositoryRulesetRulesCommitMessagePatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitMessagePatternPtrOutput

type RepositoryRulesetRulesCommitMessagePatternInput

type RepositoryRulesetRulesCommitMessagePatternInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesCommitMessagePatternOutput() RepositoryRulesetRulesCommitMessagePatternOutput
	ToRepositoryRulesetRulesCommitMessagePatternOutputWithContext(context.Context) RepositoryRulesetRulesCommitMessagePatternOutput
}

RepositoryRulesetRulesCommitMessagePatternInput is an input type that accepts RepositoryRulesetRulesCommitMessagePatternArgs and RepositoryRulesetRulesCommitMessagePatternOutput values. You can construct a concrete instance of `RepositoryRulesetRulesCommitMessagePatternInput` via:

RepositoryRulesetRulesCommitMessagePatternArgs{...}

type RepositoryRulesetRulesCommitMessagePatternOutput

type RepositoryRulesetRulesCommitMessagePatternOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesCommitMessagePatternOutput) ElementType

func (RepositoryRulesetRulesCommitMessagePatternOutput) Name

(String) The name of the ruleset.

func (RepositoryRulesetRulesCommitMessagePatternOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (RepositoryRulesetRulesCommitMessagePatternOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (RepositoryRulesetRulesCommitMessagePatternOutput) Pattern

(String) The pattern to match with.

func (RepositoryRulesetRulesCommitMessagePatternOutput) ToRepositoryRulesetRulesCommitMessagePatternOutput

func (o RepositoryRulesetRulesCommitMessagePatternOutput) ToRepositoryRulesetRulesCommitMessagePatternOutput() RepositoryRulesetRulesCommitMessagePatternOutput

func (RepositoryRulesetRulesCommitMessagePatternOutput) ToRepositoryRulesetRulesCommitMessagePatternOutputWithContext

func (o RepositoryRulesetRulesCommitMessagePatternOutput) ToRepositoryRulesetRulesCommitMessagePatternOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitMessagePatternOutput

func (RepositoryRulesetRulesCommitMessagePatternOutput) ToRepositoryRulesetRulesCommitMessagePatternPtrOutput

func (o RepositoryRulesetRulesCommitMessagePatternOutput) ToRepositoryRulesetRulesCommitMessagePatternPtrOutput() RepositoryRulesetRulesCommitMessagePatternPtrOutput

func (RepositoryRulesetRulesCommitMessagePatternOutput) ToRepositoryRulesetRulesCommitMessagePatternPtrOutputWithContext

func (o RepositoryRulesetRulesCommitMessagePatternOutput) ToRepositoryRulesetRulesCommitMessagePatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitMessagePatternPtrOutput

type RepositoryRulesetRulesCommitMessagePatternPtrInput

type RepositoryRulesetRulesCommitMessagePatternPtrInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesCommitMessagePatternPtrOutput() RepositoryRulesetRulesCommitMessagePatternPtrOutput
	ToRepositoryRulesetRulesCommitMessagePatternPtrOutputWithContext(context.Context) RepositoryRulesetRulesCommitMessagePatternPtrOutput
}

RepositoryRulesetRulesCommitMessagePatternPtrInput is an input type that accepts RepositoryRulesetRulesCommitMessagePatternArgs, RepositoryRulesetRulesCommitMessagePatternPtr and RepositoryRulesetRulesCommitMessagePatternPtrOutput values. You can construct a concrete instance of `RepositoryRulesetRulesCommitMessagePatternPtrInput` via:

        RepositoryRulesetRulesCommitMessagePatternArgs{...}

or:

        nil

type RepositoryRulesetRulesCommitMessagePatternPtrOutput

type RepositoryRulesetRulesCommitMessagePatternPtrOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesCommitMessagePatternPtrOutput) Elem

func (RepositoryRulesetRulesCommitMessagePatternPtrOutput) ElementType

func (RepositoryRulesetRulesCommitMessagePatternPtrOutput) Name

(String) The name of the ruleset.

func (RepositoryRulesetRulesCommitMessagePatternPtrOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (RepositoryRulesetRulesCommitMessagePatternPtrOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (RepositoryRulesetRulesCommitMessagePatternPtrOutput) Pattern

(String) The pattern to match with.

func (RepositoryRulesetRulesCommitMessagePatternPtrOutput) ToRepositoryRulesetRulesCommitMessagePatternPtrOutput

func (o RepositoryRulesetRulesCommitMessagePatternPtrOutput) ToRepositoryRulesetRulesCommitMessagePatternPtrOutput() RepositoryRulesetRulesCommitMessagePatternPtrOutput

func (RepositoryRulesetRulesCommitMessagePatternPtrOutput) ToRepositoryRulesetRulesCommitMessagePatternPtrOutputWithContext

func (o RepositoryRulesetRulesCommitMessagePatternPtrOutput) ToRepositoryRulesetRulesCommitMessagePatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitMessagePatternPtrOutput

type RepositoryRulesetRulesCommitterEmailPattern

type RepositoryRulesetRulesCommitterEmailPattern struct {
	// (String) The name of the ruleset.
	Name *string `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate *bool `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator string `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern string `pulumi:"pattern"`
}

type RepositoryRulesetRulesCommitterEmailPatternArgs

type RepositoryRulesetRulesCommitterEmailPatternArgs struct {
	// (String) The name of the ruleset.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate pulumi.BoolPtrInput `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern pulumi.StringInput `pulumi:"pattern"`
}

func (RepositoryRulesetRulesCommitterEmailPatternArgs) ElementType

func (RepositoryRulesetRulesCommitterEmailPatternArgs) ToRepositoryRulesetRulesCommitterEmailPatternOutput

func (i RepositoryRulesetRulesCommitterEmailPatternArgs) ToRepositoryRulesetRulesCommitterEmailPatternOutput() RepositoryRulesetRulesCommitterEmailPatternOutput

func (RepositoryRulesetRulesCommitterEmailPatternArgs) ToRepositoryRulesetRulesCommitterEmailPatternOutputWithContext

func (i RepositoryRulesetRulesCommitterEmailPatternArgs) ToRepositoryRulesetRulesCommitterEmailPatternOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitterEmailPatternOutput

func (RepositoryRulesetRulesCommitterEmailPatternArgs) ToRepositoryRulesetRulesCommitterEmailPatternPtrOutput

func (i RepositoryRulesetRulesCommitterEmailPatternArgs) ToRepositoryRulesetRulesCommitterEmailPatternPtrOutput() RepositoryRulesetRulesCommitterEmailPatternPtrOutput

func (RepositoryRulesetRulesCommitterEmailPatternArgs) ToRepositoryRulesetRulesCommitterEmailPatternPtrOutputWithContext

func (i RepositoryRulesetRulesCommitterEmailPatternArgs) ToRepositoryRulesetRulesCommitterEmailPatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitterEmailPatternPtrOutput

type RepositoryRulesetRulesCommitterEmailPatternInput

type RepositoryRulesetRulesCommitterEmailPatternInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesCommitterEmailPatternOutput() RepositoryRulesetRulesCommitterEmailPatternOutput
	ToRepositoryRulesetRulesCommitterEmailPatternOutputWithContext(context.Context) RepositoryRulesetRulesCommitterEmailPatternOutput
}

RepositoryRulesetRulesCommitterEmailPatternInput is an input type that accepts RepositoryRulesetRulesCommitterEmailPatternArgs and RepositoryRulesetRulesCommitterEmailPatternOutput values. You can construct a concrete instance of `RepositoryRulesetRulesCommitterEmailPatternInput` via:

RepositoryRulesetRulesCommitterEmailPatternArgs{...}

type RepositoryRulesetRulesCommitterEmailPatternOutput

type RepositoryRulesetRulesCommitterEmailPatternOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesCommitterEmailPatternOutput) ElementType

func (RepositoryRulesetRulesCommitterEmailPatternOutput) Name

(String) The name of the ruleset.

func (RepositoryRulesetRulesCommitterEmailPatternOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (RepositoryRulesetRulesCommitterEmailPatternOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (RepositoryRulesetRulesCommitterEmailPatternOutput) Pattern

(String) The pattern to match with.

func (RepositoryRulesetRulesCommitterEmailPatternOutput) ToRepositoryRulesetRulesCommitterEmailPatternOutput

func (o RepositoryRulesetRulesCommitterEmailPatternOutput) ToRepositoryRulesetRulesCommitterEmailPatternOutput() RepositoryRulesetRulesCommitterEmailPatternOutput

func (RepositoryRulesetRulesCommitterEmailPatternOutput) ToRepositoryRulesetRulesCommitterEmailPatternOutputWithContext

func (o RepositoryRulesetRulesCommitterEmailPatternOutput) ToRepositoryRulesetRulesCommitterEmailPatternOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitterEmailPatternOutput

func (RepositoryRulesetRulesCommitterEmailPatternOutput) ToRepositoryRulesetRulesCommitterEmailPatternPtrOutput

func (o RepositoryRulesetRulesCommitterEmailPatternOutput) ToRepositoryRulesetRulesCommitterEmailPatternPtrOutput() RepositoryRulesetRulesCommitterEmailPatternPtrOutput

func (RepositoryRulesetRulesCommitterEmailPatternOutput) ToRepositoryRulesetRulesCommitterEmailPatternPtrOutputWithContext

func (o RepositoryRulesetRulesCommitterEmailPatternOutput) ToRepositoryRulesetRulesCommitterEmailPatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitterEmailPatternPtrOutput

type RepositoryRulesetRulesCommitterEmailPatternPtrInput

type RepositoryRulesetRulesCommitterEmailPatternPtrInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesCommitterEmailPatternPtrOutput() RepositoryRulesetRulesCommitterEmailPatternPtrOutput
	ToRepositoryRulesetRulesCommitterEmailPatternPtrOutputWithContext(context.Context) RepositoryRulesetRulesCommitterEmailPatternPtrOutput
}

RepositoryRulesetRulesCommitterEmailPatternPtrInput is an input type that accepts RepositoryRulesetRulesCommitterEmailPatternArgs, RepositoryRulesetRulesCommitterEmailPatternPtr and RepositoryRulesetRulesCommitterEmailPatternPtrOutput values. You can construct a concrete instance of `RepositoryRulesetRulesCommitterEmailPatternPtrInput` via:

        RepositoryRulesetRulesCommitterEmailPatternArgs{...}

or:

        nil

type RepositoryRulesetRulesCommitterEmailPatternPtrOutput

type RepositoryRulesetRulesCommitterEmailPatternPtrOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesCommitterEmailPatternPtrOutput) Elem

func (RepositoryRulesetRulesCommitterEmailPatternPtrOutput) ElementType

func (RepositoryRulesetRulesCommitterEmailPatternPtrOutput) Name

(String) The name of the ruleset.

func (RepositoryRulesetRulesCommitterEmailPatternPtrOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (RepositoryRulesetRulesCommitterEmailPatternPtrOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (RepositoryRulesetRulesCommitterEmailPatternPtrOutput) Pattern

(String) The pattern to match with.

func (RepositoryRulesetRulesCommitterEmailPatternPtrOutput) ToRepositoryRulesetRulesCommitterEmailPatternPtrOutput

func (RepositoryRulesetRulesCommitterEmailPatternPtrOutput) ToRepositoryRulesetRulesCommitterEmailPatternPtrOutputWithContext

func (o RepositoryRulesetRulesCommitterEmailPatternPtrOutput) ToRepositoryRulesetRulesCommitterEmailPatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesCommitterEmailPatternPtrOutput

type RepositoryRulesetRulesInput

type RepositoryRulesetRulesInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesOutput() RepositoryRulesetRulesOutput
	ToRepositoryRulesetRulesOutputWithContext(context.Context) RepositoryRulesetRulesOutput
}

RepositoryRulesetRulesInput is an input type that accepts RepositoryRulesetRulesArgs and RepositoryRulesetRulesOutput values. You can construct a concrete instance of `RepositoryRulesetRulesInput` via:

RepositoryRulesetRulesArgs{...}

type RepositoryRulesetRulesOutput

type RepositoryRulesetRulesOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesOutput) BranchNamePattern

(Block List, Max: 1) Parameters to be used for the branchNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `tagNamePattern` as it only applied to rulesets with target `branch`. (see below for nested schema)

func (RepositoryRulesetRulesOutput) CommitAuthorEmailPattern

(Block List, Max: 1) Parameters to be used for the commitAuthorEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

func (RepositoryRulesetRulesOutput) CommitMessagePattern

(Block List, Max: 1) Parameters to be used for the commitMessagePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

func (RepositoryRulesetRulesOutput) CommitterEmailPattern

(Block List, Max: 1) Parameters to be used for the committerEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

func (RepositoryRulesetRulesOutput) Creation

(Boolean) Only allow users with bypass permission to create matching refs.

func (RepositoryRulesetRulesOutput) Deletion

(Boolean) Only allow users with bypass permissions to delete matching refs.

func (RepositoryRulesetRulesOutput) ElementType

func (RepositoryRulesetRulesOutput) NonFastForward

(Boolean) Prevent users with push access from force pushing to branches.

func (RepositoryRulesetRulesOutput) PullRequest

(Block List, Max: 1) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. (see below for nested schema)

func (RepositoryRulesetRulesOutput) RequiredDeployments

(Block List, Max: 1) Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule. (see below for nested schema)

func (RepositoryRulesetRulesOutput) RequiredLinearHistory

func (o RepositoryRulesetRulesOutput) RequiredLinearHistory() pulumi.BoolPtrOutput

(Boolean) Prevent merge commits from being pushed to matching branches.

func (RepositoryRulesetRulesOutput) RequiredSignatures

func (o RepositoryRulesetRulesOutput) RequiredSignatures() pulumi.BoolPtrOutput

(Boolean) Commits pushed to matching branches must have verified signatures.

func (RepositoryRulesetRulesOutput) RequiredStatusChecks

(Block List, Max: 1) Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed. (see below for nested schema)

func (RepositoryRulesetRulesOutput) TagNamePattern

(Block List, Max: 1) Parameters to be used for the tagNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `branchNamePattern` as it only applied to rulesets with target `tag`. (see below for nested schema)

func (RepositoryRulesetRulesOutput) ToRepositoryRulesetRulesOutput

func (o RepositoryRulesetRulesOutput) ToRepositoryRulesetRulesOutput() RepositoryRulesetRulesOutput

func (RepositoryRulesetRulesOutput) ToRepositoryRulesetRulesOutputWithContext

func (o RepositoryRulesetRulesOutput) ToRepositoryRulesetRulesOutputWithContext(ctx context.Context) RepositoryRulesetRulesOutput

func (RepositoryRulesetRulesOutput) ToRepositoryRulesetRulesPtrOutput

func (o RepositoryRulesetRulesOutput) ToRepositoryRulesetRulesPtrOutput() RepositoryRulesetRulesPtrOutput

func (RepositoryRulesetRulesOutput) ToRepositoryRulesetRulesPtrOutputWithContext

func (o RepositoryRulesetRulesOutput) ToRepositoryRulesetRulesPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesPtrOutput

func (RepositoryRulesetRulesOutput) Update

(Boolean) Only allow users with bypass permission to update matching refs.

func (RepositoryRulesetRulesOutput) UpdateAllowsFetchAndMerge

func (o RepositoryRulesetRulesOutput) UpdateAllowsFetchAndMerge() pulumi.BoolPtrOutput

(Boolean) Branch can pull changes from its upstream repository. This is only applicable to forked repositories. Requires `update` to be set to `true`. Note: behaviour is affected by a known bug on the GitHub side which may cause issues when using this parameter.

type RepositoryRulesetRulesPtrInput

type RepositoryRulesetRulesPtrInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesPtrOutput() RepositoryRulesetRulesPtrOutput
	ToRepositoryRulesetRulesPtrOutputWithContext(context.Context) RepositoryRulesetRulesPtrOutput
}

RepositoryRulesetRulesPtrInput is an input type that accepts RepositoryRulesetRulesArgs, RepositoryRulesetRulesPtr and RepositoryRulesetRulesPtrOutput values. You can construct a concrete instance of `RepositoryRulesetRulesPtrInput` via:

        RepositoryRulesetRulesArgs{...}

or:

        nil

type RepositoryRulesetRulesPtrOutput

type RepositoryRulesetRulesPtrOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesPtrOutput) BranchNamePattern

(Block List, Max: 1) Parameters to be used for the branchNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `tagNamePattern` as it only applied to rulesets with target `branch`. (see below for nested schema)

func (RepositoryRulesetRulesPtrOutput) CommitAuthorEmailPattern

(Block List, Max: 1) Parameters to be used for the commitAuthorEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

func (RepositoryRulesetRulesPtrOutput) CommitMessagePattern

(Block List, Max: 1) Parameters to be used for the commitMessagePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

func (RepositoryRulesetRulesPtrOutput) CommitterEmailPattern

(Block List, Max: 1) Parameters to be used for the committerEmailPattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. (see below for nested schema)

func (RepositoryRulesetRulesPtrOutput) Creation

(Boolean) Only allow users with bypass permission to create matching refs.

func (RepositoryRulesetRulesPtrOutput) Deletion

(Boolean) Only allow users with bypass permissions to delete matching refs.

func (RepositoryRulesetRulesPtrOutput) Elem

func (RepositoryRulesetRulesPtrOutput) ElementType

func (RepositoryRulesetRulesPtrOutput) NonFastForward

(Boolean) Prevent users with push access from force pushing to branches.

func (RepositoryRulesetRulesPtrOutput) PullRequest

(Block List, Max: 1) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. (see below for nested schema)

func (RepositoryRulesetRulesPtrOutput) RequiredDeployments

(Block List, Max: 1) Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule. (see below for nested schema)

func (RepositoryRulesetRulesPtrOutput) RequiredLinearHistory

func (o RepositoryRulesetRulesPtrOutput) RequiredLinearHistory() pulumi.BoolPtrOutput

(Boolean) Prevent merge commits from being pushed to matching branches.

func (RepositoryRulesetRulesPtrOutput) RequiredSignatures

func (o RepositoryRulesetRulesPtrOutput) RequiredSignatures() pulumi.BoolPtrOutput

(Boolean) Commits pushed to matching branches must have verified signatures.

func (RepositoryRulesetRulesPtrOutput) RequiredStatusChecks

(Block List, Max: 1) Choose which status checks must pass before branches can be merged into a branch that matches this rule. When enabled, commits must first be pushed to another branch, then merged or pushed directly to a branch that matches this rule after status checks have passed. (see below for nested schema)

func (RepositoryRulesetRulesPtrOutput) TagNamePattern

(Block List, Max: 1) Parameters to be used for the tagNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `branchNamePattern` as it only applied to rulesets with target `tag`. (see below for nested schema)

func (RepositoryRulesetRulesPtrOutput) ToRepositoryRulesetRulesPtrOutput

func (o RepositoryRulesetRulesPtrOutput) ToRepositoryRulesetRulesPtrOutput() RepositoryRulesetRulesPtrOutput

func (RepositoryRulesetRulesPtrOutput) ToRepositoryRulesetRulesPtrOutputWithContext

func (o RepositoryRulesetRulesPtrOutput) ToRepositoryRulesetRulesPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesPtrOutput

func (RepositoryRulesetRulesPtrOutput) Update

(Boolean) Only allow users with bypass permission to update matching refs.

func (RepositoryRulesetRulesPtrOutput) UpdateAllowsFetchAndMerge

func (o RepositoryRulesetRulesPtrOutput) UpdateAllowsFetchAndMerge() pulumi.BoolPtrOutput

(Boolean) Branch can pull changes from its upstream repository. This is only applicable to forked repositories. Requires `update` to be set to `true`. Note: behaviour is affected by a known bug on the GitHub side which may cause issues when using this parameter.

type RepositoryRulesetRulesPullRequest

type RepositoryRulesetRulesPullRequest struct {
	// (Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
	DismissStaleReviewsOnPush *bool `pulumi:"dismissStaleReviewsOnPush"`
	// (Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
	RequireCodeOwnerReview *bool `pulumi:"requireCodeOwnerReview"`
	// (Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
	RequireLastPushApproval *bool `pulumi:"requireLastPushApproval"`
	// (Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
	RequiredApprovingReviewCount *int `pulumi:"requiredApprovingReviewCount"`
	// (Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
	RequiredReviewThreadResolution *bool `pulumi:"requiredReviewThreadResolution"`
}

type RepositoryRulesetRulesPullRequestArgs

type RepositoryRulesetRulesPullRequestArgs struct {
	// (Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
	DismissStaleReviewsOnPush pulumi.BoolPtrInput `pulumi:"dismissStaleReviewsOnPush"`
	// (Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
	RequireCodeOwnerReview pulumi.BoolPtrInput `pulumi:"requireCodeOwnerReview"`
	// (Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
	RequireLastPushApproval pulumi.BoolPtrInput `pulumi:"requireLastPushApproval"`
	// (Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
	RequiredApprovingReviewCount pulumi.IntPtrInput `pulumi:"requiredApprovingReviewCount"`
	// (Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
	RequiredReviewThreadResolution pulumi.BoolPtrInput `pulumi:"requiredReviewThreadResolution"`
}

func (RepositoryRulesetRulesPullRequestArgs) ElementType

func (RepositoryRulesetRulesPullRequestArgs) ToRepositoryRulesetRulesPullRequestOutput

func (i RepositoryRulesetRulesPullRequestArgs) ToRepositoryRulesetRulesPullRequestOutput() RepositoryRulesetRulesPullRequestOutput

func (RepositoryRulesetRulesPullRequestArgs) ToRepositoryRulesetRulesPullRequestOutputWithContext

func (i RepositoryRulesetRulesPullRequestArgs) ToRepositoryRulesetRulesPullRequestOutputWithContext(ctx context.Context) RepositoryRulesetRulesPullRequestOutput

func (RepositoryRulesetRulesPullRequestArgs) ToRepositoryRulesetRulesPullRequestPtrOutput

func (i RepositoryRulesetRulesPullRequestArgs) ToRepositoryRulesetRulesPullRequestPtrOutput() RepositoryRulesetRulesPullRequestPtrOutput

func (RepositoryRulesetRulesPullRequestArgs) ToRepositoryRulesetRulesPullRequestPtrOutputWithContext

func (i RepositoryRulesetRulesPullRequestArgs) ToRepositoryRulesetRulesPullRequestPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesPullRequestPtrOutput

type RepositoryRulesetRulesPullRequestInput

type RepositoryRulesetRulesPullRequestInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesPullRequestOutput() RepositoryRulesetRulesPullRequestOutput
	ToRepositoryRulesetRulesPullRequestOutputWithContext(context.Context) RepositoryRulesetRulesPullRequestOutput
}

RepositoryRulesetRulesPullRequestInput is an input type that accepts RepositoryRulesetRulesPullRequestArgs and RepositoryRulesetRulesPullRequestOutput values. You can construct a concrete instance of `RepositoryRulesetRulesPullRequestInput` via:

RepositoryRulesetRulesPullRequestArgs{...}

type RepositoryRulesetRulesPullRequestOutput

type RepositoryRulesetRulesPullRequestOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesPullRequestOutput) DismissStaleReviewsOnPush

func (o RepositoryRulesetRulesPullRequestOutput) DismissStaleReviewsOnPush() pulumi.BoolPtrOutput

(Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.

func (RepositoryRulesetRulesPullRequestOutput) ElementType

func (RepositoryRulesetRulesPullRequestOutput) RequireCodeOwnerReview

(Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.

func (RepositoryRulesetRulesPullRequestOutput) RequireLastPushApproval

func (o RepositoryRulesetRulesPullRequestOutput) RequireLastPushApproval() pulumi.BoolPtrOutput

(Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.

func (RepositoryRulesetRulesPullRequestOutput) RequiredApprovingReviewCount

func (o RepositoryRulesetRulesPullRequestOutput) RequiredApprovingReviewCount() pulumi.IntPtrOutput

(Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.

func (RepositoryRulesetRulesPullRequestOutput) RequiredReviewThreadResolution

func (o RepositoryRulesetRulesPullRequestOutput) RequiredReviewThreadResolution() pulumi.BoolPtrOutput

(Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.

func (RepositoryRulesetRulesPullRequestOutput) ToRepositoryRulesetRulesPullRequestOutput

func (o RepositoryRulesetRulesPullRequestOutput) ToRepositoryRulesetRulesPullRequestOutput() RepositoryRulesetRulesPullRequestOutput

func (RepositoryRulesetRulesPullRequestOutput) ToRepositoryRulesetRulesPullRequestOutputWithContext

func (o RepositoryRulesetRulesPullRequestOutput) ToRepositoryRulesetRulesPullRequestOutputWithContext(ctx context.Context) RepositoryRulesetRulesPullRequestOutput

func (RepositoryRulesetRulesPullRequestOutput) ToRepositoryRulesetRulesPullRequestPtrOutput

func (o RepositoryRulesetRulesPullRequestOutput) ToRepositoryRulesetRulesPullRequestPtrOutput() RepositoryRulesetRulesPullRequestPtrOutput

func (RepositoryRulesetRulesPullRequestOutput) ToRepositoryRulesetRulesPullRequestPtrOutputWithContext

func (o RepositoryRulesetRulesPullRequestOutput) ToRepositoryRulesetRulesPullRequestPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesPullRequestPtrOutput

type RepositoryRulesetRulesPullRequestPtrInput

type RepositoryRulesetRulesPullRequestPtrInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesPullRequestPtrOutput() RepositoryRulesetRulesPullRequestPtrOutput
	ToRepositoryRulesetRulesPullRequestPtrOutputWithContext(context.Context) RepositoryRulesetRulesPullRequestPtrOutput
}

RepositoryRulesetRulesPullRequestPtrInput is an input type that accepts RepositoryRulesetRulesPullRequestArgs, RepositoryRulesetRulesPullRequestPtr and RepositoryRulesetRulesPullRequestPtrOutput values. You can construct a concrete instance of `RepositoryRulesetRulesPullRequestPtrInput` via:

        RepositoryRulesetRulesPullRequestArgs{...}

or:

        nil

type RepositoryRulesetRulesPullRequestPtrOutput

type RepositoryRulesetRulesPullRequestPtrOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesPullRequestPtrOutput) DismissStaleReviewsOnPush

func (o RepositoryRulesetRulesPullRequestPtrOutput) DismissStaleReviewsOnPush() pulumi.BoolPtrOutput

(Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.

func (RepositoryRulesetRulesPullRequestPtrOutput) Elem

func (RepositoryRulesetRulesPullRequestPtrOutput) ElementType

func (RepositoryRulesetRulesPullRequestPtrOutput) RequireCodeOwnerReview

(Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.

func (RepositoryRulesetRulesPullRequestPtrOutput) RequireLastPushApproval

(Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.

func (RepositoryRulesetRulesPullRequestPtrOutput) RequiredApprovingReviewCount

func (o RepositoryRulesetRulesPullRequestPtrOutput) RequiredApprovingReviewCount() pulumi.IntPtrOutput

(Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.

func (RepositoryRulesetRulesPullRequestPtrOutput) RequiredReviewThreadResolution

func (o RepositoryRulesetRulesPullRequestPtrOutput) RequiredReviewThreadResolution() pulumi.BoolPtrOutput

(Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.

func (RepositoryRulesetRulesPullRequestPtrOutput) ToRepositoryRulesetRulesPullRequestPtrOutput

func (o RepositoryRulesetRulesPullRequestPtrOutput) ToRepositoryRulesetRulesPullRequestPtrOutput() RepositoryRulesetRulesPullRequestPtrOutput

func (RepositoryRulesetRulesPullRequestPtrOutput) ToRepositoryRulesetRulesPullRequestPtrOutputWithContext

func (o RepositoryRulesetRulesPullRequestPtrOutput) ToRepositoryRulesetRulesPullRequestPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesPullRequestPtrOutput

type RepositoryRulesetRulesRequiredDeployments

type RepositoryRulesetRulesRequiredDeployments struct {
	// (List of String) The environments that must be successfully deployed to before branches can be merged.
	RequiredDeploymentEnvironments []string `pulumi:"requiredDeploymentEnvironments"`
}

type RepositoryRulesetRulesRequiredDeploymentsArgs

type RepositoryRulesetRulesRequiredDeploymentsArgs struct {
	// (List of String) The environments that must be successfully deployed to before branches can be merged.
	RequiredDeploymentEnvironments pulumi.StringArrayInput `pulumi:"requiredDeploymentEnvironments"`
}

func (RepositoryRulesetRulesRequiredDeploymentsArgs) ElementType

func (RepositoryRulesetRulesRequiredDeploymentsArgs) ToRepositoryRulesetRulesRequiredDeploymentsOutput

func (i RepositoryRulesetRulesRequiredDeploymentsArgs) ToRepositoryRulesetRulesRequiredDeploymentsOutput() RepositoryRulesetRulesRequiredDeploymentsOutput

func (RepositoryRulesetRulesRequiredDeploymentsArgs) ToRepositoryRulesetRulesRequiredDeploymentsOutputWithContext

func (i RepositoryRulesetRulesRequiredDeploymentsArgs) ToRepositoryRulesetRulesRequiredDeploymentsOutputWithContext(ctx context.Context) RepositoryRulesetRulesRequiredDeploymentsOutput

func (RepositoryRulesetRulesRequiredDeploymentsArgs) ToRepositoryRulesetRulesRequiredDeploymentsPtrOutput

func (i RepositoryRulesetRulesRequiredDeploymentsArgs) ToRepositoryRulesetRulesRequiredDeploymentsPtrOutput() RepositoryRulesetRulesRequiredDeploymentsPtrOutput

func (RepositoryRulesetRulesRequiredDeploymentsArgs) ToRepositoryRulesetRulesRequiredDeploymentsPtrOutputWithContext

func (i RepositoryRulesetRulesRequiredDeploymentsArgs) ToRepositoryRulesetRulesRequiredDeploymentsPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesRequiredDeploymentsPtrOutput

type RepositoryRulesetRulesRequiredDeploymentsInput

type RepositoryRulesetRulesRequiredDeploymentsInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesRequiredDeploymentsOutput() RepositoryRulesetRulesRequiredDeploymentsOutput
	ToRepositoryRulesetRulesRequiredDeploymentsOutputWithContext(context.Context) RepositoryRulesetRulesRequiredDeploymentsOutput
}

RepositoryRulesetRulesRequiredDeploymentsInput is an input type that accepts RepositoryRulesetRulesRequiredDeploymentsArgs and RepositoryRulesetRulesRequiredDeploymentsOutput values. You can construct a concrete instance of `RepositoryRulesetRulesRequiredDeploymentsInput` via:

RepositoryRulesetRulesRequiredDeploymentsArgs{...}

type RepositoryRulesetRulesRequiredDeploymentsOutput

type RepositoryRulesetRulesRequiredDeploymentsOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesRequiredDeploymentsOutput) ElementType

func (RepositoryRulesetRulesRequiredDeploymentsOutput) RequiredDeploymentEnvironments

(List of String) The environments that must be successfully deployed to before branches can be merged.

func (RepositoryRulesetRulesRequiredDeploymentsOutput) ToRepositoryRulesetRulesRequiredDeploymentsOutput

func (o RepositoryRulesetRulesRequiredDeploymentsOutput) ToRepositoryRulesetRulesRequiredDeploymentsOutput() RepositoryRulesetRulesRequiredDeploymentsOutput

func (RepositoryRulesetRulesRequiredDeploymentsOutput) ToRepositoryRulesetRulesRequiredDeploymentsOutputWithContext

func (o RepositoryRulesetRulesRequiredDeploymentsOutput) ToRepositoryRulesetRulesRequiredDeploymentsOutputWithContext(ctx context.Context) RepositoryRulesetRulesRequiredDeploymentsOutput

func (RepositoryRulesetRulesRequiredDeploymentsOutput) ToRepositoryRulesetRulesRequiredDeploymentsPtrOutput

func (o RepositoryRulesetRulesRequiredDeploymentsOutput) ToRepositoryRulesetRulesRequiredDeploymentsPtrOutput() RepositoryRulesetRulesRequiredDeploymentsPtrOutput

func (RepositoryRulesetRulesRequiredDeploymentsOutput) ToRepositoryRulesetRulesRequiredDeploymentsPtrOutputWithContext

func (o RepositoryRulesetRulesRequiredDeploymentsOutput) ToRepositoryRulesetRulesRequiredDeploymentsPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesRequiredDeploymentsPtrOutput

type RepositoryRulesetRulesRequiredDeploymentsPtrInput

type RepositoryRulesetRulesRequiredDeploymentsPtrInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesRequiredDeploymentsPtrOutput() RepositoryRulesetRulesRequiredDeploymentsPtrOutput
	ToRepositoryRulesetRulesRequiredDeploymentsPtrOutputWithContext(context.Context) RepositoryRulesetRulesRequiredDeploymentsPtrOutput
}

RepositoryRulesetRulesRequiredDeploymentsPtrInput is an input type that accepts RepositoryRulesetRulesRequiredDeploymentsArgs, RepositoryRulesetRulesRequiredDeploymentsPtr and RepositoryRulesetRulesRequiredDeploymentsPtrOutput values. You can construct a concrete instance of `RepositoryRulesetRulesRequiredDeploymentsPtrInput` via:

        RepositoryRulesetRulesRequiredDeploymentsArgs{...}

or:

        nil

type RepositoryRulesetRulesRequiredDeploymentsPtrOutput

type RepositoryRulesetRulesRequiredDeploymentsPtrOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesRequiredDeploymentsPtrOutput) Elem

func (RepositoryRulesetRulesRequiredDeploymentsPtrOutput) ElementType

func (RepositoryRulesetRulesRequiredDeploymentsPtrOutput) RequiredDeploymentEnvironments

(List of String) The environments that must be successfully deployed to before branches can be merged.

func (RepositoryRulesetRulesRequiredDeploymentsPtrOutput) ToRepositoryRulesetRulesRequiredDeploymentsPtrOutput

func (o RepositoryRulesetRulesRequiredDeploymentsPtrOutput) ToRepositoryRulesetRulesRequiredDeploymentsPtrOutput() RepositoryRulesetRulesRequiredDeploymentsPtrOutput

func (RepositoryRulesetRulesRequiredDeploymentsPtrOutput) ToRepositoryRulesetRulesRequiredDeploymentsPtrOutputWithContext

func (o RepositoryRulesetRulesRequiredDeploymentsPtrOutput) ToRepositoryRulesetRulesRequiredDeploymentsPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesRequiredDeploymentsPtrOutput

type RepositoryRulesetRulesRequiredStatusChecks

type RepositoryRulesetRulesRequiredStatusChecks struct {
	// (Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)
	RequiredChecks []RepositoryRulesetRulesRequiredStatusChecksRequiredCheck `pulumi:"requiredChecks"`
	// (Boolean) Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.
	StrictRequiredStatusChecksPolicy *bool `pulumi:"strictRequiredStatusChecksPolicy"`
}

type RepositoryRulesetRulesRequiredStatusChecksArgs

type RepositoryRulesetRulesRequiredStatusChecksArgs struct {
	// (Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)
	RequiredChecks RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayInput `pulumi:"requiredChecks"`
	// (Boolean) Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.
	StrictRequiredStatusChecksPolicy pulumi.BoolPtrInput `pulumi:"strictRequiredStatusChecksPolicy"`
}

func (RepositoryRulesetRulesRequiredStatusChecksArgs) ElementType

func (RepositoryRulesetRulesRequiredStatusChecksArgs) ToRepositoryRulesetRulesRequiredStatusChecksOutput

func (i RepositoryRulesetRulesRequiredStatusChecksArgs) ToRepositoryRulesetRulesRequiredStatusChecksOutput() RepositoryRulesetRulesRequiredStatusChecksOutput

func (RepositoryRulesetRulesRequiredStatusChecksArgs) ToRepositoryRulesetRulesRequiredStatusChecksOutputWithContext

func (i RepositoryRulesetRulesRequiredStatusChecksArgs) ToRepositoryRulesetRulesRequiredStatusChecksOutputWithContext(ctx context.Context) RepositoryRulesetRulesRequiredStatusChecksOutput

func (RepositoryRulesetRulesRequiredStatusChecksArgs) ToRepositoryRulesetRulesRequiredStatusChecksPtrOutput

func (i RepositoryRulesetRulesRequiredStatusChecksArgs) ToRepositoryRulesetRulesRequiredStatusChecksPtrOutput() RepositoryRulesetRulesRequiredStatusChecksPtrOutput

func (RepositoryRulesetRulesRequiredStatusChecksArgs) ToRepositoryRulesetRulesRequiredStatusChecksPtrOutputWithContext

func (i RepositoryRulesetRulesRequiredStatusChecksArgs) ToRepositoryRulesetRulesRequiredStatusChecksPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesRequiredStatusChecksPtrOutput

type RepositoryRulesetRulesRequiredStatusChecksInput

type RepositoryRulesetRulesRequiredStatusChecksInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesRequiredStatusChecksOutput() RepositoryRulesetRulesRequiredStatusChecksOutput
	ToRepositoryRulesetRulesRequiredStatusChecksOutputWithContext(context.Context) RepositoryRulesetRulesRequiredStatusChecksOutput
}

RepositoryRulesetRulesRequiredStatusChecksInput is an input type that accepts RepositoryRulesetRulesRequiredStatusChecksArgs and RepositoryRulesetRulesRequiredStatusChecksOutput values. You can construct a concrete instance of `RepositoryRulesetRulesRequiredStatusChecksInput` via:

RepositoryRulesetRulesRequiredStatusChecksArgs{...}

type RepositoryRulesetRulesRequiredStatusChecksOutput

type RepositoryRulesetRulesRequiredStatusChecksOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesRequiredStatusChecksOutput) ElementType

func (RepositoryRulesetRulesRequiredStatusChecksOutput) RequiredChecks

(Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)

func (RepositoryRulesetRulesRequiredStatusChecksOutput) StrictRequiredStatusChecksPolicy

func (o RepositoryRulesetRulesRequiredStatusChecksOutput) StrictRequiredStatusChecksPolicy() pulumi.BoolPtrOutput

(Boolean) Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.

func (RepositoryRulesetRulesRequiredStatusChecksOutput) ToRepositoryRulesetRulesRequiredStatusChecksOutput

func (o RepositoryRulesetRulesRequiredStatusChecksOutput) ToRepositoryRulesetRulesRequiredStatusChecksOutput() RepositoryRulesetRulesRequiredStatusChecksOutput

func (RepositoryRulesetRulesRequiredStatusChecksOutput) ToRepositoryRulesetRulesRequiredStatusChecksOutputWithContext

func (o RepositoryRulesetRulesRequiredStatusChecksOutput) ToRepositoryRulesetRulesRequiredStatusChecksOutputWithContext(ctx context.Context) RepositoryRulesetRulesRequiredStatusChecksOutput

func (RepositoryRulesetRulesRequiredStatusChecksOutput) ToRepositoryRulesetRulesRequiredStatusChecksPtrOutput

func (o RepositoryRulesetRulesRequiredStatusChecksOutput) ToRepositoryRulesetRulesRequiredStatusChecksPtrOutput() RepositoryRulesetRulesRequiredStatusChecksPtrOutput

func (RepositoryRulesetRulesRequiredStatusChecksOutput) ToRepositoryRulesetRulesRequiredStatusChecksPtrOutputWithContext

func (o RepositoryRulesetRulesRequiredStatusChecksOutput) ToRepositoryRulesetRulesRequiredStatusChecksPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesRequiredStatusChecksPtrOutput

type RepositoryRulesetRulesRequiredStatusChecksPtrInput

type RepositoryRulesetRulesRequiredStatusChecksPtrInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesRequiredStatusChecksPtrOutput() RepositoryRulesetRulesRequiredStatusChecksPtrOutput
	ToRepositoryRulesetRulesRequiredStatusChecksPtrOutputWithContext(context.Context) RepositoryRulesetRulesRequiredStatusChecksPtrOutput
}

RepositoryRulesetRulesRequiredStatusChecksPtrInput is an input type that accepts RepositoryRulesetRulesRequiredStatusChecksArgs, RepositoryRulesetRulesRequiredStatusChecksPtr and RepositoryRulesetRulesRequiredStatusChecksPtrOutput values. You can construct a concrete instance of `RepositoryRulesetRulesRequiredStatusChecksPtrInput` via:

        RepositoryRulesetRulesRequiredStatusChecksArgs{...}

or:

        nil

type RepositoryRulesetRulesRequiredStatusChecksPtrOutput

type RepositoryRulesetRulesRequiredStatusChecksPtrOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesRequiredStatusChecksPtrOutput) Elem

func (RepositoryRulesetRulesRequiredStatusChecksPtrOutput) ElementType

func (RepositoryRulesetRulesRequiredStatusChecksPtrOutput) RequiredChecks

(Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)

func (RepositoryRulesetRulesRequiredStatusChecksPtrOutput) StrictRequiredStatusChecksPolicy

func (o RepositoryRulesetRulesRequiredStatusChecksPtrOutput) StrictRequiredStatusChecksPolicy() pulumi.BoolPtrOutput

(Boolean) Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.

func (RepositoryRulesetRulesRequiredStatusChecksPtrOutput) ToRepositoryRulesetRulesRequiredStatusChecksPtrOutput

func (o RepositoryRulesetRulesRequiredStatusChecksPtrOutput) ToRepositoryRulesetRulesRequiredStatusChecksPtrOutput() RepositoryRulesetRulesRequiredStatusChecksPtrOutput

func (RepositoryRulesetRulesRequiredStatusChecksPtrOutput) ToRepositoryRulesetRulesRequiredStatusChecksPtrOutputWithContext

func (o RepositoryRulesetRulesRequiredStatusChecksPtrOutput) ToRepositoryRulesetRulesRequiredStatusChecksPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesRequiredStatusChecksPtrOutput

type RepositoryRulesetRulesRequiredStatusChecksRequiredCheck

type RepositoryRulesetRulesRequiredStatusChecksRequiredCheck struct {
	// (String) The status check context name that must be present on the commit.
	Context string `pulumi:"context"`
	// (Number) The optional integration ID that this status check must originate from.
	IntegrationId *int `pulumi:"integrationId"`
}

type RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArgs

type RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArgs struct {
	// (String) The status check context name that must be present on the commit.
	Context pulumi.StringInput `pulumi:"context"`
	// (Number) The optional integration ID that this status check must originate from.
	IntegrationId pulumi.IntPtrInput `pulumi:"integrationId"`
}

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArgs) ElementType

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArgs) ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArgs) ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutputWithContext

func (i RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArgs) ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutputWithContext(ctx context.Context) RepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput

type RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArray

type RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArray []RepositoryRulesetRulesRequiredStatusChecksRequiredCheckInput

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArray) ElementType

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArray) ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArray) ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutputWithContext

func (i RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArray) ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutputWithContext(ctx context.Context) RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput

type RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayInput

type RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput() RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput
	ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutputWithContext(context.Context) RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput
}

RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayInput is an input type that accepts RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArray and RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput values. You can construct a concrete instance of `RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayInput` via:

RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArray{ RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArgs{...} }

type RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput

type RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput) ElementType

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput) Index

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput) ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput) ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutputWithContext

func (o RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput) ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutputWithContext(ctx context.Context) RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArrayOutput

type RepositoryRulesetRulesRequiredStatusChecksRequiredCheckInput

type RepositoryRulesetRulesRequiredStatusChecksRequiredCheckInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput() RepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput
	ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutputWithContext(context.Context) RepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput
}

RepositoryRulesetRulesRequiredStatusChecksRequiredCheckInput is an input type that accepts RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArgs and RepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput values. You can construct a concrete instance of `RepositoryRulesetRulesRequiredStatusChecksRequiredCheckInput` via:

RepositoryRulesetRulesRequiredStatusChecksRequiredCheckArgs{...}

type RepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput

type RepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput) Context

(String) The status check context name that must be present on the commit.

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput) ElementType

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput) IntegrationId

(Number) The optional integration ID that this status check must originate from.

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput) ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput

func (RepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput) ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutputWithContext

func (o RepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput) ToRepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutputWithContext(ctx context.Context) RepositoryRulesetRulesRequiredStatusChecksRequiredCheckOutput

type RepositoryRulesetRulesTagNamePattern

type RepositoryRulesetRulesTagNamePattern struct {
	// (String) The name of the ruleset.
	Name *string `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate *bool `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator string `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern string `pulumi:"pattern"`
}

type RepositoryRulesetRulesTagNamePatternArgs

type RepositoryRulesetRulesTagNamePatternArgs struct {
	// (String) The name of the ruleset.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// (Boolean) If true, the rule will fail if the pattern matches.
	Negate pulumi.BoolPtrInput `pulumi:"negate"`
	// (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
	Operator pulumi.StringInput `pulumi:"operator"`
	// (String) The pattern to match with.
	Pattern pulumi.StringInput `pulumi:"pattern"`
}

func (RepositoryRulesetRulesTagNamePatternArgs) ElementType

func (RepositoryRulesetRulesTagNamePatternArgs) ToRepositoryRulesetRulesTagNamePatternOutput

func (i RepositoryRulesetRulesTagNamePatternArgs) ToRepositoryRulesetRulesTagNamePatternOutput() RepositoryRulesetRulesTagNamePatternOutput

func (RepositoryRulesetRulesTagNamePatternArgs) ToRepositoryRulesetRulesTagNamePatternOutputWithContext

func (i RepositoryRulesetRulesTagNamePatternArgs) ToRepositoryRulesetRulesTagNamePatternOutputWithContext(ctx context.Context) RepositoryRulesetRulesTagNamePatternOutput

func (RepositoryRulesetRulesTagNamePatternArgs) ToRepositoryRulesetRulesTagNamePatternPtrOutput

func (i RepositoryRulesetRulesTagNamePatternArgs) ToRepositoryRulesetRulesTagNamePatternPtrOutput() RepositoryRulesetRulesTagNamePatternPtrOutput

func (RepositoryRulesetRulesTagNamePatternArgs) ToRepositoryRulesetRulesTagNamePatternPtrOutputWithContext

func (i RepositoryRulesetRulesTagNamePatternArgs) ToRepositoryRulesetRulesTagNamePatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesTagNamePatternPtrOutput

type RepositoryRulesetRulesTagNamePatternInput

type RepositoryRulesetRulesTagNamePatternInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesTagNamePatternOutput() RepositoryRulesetRulesTagNamePatternOutput
	ToRepositoryRulesetRulesTagNamePatternOutputWithContext(context.Context) RepositoryRulesetRulesTagNamePatternOutput
}

RepositoryRulesetRulesTagNamePatternInput is an input type that accepts RepositoryRulesetRulesTagNamePatternArgs and RepositoryRulesetRulesTagNamePatternOutput values. You can construct a concrete instance of `RepositoryRulesetRulesTagNamePatternInput` via:

RepositoryRulesetRulesTagNamePatternArgs{...}

type RepositoryRulesetRulesTagNamePatternOutput

type RepositoryRulesetRulesTagNamePatternOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesTagNamePatternOutput) ElementType

func (RepositoryRulesetRulesTagNamePatternOutput) Name

(String) The name of the ruleset.

func (RepositoryRulesetRulesTagNamePatternOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (RepositoryRulesetRulesTagNamePatternOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (RepositoryRulesetRulesTagNamePatternOutput) Pattern

(String) The pattern to match with.

func (RepositoryRulesetRulesTagNamePatternOutput) ToRepositoryRulesetRulesTagNamePatternOutput

func (o RepositoryRulesetRulesTagNamePatternOutput) ToRepositoryRulesetRulesTagNamePatternOutput() RepositoryRulesetRulesTagNamePatternOutput

func (RepositoryRulesetRulesTagNamePatternOutput) ToRepositoryRulesetRulesTagNamePatternOutputWithContext

func (o RepositoryRulesetRulesTagNamePatternOutput) ToRepositoryRulesetRulesTagNamePatternOutputWithContext(ctx context.Context) RepositoryRulesetRulesTagNamePatternOutput

func (RepositoryRulesetRulesTagNamePatternOutput) ToRepositoryRulesetRulesTagNamePatternPtrOutput

func (o RepositoryRulesetRulesTagNamePatternOutput) ToRepositoryRulesetRulesTagNamePatternPtrOutput() RepositoryRulesetRulesTagNamePatternPtrOutput

func (RepositoryRulesetRulesTagNamePatternOutput) ToRepositoryRulesetRulesTagNamePatternPtrOutputWithContext

func (o RepositoryRulesetRulesTagNamePatternOutput) ToRepositoryRulesetRulesTagNamePatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesTagNamePatternPtrOutput

type RepositoryRulesetRulesTagNamePatternPtrInput

type RepositoryRulesetRulesTagNamePatternPtrInput interface {
	pulumi.Input

	ToRepositoryRulesetRulesTagNamePatternPtrOutput() RepositoryRulesetRulesTagNamePatternPtrOutput
	ToRepositoryRulesetRulesTagNamePatternPtrOutputWithContext(context.Context) RepositoryRulesetRulesTagNamePatternPtrOutput
}

RepositoryRulesetRulesTagNamePatternPtrInput is an input type that accepts RepositoryRulesetRulesTagNamePatternArgs, RepositoryRulesetRulesTagNamePatternPtr and RepositoryRulesetRulesTagNamePatternPtrOutput values. You can construct a concrete instance of `RepositoryRulesetRulesTagNamePatternPtrInput` via:

        RepositoryRulesetRulesTagNamePatternArgs{...}

or:

        nil

type RepositoryRulesetRulesTagNamePatternPtrOutput

type RepositoryRulesetRulesTagNamePatternPtrOutput struct{ *pulumi.OutputState }

func (RepositoryRulesetRulesTagNamePatternPtrOutput) Elem

func (RepositoryRulesetRulesTagNamePatternPtrOutput) ElementType

func (RepositoryRulesetRulesTagNamePatternPtrOutput) Name

(String) The name of the ruleset.

func (RepositoryRulesetRulesTagNamePatternPtrOutput) Negate

(Boolean) If true, the rule will fail if the pattern matches.

func (RepositoryRulesetRulesTagNamePatternPtrOutput) Operator

(String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.

func (RepositoryRulesetRulesTagNamePatternPtrOutput) Pattern

(String) The pattern to match with.

func (RepositoryRulesetRulesTagNamePatternPtrOutput) ToRepositoryRulesetRulesTagNamePatternPtrOutput

func (o RepositoryRulesetRulesTagNamePatternPtrOutput) ToRepositoryRulesetRulesTagNamePatternPtrOutput() RepositoryRulesetRulesTagNamePatternPtrOutput

func (RepositoryRulesetRulesTagNamePatternPtrOutput) ToRepositoryRulesetRulesTagNamePatternPtrOutputWithContext

func (o RepositoryRulesetRulesTagNamePatternPtrOutput) ToRepositoryRulesetRulesTagNamePatternPtrOutputWithContext(ctx context.Context) RepositoryRulesetRulesTagNamePatternPtrOutput

type RepositoryRulesetState

type RepositoryRulesetState struct {
	// (Block List) The actors that can bypass the rules in this ruleset. (see below for nested schema)
	BypassActors RepositoryRulesetBypassActorArrayInput
	// (Block List, Max: 1) Parameters for a repository ruleset ref name condition. (see below for nested schema)
	Conditions RepositoryRulesetConditionsPtrInput
	// (String) Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.
	Enforcement pulumi.StringPtrInput
	// (String)
	Etag pulumi.StringPtrInput
	// (String) The name of the ruleset.
	Name pulumi.StringPtrInput
	// (String) GraphQL global node id for use with v4 API.
	NodeId pulumi.StringPtrInput
	// (String) Name of the repository to apply rulset to.
	Repository pulumi.StringPtrInput
	// (Block List, Min: 1, Max: 1) Rules within the ruleset. (see below for nested schema)
	Rules RepositoryRulesetRulesPtrInput
	// (Number) GitHub ID for the ruleset.
	RulesetId pulumi.IntPtrInput
	// (String) Possible values are `branch` and `tag`.
	Target pulumi.StringPtrInput
}

func (RepositoryRulesetState) ElementType

func (RepositoryRulesetState) ElementType() reflect.Type

type RepositorySecurityAndAnalysis

type RepositorySecurityAndAnalysis struct {
	// The advanced security configuration for the repository. See Advanced Security Configuration below for details. If a repository's visibility is `public`, advanced security is always enabled and cannot be changed, so this setting cannot be supplied.
	AdvancedSecurity *RepositorySecurityAndAnalysisAdvancedSecurity `pulumi:"advancedSecurity"`
	// The secret scanning configuration for the repository. See Secret Scanning Configuration below for details.
	SecretScanning *RepositorySecurityAndAnalysisSecretScanning `pulumi:"secretScanning"`
	// The secret scanning push protection configuration for the repository. See Secret Scanning Push Protection Configuration below for details.
	SecretScanningPushProtection *RepositorySecurityAndAnalysisSecretScanningPushProtection `pulumi:"secretScanningPushProtection"`
}

type RepositorySecurityAndAnalysisAdvancedSecurity

type RepositorySecurityAndAnalysisAdvancedSecurity struct {
	// Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
	Status string `pulumi:"status"`
}

type RepositorySecurityAndAnalysisAdvancedSecurityArgs

type RepositorySecurityAndAnalysisAdvancedSecurityArgs struct {
	// Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (RepositorySecurityAndAnalysisAdvancedSecurityArgs) ElementType

func (RepositorySecurityAndAnalysisAdvancedSecurityArgs) ToRepositorySecurityAndAnalysisAdvancedSecurityOutput

func (i RepositorySecurityAndAnalysisAdvancedSecurityArgs) ToRepositorySecurityAndAnalysisAdvancedSecurityOutput() RepositorySecurityAndAnalysisAdvancedSecurityOutput

func (RepositorySecurityAndAnalysisAdvancedSecurityArgs) ToRepositorySecurityAndAnalysisAdvancedSecurityOutputWithContext

func (i RepositorySecurityAndAnalysisAdvancedSecurityArgs) ToRepositorySecurityAndAnalysisAdvancedSecurityOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisAdvancedSecurityOutput

func (RepositorySecurityAndAnalysisAdvancedSecurityArgs) ToRepositorySecurityAndAnalysisAdvancedSecurityPtrOutput

func (i RepositorySecurityAndAnalysisAdvancedSecurityArgs) ToRepositorySecurityAndAnalysisAdvancedSecurityPtrOutput() RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput

func (RepositorySecurityAndAnalysisAdvancedSecurityArgs) ToRepositorySecurityAndAnalysisAdvancedSecurityPtrOutputWithContext

func (i RepositorySecurityAndAnalysisAdvancedSecurityArgs) ToRepositorySecurityAndAnalysisAdvancedSecurityPtrOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput

type RepositorySecurityAndAnalysisAdvancedSecurityInput

type RepositorySecurityAndAnalysisAdvancedSecurityInput interface {
	pulumi.Input

	ToRepositorySecurityAndAnalysisAdvancedSecurityOutput() RepositorySecurityAndAnalysisAdvancedSecurityOutput
	ToRepositorySecurityAndAnalysisAdvancedSecurityOutputWithContext(context.Context) RepositorySecurityAndAnalysisAdvancedSecurityOutput
}

RepositorySecurityAndAnalysisAdvancedSecurityInput is an input type that accepts RepositorySecurityAndAnalysisAdvancedSecurityArgs and RepositorySecurityAndAnalysisAdvancedSecurityOutput values. You can construct a concrete instance of `RepositorySecurityAndAnalysisAdvancedSecurityInput` via:

RepositorySecurityAndAnalysisAdvancedSecurityArgs{...}

type RepositorySecurityAndAnalysisAdvancedSecurityOutput

type RepositorySecurityAndAnalysisAdvancedSecurityOutput struct{ *pulumi.OutputState }

func (RepositorySecurityAndAnalysisAdvancedSecurityOutput) ElementType

func (RepositorySecurityAndAnalysisAdvancedSecurityOutput) Status

Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.

func (RepositorySecurityAndAnalysisAdvancedSecurityOutput) ToRepositorySecurityAndAnalysisAdvancedSecurityOutput

func (o RepositorySecurityAndAnalysisAdvancedSecurityOutput) ToRepositorySecurityAndAnalysisAdvancedSecurityOutput() RepositorySecurityAndAnalysisAdvancedSecurityOutput

func (RepositorySecurityAndAnalysisAdvancedSecurityOutput) ToRepositorySecurityAndAnalysisAdvancedSecurityOutputWithContext

func (o RepositorySecurityAndAnalysisAdvancedSecurityOutput) ToRepositorySecurityAndAnalysisAdvancedSecurityOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisAdvancedSecurityOutput

func (RepositorySecurityAndAnalysisAdvancedSecurityOutput) ToRepositorySecurityAndAnalysisAdvancedSecurityPtrOutput

func (o RepositorySecurityAndAnalysisAdvancedSecurityOutput) ToRepositorySecurityAndAnalysisAdvancedSecurityPtrOutput() RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput

func (RepositorySecurityAndAnalysisAdvancedSecurityOutput) ToRepositorySecurityAndAnalysisAdvancedSecurityPtrOutputWithContext

func (o RepositorySecurityAndAnalysisAdvancedSecurityOutput) ToRepositorySecurityAndAnalysisAdvancedSecurityPtrOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput

type RepositorySecurityAndAnalysisAdvancedSecurityPtrInput

type RepositorySecurityAndAnalysisAdvancedSecurityPtrInput interface {
	pulumi.Input

	ToRepositorySecurityAndAnalysisAdvancedSecurityPtrOutput() RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput
	ToRepositorySecurityAndAnalysisAdvancedSecurityPtrOutputWithContext(context.Context) RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput
}

RepositorySecurityAndAnalysisAdvancedSecurityPtrInput is an input type that accepts RepositorySecurityAndAnalysisAdvancedSecurityArgs, RepositorySecurityAndAnalysisAdvancedSecurityPtr and RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput values. You can construct a concrete instance of `RepositorySecurityAndAnalysisAdvancedSecurityPtrInput` via:

        RepositorySecurityAndAnalysisAdvancedSecurityArgs{...}

or:

        nil

type RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput

type RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput struct{ *pulumi.OutputState }

func (RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput) Elem

func (RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput) ElementType

func (RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput) Status

Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.

func (RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput) ToRepositorySecurityAndAnalysisAdvancedSecurityPtrOutput

func (RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput) ToRepositorySecurityAndAnalysisAdvancedSecurityPtrOutputWithContext

func (o RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput) ToRepositorySecurityAndAnalysisAdvancedSecurityPtrOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisAdvancedSecurityPtrOutput

type RepositorySecurityAndAnalysisArgs

type RepositorySecurityAndAnalysisArgs struct {
	// The advanced security configuration for the repository. See Advanced Security Configuration below for details. If a repository's visibility is `public`, advanced security is always enabled and cannot be changed, so this setting cannot be supplied.
	AdvancedSecurity RepositorySecurityAndAnalysisAdvancedSecurityPtrInput `pulumi:"advancedSecurity"`
	// The secret scanning configuration for the repository. See Secret Scanning Configuration below for details.
	SecretScanning RepositorySecurityAndAnalysisSecretScanningPtrInput `pulumi:"secretScanning"`
	// The secret scanning push protection configuration for the repository. See Secret Scanning Push Protection Configuration below for details.
	SecretScanningPushProtection RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrInput `pulumi:"secretScanningPushProtection"`
}

func (RepositorySecurityAndAnalysisArgs) ElementType

func (RepositorySecurityAndAnalysisArgs) ToRepositorySecurityAndAnalysisOutput

func (i RepositorySecurityAndAnalysisArgs) ToRepositorySecurityAndAnalysisOutput() RepositorySecurityAndAnalysisOutput

func (RepositorySecurityAndAnalysisArgs) ToRepositorySecurityAndAnalysisOutputWithContext

func (i RepositorySecurityAndAnalysisArgs) ToRepositorySecurityAndAnalysisOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisOutput

func (RepositorySecurityAndAnalysisArgs) ToRepositorySecurityAndAnalysisPtrOutput

func (i RepositorySecurityAndAnalysisArgs) ToRepositorySecurityAndAnalysisPtrOutput() RepositorySecurityAndAnalysisPtrOutput

func (RepositorySecurityAndAnalysisArgs) ToRepositorySecurityAndAnalysisPtrOutputWithContext

func (i RepositorySecurityAndAnalysisArgs) ToRepositorySecurityAndAnalysisPtrOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisPtrOutput

type RepositorySecurityAndAnalysisInput

type RepositorySecurityAndAnalysisInput interface {
	pulumi.Input

	ToRepositorySecurityAndAnalysisOutput() RepositorySecurityAndAnalysisOutput
	ToRepositorySecurityAndAnalysisOutputWithContext(context.Context) RepositorySecurityAndAnalysisOutput
}

RepositorySecurityAndAnalysisInput is an input type that accepts RepositorySecurityAndAnalysisArgs and RepositorySecurityAndAnalysisOutput values. You can construct a concrete instance of `RepositorySecurityAndAnalysisInput` via:

RepositorySecurityAndAnalysisArgs{...}

type RepositorySecurityAndAnalysisOutput

type RepositorySecurityAndAnalysisOutput struct{ *pulumi.OutputState }

func (RepositorySecurityAndAnalysisOutput) AdvancedSecurity

The advanced security configuration for the repository. See Advanced Security Configuration below for details. If a repository's visibility is `public`, advanced security is always enabled and cannot be changed, so this setting cannot be supplied.

func (RepositorySecurityAndAnalysisOutput) ElementType

func (RepositorySecurityAndAnalysisOutput) SecretScanning

The secret scanning configuration for the repository. See Secret Scanning Configuration below for details.

func (RepositorySecurityAndAnalysisOutput) SecretScanningPushProtection

The secret scanning push protection configuration for the repository. See Secret Scanning Push Protection Configuration below for details.

func (RepositorySecurityAndAnalysisOutput) ToRepositorySecurityAndAnalysisOutput

func (o RepositorySecurityAndAnalysisOutput) ToRepositorySecurityAndAnalysisOutput() RepositorySecurityAndAnalysisOutput

func (RepositorySecurityAndAnalysisOutput) ToRepositorySecurityAndAnalysisOutputWithContext

func (o RepositorySecurityAndAnalysisOutput) ToRepositorySecurityAndAnalysisOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisOutput

func (RepositorySecurityAndAnalysisOutput) ToRepositorySecurityAndAnalysisPtrOutput

func (o RepositorySecurityAndAnalysisOutput) ToRepositorySecurityAndAnalysisPtrOutput() RepositorySecurityAndAnalysisPtrOutput

func (RepositorySecurityAndAnalysisOutput) ToRepositorySecurityAndAnalysisPtrOutputWithContext

func (o RepositorySecurityAndAnalysisOutput) ToRepositorySecurityAndAnalysisPtrOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisPtrOutput

type RepositorySecurityAndAnalysisPtrInput

type RepositorySecurityAndAnalysisPtrInput interface {
	pulumi.Input

	ToRepositorySecurityAndAnalysisPtrOutput() RepositorySecurityAndAnalysisPtrOutput
	ToRepositorySecurityAndAnalysisPtrOutputWithContext(context.Context) RepositorySecurityAndAnalysisPtrOutput
}

RepositorySecurityAndAnalysisPtrInput is an input type that accepts RepositorySecurityAndAnalysisArgs, RepositorySecurityAndAnalysisPtr and RepositorySecurityAndAnalysisPtrOutput values. You can construct a concrete instance of `RepositorySecurityAndAnalysisPtrInput` via:

        RepositorySecurityAndAnalysisArgs{...}

or:

        nil

type RepositorySecurityAndAnalysisPtrOutput

type RepositorySecurityAndAnalysisPtrOutput struct{ *pulumi.OutputState }

func (RepositorySecurityAndAnalysisPtrOutput) AdvancedSecurity

The advanced security configuration for the repository. See Advanced Security Configuration below for details. If a repository's visibility is `public`, advanced security is always enabled and cannot be changed, so this setting cannot be supplied.

func (RepositorySecurityAndAnalysisPtrOutput) Elem

func (RepositorySecurityAndAnalysisPtrOutput) ElementType

func (RepositorySecurityAndAnalysisPtrOutput) SecretScanning

The secret scanning configuration for the repository. See Secret Scanning Configuration below for details.

func (RepositorySecurityAndAnalysisPtrOutput) SecretScanningPushProtection

The secret scanning push protection configuration for the repository. See Secret Scanning Push Protection Configuration below for details.

func (RepositorySecurityAndAnalysisPtrOutput) ToRepositorySecurityAndAnalysisPtrOutput

func (o RepositorySecurityAndAnalysisPtrOutput) ToRepositorySecurityAndAnalysisPtrOutput() RepositorySecurityAndAnalysisPtrOutput

func (RepositorySecurityAndAnalysisPtrOutput) ToRepositorySecurityAndAnalysisPtrOutputWithContext

func (o RepositorySecurityAndAnalysisPtrOutput) ToRepositorySecurityAndAnalysisPtrOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisPtrOutput

type RepositorySecurityAndAnalysisSecretScanning

type RepositorySecurityAndAnalysisSecretScanning struct {
	// Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
	Status string `pulumi:"status"`
}

type RepositorySecurityAndAnalysisSecretScanningArgs

type RepositorySecurityAndAnalysisSecretScanningArgs struct {
	// Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (RepositorySecurityAndAnalysisSecretScanningArgs) ElementType

func (RepositorySecurityAndAnalysisSecretScanningArgs) ToRepositorySecurityAndAnalysisSecretScanningOutput

func (i RepositorySecurityAndAnalysisSecretScanningArgs) ToRepositorySecurityAndAnalysisSecretScanningOutput() RepositorySecurityAndAnalysisSecretScanningOutput

func (RepositorySecurityAndAnalysisSecretScanningArgs) ToRepositorySecurityAndAnalysisSecretScanningOutputWithContext

func (i RepositorySecurityAndAnalysisSecretScanningArgs) ToRepositorySecurityAndAnalysisSecretScanningOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisSecretScanningOutput

func (RepositorySecurityAndAnalysisSecretScanningArgs) ToRepositorySecurityAndAnalysisSecretScanningPtrOutput

func (i RepositorySecurityAndAnalysisSecretScanningArgs) ToRepositorySecurityAndAnalysisSecretScanningPtrOutput() RepositorySecurityAndAnalysisSecretScanningPtrOutput

func (RepositorySecurityAndAnalysisSecretScanningArgs) ToRepositorySecurityAndAnalysisSecretScanningPtrOutputWithContext

func (i RepositorySecurityAndAnalysisSecretScanningArgs) ToRepositorySecurityAndAnalysisSecretScanningPtrOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisSecretScanningPtrOutput

type RepositorySecurityAndAnalysisSecretScanningInput

type RepositorySecurityAndAnalysisSecretScanningInput interface {
	pulumi.Input

	ToRepositorySecurityAndAnalysisSecretScanningOutput() RepositorySecurityAndAnalysisSecretScanningOutput
	ToRepositorySecurityAndAnalysisSecretScanningOutputWithContext(context.Context) RepositorySecurityAndAnalysisSecretScanningOutput
}

RepositorySecurityAndAnalysisSecretScanningInput is an input type that accepts RepositorySecurityAndAnalysisSecretScanningArgs and RepositorySecurityAndAnalysisSecretScanningOutput values. You can construct a concrete instance of `RepositorySecurityAndAnalysisSecretScanningInput` via:

RepositorySecurityAndAnalysisSecretScanningArgs{...}

type RepositorySecurityAndAnalysisSecretScanningOutput

type RepositorySecurityAndAnalysisSecretScanningOutput struct{ *pulumi.OutputState }

func (RepositorySecurityAndAnalysisSecretScanningOutput) ElementType

func (RepositorySecurityAndAnalysisSecretScanningOutput) Status

Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.

func (RepositorySecurityAndAnalysisSecretScanningOutput) ToRepositorySecurityAndAnalysisSecretScanningOutput

func (o RepositorySecurityAndAnalysisSecretScanningOutput) ToRepositorySecurityAndAnalysisSecretScanningOutput() RepositorySecurityAndAnalysisSecretScanningOutput

func (RepositorySecurityAndAnalysisSecretScanningOutput) ToRepositorySecurityAndAnalysisSecretScanningOutputWithContext

func (o RepositorySecurityAndAnalysisSecretScanningOutput) ToRepositorySecurityAndAnalysisSecretScanningOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisSecretScanningOutput

func (RepositorySecurityAndAnalysisSecretScanningOutput) ToRepositorySecurityAndAnalysisSecretScanningPtrOutput

func (o RepositorySecurityAndAnalysisSecretScanningOutput) ToRepositorySecurityAndAnalysisSecretScanningPtrOutput() RepositorySecurityAndAnalysisSecretScanningPtrOutput

func (RepositorySecurityAndAnalysisSecretScanningOutput) ToRepositorySecurityAndAnalysisSecretScanningPtrOutputWithContext

func (o RepositorySecurityAndAnalysisSecretScanningOutput) ToRepositorySecurityAndAnalysisSecretScanningPtrOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisSecretScanningPtrOutput

type RepositorySecurityAndAnalysisSecretScanningPtrInput

type RepositorySecurityAndAnalysisSecretScanningPtrInput interface {
	pulumi.Input

	ToRepositorySecurityAndAnalysisSecretScanningPtrOutput() RepositorySecurityAndAnalysisSecretScanningPtrOutput
	ToRepositorySecurityAndAnalysisSecretScanningPtrOutputWithContext(context.Context) RepositorySecurityAndAnalysisSecretScanningPtrOutput
}

RepositorySecurityAndAnalysisSecretScanningPtrInput is an input type that accepts RepositorySecurityAndAnalysisSecretScanningArgs, RepositorySecurityAndAnalysisSecretScanningPtr and RepositorySecurityAndAnalysisSecretScanningPtrOutput values. You can construct a concrete instance of `RepositorySecurityAndAnalysisSecretScanningPtrInput` via:

        RepositorySecurityAndAnalysisSecretScanningArgs{...}

or:

        nil

type RepositorySecurityAndAnalysisSecretScanningPtrOutput

type RepositorySecurityAndAnalysisSecretScanningPtrOutput struct{ *pulumi.OutputState }

func (RepositorySecurityAndAnalysisSecretScanningPtrOutput) Elem

func (RepositorySecurityAndAnalysisSecretScanningPtrOutput) ElementType

func (RepositorySecurityAndAnalysisSecretScanningPtrOutput) Status

Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.

func (RepositorySecurityAndAnalysisSecretScanningPtrOutput) ToRepositorySecurityAndAnalysisSecretScanningPtrOutput

func (RepositorySecurityAndAnalysisSecretScanningPtrOutput) ToRepositorySecurityAndAnalysisSecretScanningPtrOutputWithContext

func (o RepositorySecurityAndAnalysisSecretScanningPtrOutput) ToRepositorySecurityAndAnalysisSecretScanningPtrOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisSecretScanningPtrOutput

type RepositorySecurityAndAnalysisSecretScanningPushProtection

type RepositorySecurityAndAnalysisSecretScanningPushProtection struct {
	// Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
	Status string `pulumi:"status"`
}

type RepositorySecurityAndAnalysisSecretScanningPushProtectionArgs

type RepositorySecurityAndAnalysisSecretScanningPushProtectionArgs struct {
	// Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
	Status pulumi.StringInput `pulumi:"status"`
}

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionArgs) ElementType

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionArgs) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionOutput

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionArgs) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionOutputWithContext

func (i RepositorySecurityAndAnalysisSecretScanningPushProtectionArgs) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionArgs) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionArgs) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutputWithContext

func (i RepositorySecurityAndAnalysisSecretScanningPushProtectionArgs) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput

type RepositorySecurityAndAnalysisSecretScanningPushProtectionInput

type RepositorySecurityAndAnalysisSecretScanningPushProtectionInput interface {
	pulumi.Input

	ToRepositorySecurityAndAnalysisSecretScanningPushProtectionOutput() RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput
	ToRepositorySecurityAndAnalysisSecretScanningPushProtectionOutputWithContext(context.Context) RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput
}

RepositorySecurityAndAnalysisSecretScanningPushProtectionInput is an input type that accepts RepositorySecurityAndAnalysisSecretScanningPushProtectionArgs and RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput values. You can construct a concrete instance of `RepositorySecurityAndAnalysisSecretScanningPushProtectionInput` via:

RepositorySecurityAndAnalysisSecretScanningPushProtectionArgs{...}

type RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput

type RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput struct{ *pulumi.OutputState }

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput) ElementType

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput) Status

Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionOutput

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionOutputWithContext

func (o RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutputWithContext

func (o RepositorySecurityAndAnalysisSecretScanningPushProtectionOutput) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput

type RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrInput

type RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrInput interface {
	pulumi.Input

	ToRepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput() RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput
	ToRepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutputWithContext(context.Context) RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput
}

RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrInput is an input type that accepts RepositorySecurityAndAnalysisSecretScanningPushProtectionArgs, RepositorySecurityAndAnalysisSecretScanningPushProtectionPtr and RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput values. You can construct a concrete instance of `RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrInput` via:

        RepositorySecurityAndAnalysisSecretScanningPushProtectionArgs{...}

or:

        nil

type RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput

type RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput struct{ *pulumi.OutputState }

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput) Elem

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput) ElementType

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput) Status

Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput

func (RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutputWithContext

func (o RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput) ToRepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutputWithContext(ctx context.Context) RepositorySecurityAndAnalysisSecretScanningPushProtectionPtrOutput

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 always suggest updating pull request branches.
	AllowUpdateBranch 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 BranchDefault 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 GitHub Discussions on the repository. Defaults to `false`.
	HasDiscussions pulumi.BoolPtrInput
	// 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. Applicable only if `allowMergeCommit` is `true`.
	MergeCommitMessage pulumi.StringPtrInput
	// Can be `PR_TITLE` or `MERGE_MESSAGE` for a default merge commit title. Applicable only if `allowMergeCommit` is `true`.
	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
	// The primary language used in the repository.
	PrimaryLanguage pulumi.StringPtrInput
	// 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
	// The repository's [security and analysis](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository) configuration. See Security and Analysis Configuration below for details.
	SecurityAndAnalysis RepositorySecurityAndAnalysisPtrInput
	// Can be `PR_BODY`, `COMMIT_MESSAGES`, or `BLANK` for a default squash merge commit message. Applicable only if `allowSquashMerge` is `true`.
	SquashMergeCommitMessage pulumi.StringPtrInput
	// Can be `PR_TITLE` or `COMMIT_OR_PR_TITLE` for a default squash merge commit title. Applicable only if `allowSquashMerge` is `true`.
	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
	// Require contributors to sign off on web-based commits. See more [here](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-commit-signoff-policy-for-your-repository). Defaults to `false`.
	WebCommitSignoffRequired pulumi.BoolPtrInput
}

func (RepositoryState) ElementType

func (RepositoryState) ElementType() reflect.Type

type RepositoryTagProtection

type RepositoryTagProtection struct {
	pulumi.CustomResourceState

	// The pattern of the tag to protect.
	Pattern pulumi.StringOutput `pulumi:"pattern"`
	// Name of the repository to add the tag protection to.
	Repository pulumi.StringOutput `pulumi:"repository"`
	// The ID of the tag protection.
	TagProtectionId pulumi.IntOutput `pulumi:"tagProtectionId"`
}

This resource allows you to create and manage a repository tag protection for repositories within your GitHub organization or personal account.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.NewRepositoryTagProtection(ctx, "example", &github.RepositoryTagProtectionArgs{
			Pattern:    pulumi.String("v*"),
			Repository: pulumi.String("example-repository"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Repository tag protections can be imported using the `name` of the repository, combined with the `id` of the tag protection, separated by a `/` character. The `id` of the tag protection can be found using the [GitHub API](https://docs.github.com/en/rest/repos/tags#list-tag-protection-states-for-a-repository).

Importing uses the name of the repository, as well as the ID of the tag protection, e.g.

```sh $ pulumi import github:index/repositoryTagProtection:RepositoryTagProtection terraform my-repo/31077 ```

func GetRepositoryTagProtection

func GetRepositoryTagProtection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryTagProtectionState, opts ...pulumi.ResourceOption) (*RepositoryTagProtection, error)

GetRepositoryTagProtection gets an existing RepositoryTagProtection 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 NewRepositoryTagProtection

func NewRepositoryTagProtection(ctx *pulumi.Context,
	name string, args *RepositoryTagProtectionArgs, opts ...pulumi.ResourceOption) (*RepositoryTagProtection, error)

NewRepositoryTagProtection registers a new resource with the given unique name, arguments, and options.

func (*RepositoryTagProtection) ElementType

func (*RepositoryTagProtection) ElementType() reflect.Type

func (*RepositoryTagProtection) ToRepositoryTagProtectionOutput

func (i *RepositoryTagProtection) ToRepositoryTagProtectionOutput() RepositoryTagProtectionOutput

func (*RepositoryTagProtection) ToRepositoryTagProtectionOutputWithContext

func (i *RepositoryTagProtection) ToRepositoryTagProtectionOutputWithContext(ctx context.Context) RepositoryTagProtectionOutput

type RepositoryTagProtectionArgs

type RepositoryTagProtectionArgs struct {
	// The pattern of the tag to protect.
	Pattern pulumi.StringInput
	// Name of the repository to add the tag protection to.
	Repository pulumi.StringInput
}

The set of arguments for constructing a RepositoryTagProtection resource.

func (RepositoryTagProtectionArgs) ElementType

type RepositoryTagProtectionArray

type RepositoryTagProtectionArray []RepositoryTagProtectionInput

func (RepositoryTagProtectionArray) ElementType

func (RepositoryTagProtectionArray) ToRepositoryTagProtectionArrayOutput

func (i RepositoryTagProtectionArray) ToRepositoryTagProtectionArrayOutput() RepositoryTagProtectionArrayOutput

func (RepositoryTagProtectionArray) ToRepositoryTagProtectionArrayOutputWithContext

func (i RepositoryTagProtectionArray) ToRepositoryTagProtectionArrayOutputWithContext(ctx context.Context) RepositoryTagProtectionArrayOutput

type RepositoryTagProtectionArrayInput

type RepositoryTagProtectionArrayInput interface {
	pulumi.Input

	ToRepositoryTagProtectionArrayOutput() RepositoryTagProtectionArrayOutput
	ToRepositoryTagProtectionArrayOutputWithContext(context.Context) RepositoryTagProtectionArrayOutput
}

RepositoryTagProtectionArrayInput is an input type that accepts RepositoryTagProtectionArray and RepositoryTagProtectionArrayOutput values. You can construct a concrete instance of `RepositoryTagProtectionArrayInput` via:

RepositoryTagProtectionArray{ RepositoryTagProtectionArgs{...} }

type RepositoryTagProtectionArrayOutput

type RepositoryTagProtectionArrayOutput struct{ *pulumi.OutputState }

func (RepositoryTagProtectionArrayOutput) ElementType

func (RepositoryTagProtectionArrayOutput) Index

func (RepositoryTagProtectionArrayOutput) ToRepositoryTagProtectionArrayOutput

func (o RepositoryTagProtectionArrayOutput) ToRepositoryTagProtectionArrayOutput() RepositoryTagProtectionArrayOutput

func (RepositoryTagProtectionArrayOutput) ToRepositoryTagProtectionArrayOutputWithContext

func (o RepositoryTagProtectionArrayOutput) ToRepositoryTagProtectionArrayOutputWithContext(ctx context.Context) RepositoryTagProtectionArrayOutput

type RepositoryTagProtectionInput

type RepositoryTagProtectionInput interface {
	pulumi.Input

	ToRepositoryTagProtectionOutput() RepositoryTagProtectionOutput
	ToRepositoryTagProtectionOutputWithContext(ctx context.Context) RepositoryTagProtectionOutput
}

type RepositoryTagProtectionMap

type RepositoryTagProtectionMap map[string]RepositoryTagProtectionInput

func (RepositoryTagProtectionMap) ElementType

func (RepositoryTagProtectionMap) ElementType() reflect.Type

func (RepositoryTagProtectionMap) ToRepositoryTagProtectionMapOutput

func (i RepositoryTagProtectionMap) ToRepositoryTagProtectionMapOutput() RepositoryTagProtectionMapOutput

func (RepositoryTagProtectionMap) ToRepositoryTagProtectionMapOutputWithContext

func (i RepositoryTagProtectionMap) ToRepositoryTagProtectionMapOutputWithContext(ctx context.Context) RepositoryTagProtectionMapOutput

type RepositoryTagProtectionMapInput

type RepositoryTagProtectionMapInput interface {
	pulumi.Input

	ToRepositoryTagProtectionMapOutput() RepositoryTagProtectionMapOutput
	ToRepositoryTagProtectionMapOutputWithContext(context.Context) RepositoryTagProtectionMapOutput
}

RepositoryTagProtectionMapInput is an input type that accepts RepositoryTagProtectionMap and RepositoryTagProtectionMapOutput values. You can construct a concrete instance of `RepositoryTagProtectionMapInput` via:

RepositoryTagProtectionMap{ "key": RepositoryTagProtectionArgs{...} }

type RepositoryTagProtectionMapOutput

type RepositoryTagProtectionMapOutput struct{ *pulumi.OutputState }

func (RepositoryTagProtectionMapOutput) ElementType

func (RepositoryTagProtectionMapOutput) MapIndex

func (RepositoryTagProtectionMapOutput) ToRepositoryTagProtectionMapOutput

func (o RepositoryTagProtectionMapOutput) ToRepositoryTagProtectionMapOutput() RepositoryTagProtectionMapOutput

func (RepositoryTagProtectionMapOutput) ToRepositoryTagProtectionMapOutputWithContext

func (o RepositoryTagProtectionMapOutput) ToRepositoryTagProtectionMapOutputWithContext(ctx context.Context) RepositoryTagProtectionMapOutput

type RepositoryTagProtectionOutput

type RepositoryTagProtectionOutput struct{ *pulumi.OutputState }

func (RepositoryTagProtectionOutput) ElementType

func (RepositoryTagProtectionOutput) Pattern

The pattern of the tag to protect.

func (RepositoryTagProtectionOutput) Repository

Name of the repository to add the tag protection to.

func (RepositoryTagProtectionOutput) TagProtectionId

func (o RepositoryTagProtectionOutput) TagProtectionId() pulumi.IntOutput

The ID of the tag protection.

func (RepositoryTagProtectionOutput) ToRepositoryTagProtectionOutput

func (o RepositoryTagProtectionOutput) ToRepositoryTagProtectionOutput() RepositoryTagProtectionOutput

func (RepositoryTagProtectionOutput) ToRepositoryTagProtectionOutputWithContext

func (o RepositoryTagProtectionOutput) ToRepositoryTagProtectionOutputWithContext(ctx context.Context) RepositoryTagProtectionOutput

type RepositoryTagProtectionState

type RepositoryTagProtectionState struct {
	// The pattern of the tag to protect.
	Pattern pulumi.StringPtrInput
	// Name of the repository to add the tag protection to.
	Repository pulumi.StringPtrInput
	// The ID of the tag protection.
	TagProtectionId pulumi.IntPtrInput
}

func (RepositoryTagProtectionState) ElementType

type RepositoryTemplate

type RepositoryTemplate struct {
	// Whether the new repository should include all the branches from the template repository (defaults to false, which includes only the default branch from the template).
	IncludeAllBranches *bool `pulumi:"includeAllBranches"`
	// The GitHub organization or user the template repository is owned by.
	Owner string `pulumi:"owner"`
	// The name of the template repository.
	Repository string `pulumi:"repository"`
}

type RepositoryTemplateArgs

type RepositoryTemplateArgs struct {
	// Whether the new repository should include all the branches from the template repository (defaults to false, which includes only the default branch from the template).
	IncludeAllBranches pulumi.BoolPtrInput `pulumi:"includeAllBranches"`
	// The GitHub organization or user the template repository is owned by.
	Owner pulumi.StringInput `pulumi:"owner"`
	// The name of the template repository.
	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) IncludeAllBranches

func (o RepositoryTemplateOutput) IncludeAllBranches() pulumi.BoolPtrOutput

Whether the new repository should include all the branches from the template repository (defaults to false, which includes only the default branch from the template).

func (RepositoryTemplateOutput) Owner

The GitHub organization or user the template repository is owned by.

func (RepositoryTemplateOutput) Repository

The name of the template repository.

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

type RepositoryTemplatePtrOutput

type RepositoryTemplatePtrOutput struct{ *pulumi.OutputState }

func (RepositoryTemplatePtrOutput) Elem

func (RepositoryTemplatePtrOutput) ElementType

func (RepositoryTemplatePtrOutput) IncludeAllBranches

func (o RepositoryTemplatePtrOutput) IncludeAllBranches() pulumi.BoolPtrOutput

Whether the new repository should include all the branches from the template repository (defaults to false, which includes only the default branch from the template).

func (RepositoryTemplatePtrOutput) Owner

The GitHub organization or user the template repository is owned by.

func (RepositoryTemplatePtrOutput) Repository

The name of the template repository.

func (RepositoryTemplatePtrOutput) ToRepositoryTemplatePtrOutput

func (o RepositoryTemplatePtrOutput) ToRepositoryTemplatePtrOutput() RepositoryTemplatePtrOutput

func (RepositoryTemplatePtrOutput) ToRepositoryTemplatePtrOutputWithContext

func (o RepositoryTemplatePtrOutput) ToRepositoryTemplatePtrOutputWithContext(ctx context.Context) RepositoryTemplatePtrOutput

type RepositoryTopics

type RepositoryTopics struct {
	pulumi.CustomResourceState

	// The repository name.
	Repository pulumi.StringOutput `pulumi:"repository"`
	// A list of topics to add to the repository.
	Topics pulumi.StringArrayOutput `pulumi:"topics"`
}

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := github.LookupRepository(ctx, &github.LookupRepositoryArgs{
			Name: pulumi.StringRef("test"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = github.NewRepositoryTopics(ctx, "testRepositoryTopics", &github.RepositoryTopicsArgs{
			Repository: pulumi.Any(github_repository.Test.Name),
			Topics: pulumi.StringArray{
				pulumi.String("topic-1"),
				pulumi.String("topic-2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Repository topics can be imported using the `name` of the repository.

```sh $ pulumi import github:index/repositoryTopics:RepositoryTopics terraform terraform ```

func GetRepositoryTopics

func GetRepositoryTopics(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RepositoryTopicsState, opts ...pulumi.ResourceOption) (*RepositoryTopics, error)

GetRepositoryTopics gets an existing RepositoryTopics 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 NewRepositoryTopics

func NewRepositoryTopics(ctx *pulumi.Context,
	name string, args *RepositoryTopicsArgs, opts ...pulumi.ResourceOption) (*RepositoryTopics, error)

NewRepositoryTopics registers a new resource with the given unique name, arguments, and options.

func (*RepositoryTopics) ElementType

func (*RepositoryTopics) ElementType() reflect.Type

func (*RepositoryTopics) ToRepositoryTopicsOutput

func (i *RepositoryTopics) ToRepositoryTopicsOutput() RepositoryTopicsOutput

func (*RepositoryTopics) ToRepositoryTopicsOutputWithContext

func (i *RepositoryTopics) ToRepositoryTopicsOutputWithContext(ctx context.Context) RepositoryTopicsOutput

type RepositoryTopicsArgs

type RepositoryTopicsArgs struct {
	// The repository name.
	Repository pulumi.StringInput
	// A list of topics to add to the repository.
	Topics pulumi.StringArrayInput
}

The set of arguments for constructing a RepositoryTopics resource.

func (RepositoryTopicsArgs) ElementType

func (RepositoryTopicsArgs) ElementType() reflect.Type

type RepositoryTopicsArray

type RepositoryTopicsArray []RepositoryTopicsInput

func (RepositoryTopicsArray) ElementType

func (RepositoryTopicsArray) ElementType() reflect.Type

func (RepositoryTopicsArray) ToRepositoryTopicsArrayOutput

func (i RepositoryTopicsArray) ToRepositoryTopicsArrayOutput() RepositoryTopicsArrayOutput

func (RepositoryTopicsArray) ToRepositoryTopicsArrayOutputWithContext

func (i RepositoryTopicsArray) ToRepositoryTopicsArrayOutputWithContext(ctx context.Context) RepositoryTopicsArrayOutput

type RepositoryTopicsArrayInput

type RepositoryTopicsArrayInput interface {
	pulumi.Input

	ToRepositoryTopicsArrayOutput() RepositoryTopicsArrayOutput
	ToRepositoryTopicsArrayOutputWithContext(context.Context) RepositoryTopicsArrayOutput
}

RepositoryTopicsArrayInput is an input type that accepts RepositoryTopicsArray and RepositoryTopicsArrayOutput values. You can construct a concrete instance of `RepositoryTopicsArrayInput` via:

RepositoryTopicsArray{ RepositoryTopicsArgs{...} }

type RepositoryTopicsArrayOutput

type RepositoryTopicsArrayOutput struct{ *pulumi.OutputState }

func (RepositoryTopicsArrayOutput) ElementType

func (RepositoryTopicsArrayOutput) Index

func (RepositoryTopicsArrayOutput) ToRepositoryTopicsArrayOutput

func (o RepositoryTopicsArrayOutput) ToRepositoryTopicsArrayOutput() RepositoryTopicsArrayOutput

func (RepositoryTopicsArrayOutput) ToRepositoryTopicsArrayOutputWithContext

func (o RepositoryTopicsArrayOutput) ToRepositoryTopicsArrayOutputWithContext(ctx context.Context) RepositoryTopicsArrayOutput

type RepositoryTopicsInput

type RepositoryTopicsInput interface {
	pulumi.Input

	ToRepositoryTopicsOutput() RepositoryTopicsOutput
	ToRepositoryTopicsOutputWithContext(ctx context.Context) RepositoryTopicsOutput
}

type RepositoryTopicsMap

type RepositoryTopicsMap map[string]RepositoryTopicsInput

func (RepositoryTopicsMap) ElementType

func (RepositoryTopicsMap) ElementType() reflect.Type

func (RepositoryTopicsMap) ToRepositoryTopicsMapOutput

func (i RepositoryTopicsMap) ToRepositoryTopicsMapOutput() RepositoryTopicsMapOutput

func (RepositoryTopicsMap) ToRepositoryTopicsMapOutputWithContext

func (i RepositoryTopicsMap) ToRepositoryTopicsMapOutputWithContext(ctx context.Context) RepositoryTopicsMapOutput

type RepositoryTopicsMapInput

type RepositoryTopicsMapInput interface {
	pulumi.Input

	ToRepositoryTopicsMapOutput() RepositoryTopicsMapOutput
	ToRepositoryTopicsMapOutputWithContext(context.Context) RepositoryTopicsMapOutput
}

RepositoryTopicsMapInput is an input type that accepts RepositoryTopicsMap and RepositoryTopicsMapOutput values. You can construct a concrete instance of `RepositoryTopicsMapInput` via:

RepositoryTopicsMap{ "key": RepositoryTopicsArgs{...} }

type RepositoryTopicsMapOutput

type RepositoryTopicsMapOutput struct{ *pulumi.OutputState }

func (RepositoryTopicsMapOutput) ElementType

func (RepositoryTopicsMapOutput) ElementType() reflect.Type

func (RepositoryTopicsMapOutput) MapIndex

func (RepositoryTopicsMapOutput) ToRepositoryTopicsMapOutput

func (o RepositoryTopicsMapOutput) ToRepositoryTopicsMapOutput() RepositoryTopicsMapOutput

func (RepositoryTopicsMapOutput) ToRepositoryTopicsMapOutputWithContext

func (o RepositoryTopicsMapOutput) ToRepositoryTopicsMapOutputWithContext(ctx context.Context) RepositoryTopicsMapOutput

type RepositoryTopicsOutput

type RepositoryTopicsOutput struct{ *pulumi.OutputState }

func (RepositoryTopicsOutput) ElementType

func (RepositoryTopicsOutput) ElementType() reflect.Type

func (RepositoryTopicsOutput) Repository

The repository name.

func (RepositoryTopicsOutput) ToRepositoryTopicsOutput

func (o RepositoryTopicsOutput) ToRepositoryTopicsOutput() RepositoryTopicsOutput

func (RepositoryTopicsOutput) ToRepositoryTopicsOutputWithContext

func (o RepositoryTopicsOutput) ToRepositoryTopicsOutputWithContext(ctx context.Context) RepositoryTopicsOutput

func (RepositoryTopicsOutput) Topics

A list of topics to add to the repository.

type RepositoryTopicsState

type RepositoryTopicsState struct {
	// The repository name.
	Repository pulumi.StringPtrInput
	// A list of topics to add to the repository.
	Topics pulumi.StringArrayInput
}

func (RepositoryTopicsState) ElementType

func (RepositoryTopicsState) ElementType() reflect.Type

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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/"),
			Visibility:  pulumi.String("public"),
		})
		if err != nil {
			return err
		}
		_, err = github.NewRepositoryWebhook(ctx, "foo", &github.RepositoryWebhookArgs{
			Repository: repo.Name,
			Configuration: &github.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
	})
}

``` <!--End PulumiCodeChooser -->

## 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) Index

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) 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

The content type for the payload. Valid values are either `form` or `json`.

func (RepositoryWebhookConfigurationOutput) ElementType

func (RepositoryWebhookConfigurationOutput) InsecureSsl

Insecure SSL boolean toggle. Defaults to `false`.

func (RepositoryWebhookConfigurationOutput) Secret

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

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

type RepositoryWebhookConfigurationPtrOutput

type RepositoryWebhookConfigurationPtrOutput struct{ *pulumi.OutputState }

func (RepositoryWebhookConfigurationPtrOutput) ContentType

The content type for the payload. Valid values are either `form` or `json`.

func (RepositoryWebhookConfigurationPtrOutput) Elem

func (RepositoryWebhookConfigurationPtrOutput) ElementType

func (RepositoryWebhookConfigurationPtrOutput) InsecureSsl

Insecure SSL boolean toggle. Defaults to `false`.

func (RepositoryWebhookConfigurationPtrOutput) Secret

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

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 (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

Indicate if the webhook should receive events. Defaults to `true`.

func (RepositoryWebhookOutput) Configuration

Configuration block for the webhook. Detailed below.

func (RepositoryWebhookOutput) ElementType

func (RepositoryWebhookOutput) ElementType() reflect.Type

func (RepositoryWebhookOutput) Etag

func (RepositoryWebhookOutput) Events

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

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

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 or slug of the parent team, if this is a nested team.
	ParentTeamId pulumi.StringPtrOutput `pulumi:"parentTeamId"`
	// The id of the parent team read in Github.
	ParentTeamReadId pulumi.StringOutput `pulumi:"parentTeamReadId"`
	// The id of the parent team read in Github.
	ParentTeamReadSlug pulumi.StringOutput `pulumi:"parentTeamReadSlug"`
	// 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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Add a team to the organization
		_, err := github.NewTeam(ctx, "someTeam", &github.TeamArgs{
			Description: pulumi.String("Some cool team"),
			Privacy:     pulumi.String("closed"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

GitHub Teams can be imported using the GitHub team ID or name e.g.

```sh $ pulumi import github:index/team:Team core 1234567 ```

```sh $ pulumi import github:index/team:Team core Administrators ```

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) ElementType() reflect.Type

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 or slug of the parent team, if this is a nested team.
	ParentTeamId pulumi.StringPtrInput
	// The id of the parent team read in Github.
	ParentTeamReadId pulumi.StringPtrInput
	// The id of the parent team read in Github.
	ParentTeamReadSlug pulumi.StringPtrInput
	// 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

func (TeamArgs) ElementType() reflect.Type

type TeamArray

type TeamArray []TeamInput

func (TeamArray) ElementType

func (TeamArray) ElementType() reflect.Type

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 (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

type TeamMap map[string]TeamInput

func (TeamMap) ElementType

func (TeamMap) ElementType() reflect.Type

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 (TeamMapOutput) ToTeamMapOutput

func (o TeamMapOutput) ToTeamMapOutput() TeamMapOutput

func (TeamMapOutput) ToTeamMapOutputWithContext

func (o TeamMapOutput) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput

type TeamMembers

type TeamMembers struct {
	pulumi.CustomResourceState

	// List of team members. See Members below for details.
	Members TeamMembersMemberArrayOutput `pulumi:"members"`
	// The team id or the team slug
	//
	// > **Note** Although the team id or team slug can be used it is recommended to use the team id.  Using the team slug will cause the team members associations to the team to be destroyed and recreated if the team name is updated.
	TeamId pulumi.StringOutput `pulumi:"teamId"`
}

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Add a user to the organization
		_, 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: github.TeamMembersMemberArray{
				&github.TeamMembersMemberArgs{
					Username: pulumi.String("SomeUser"),
					Role:     pulumi.String("maintainer"),
				},
				&github.TeamMembersMemberArgs{
					Username: pulumi.String("AnotherUser"),
					Role:     pulumi.String("member"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

~> **Note** Although the team id or team slug can be used it is recommended to use the team id. Using the team slug will result in terraform doing conversions between the team slug and team id. This will cause team members associations to the team to be destroyed and recreated on import.

GitHub Team Membership can be imported using the team ID team id or team slug, e.g.

```sh $ pulumi import github:index/teamMembers:TeamMembers some_team 1234567 ```

```sh $ pulumi import github:index/teamMembers:TeamMembers some_team Administrators ```

func GetTeamMembers

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

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

func (*TeamMembers) ElementType() reflect.Type

func (*TeamMembers) ToTeamMembersOutput

func (i *TeamMembers) ToTeamMembersOutput() TeamMembersOutput

func (*TeamMembers) ToTeamMembersOutputWithContext

func (i *TeamMembers) ToTeamMembersOutputWithContext(ctx context.Context) TeamMembersOutput

type TeamMembersArgs

type TeamMembersArgs struct {
	// List of team members. See Members below for details.
	Members TeamMembersMemberArrayInput
	// The team id or the team slug
	//
	// > **Note** Although the team id or team slug can be used it is recommended to use the team id.  Using the team slug will cause the team members associations to the team to be destroyed and recreated if the team name is updated.
	TeamId pulumi.StringInput
}

The set of arguments for constructing a TeamMembers resource.

func (TeamMembersArgs) ElementType

func (TeamMembersArgs) ElementType() reflect.Type

type TeamMembersArray

type TeamMembersArray []TeamMembersInput

func (TeamMembersArray) ElementType

func (TeamMembersArray) ElementType() reflect.Type

func (TeamMembersArray) ToTeamMembersArrayOutput

func (i TeamMembersArray) ToTeamMembersArrayOutput() TeamMembersArrayOutput

func (TeamMembersArray) ToTeamMembersArrayOutputWithContext

func (i TeamMembersArray) ToTeamMembersArrayOutputWithContext(ctx context.Context) TeamMembersArrayOutput

type TeamMembersArrayInput

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

type TeamMembersArrayOutput struct{ *pulumi.OutputState }

func (TeamMembersArrayOutput) ElementType

func (TeamMembersArrayOutput) ElementType() reflect.Type

func (TeamMembersArrayOutput) Index

func (TeamMembersArrayOutput) ToTeamMembersArrayOutput

func (o TeamMembersArrayOutput) ToTeamMembersArrayOutput() TeamMembersArrayOutput

func (TeamMembersArrayOutput) ToTeamMembersArrayOutputWithContext

func (o TeamMembersArrayOutput) ToTeamMembersArrayOutputWithContext(ctx context.Context) TeamMembersArrayOutput

type TeamMembersInput

type TeamMembersInput interface {
	pulumi.Input

	ToTeamMembersOutput() TeamMembersOutput
	ToTeamMembersOutputWithContext(ctx context.Context) TeamMembersOutput
}

type TeamMembersMap

type TeamMembersMap map[string]TeamMembersInput

func (TeamMembersMap) ElementType

func (TeamMembersMap) ElementType() reflect.Type

func (TeamMembersMap) ToTeamMembersMapOutput

func (i TeamMembersMap) ToTeamMembersMapOutput() TeamMembersMapOutput

func (TeamMembersMap) ToTeamMembersMapOutputWithContext

func (i TeamMembersMap) ToTeamMembersMapOutputWithContext(ctx context.Context) TeamMembersMapOutput

type TeamMembersMapInput

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

type TeamMembersMapOutput struct{ *pulumi.OutputState }

func (TeamMembersMapOutput) ElementType

func (TeamMembersMapOutput) ElementType() reflect.Type

func (TeamMembersMapOutput) MapIndex

func (TeamMembersMapOutput) ToTeamMembersMapOutput

func (o TeamMembersMapOutput) ToTeamMembersMapOutput() TeamMembersMapOutput

func (TeamMembersMapOutput) ToTeamMembersMapOutputWithContext

func (o TeamMembersMapOutput) ToTeamMembersMapOutputWithContext(ctx context.Context) TeamMembersMapOutput

type TeamMembersMember

type TeamMembersMember struct {
	// The role of the user within the team.
	// Must be one of `member` or `maintainer`. Defaults to `member`.
	Role *string `pulumi:"role"`
	// The user to add to the team.
	Username string `pulumi:"username"`
}

type TeamMembersMemberArgs

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

func (TeamMembersMemberArgs) ElementType() reflect.Type

func (TeamMembersMemberArgs) ToTeamMembersMemberOutput

func (i TeamMembersMemberArgs) ToTeamMembersMemberOutput() TeamMembersMemberOutput

func (TeamMembersMemberArgs) ToTeamMembersMemberOutputWithContext

func (i TeamMembersMemberArgs) ToTeamMembersMemberOutputWithContext(ctx context.Context) TeamMembersMemberOutput

type TeamMembersMemberArray

type TeamMembersMemberArray []TeamMembersMemberInput

func (TeamMembersMemberArray) ElementType

func (TeamMembersMemberArray) ElementType() reflect.Type

func (TeamMembersMemberArray) ToTeamMembersMemberArrayOutput

func (i TeamMembersMemberArray) ToTeamMembersMemberArrayOutput() TeamMembersMemberArrayOutput

func (TeamMembersMemberArray) ToTeamMembersMemberArrayOutputWithContext

func (i TeamMembersMemberArray) ToTeamMembersMemberArrayOutputWithContext(ctx context.Context) TeamMembersMemberArrayOutput

type TeamMembersMemberArrayInput

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

type TeamMembersMemberArrayOutput struct{ *pulumi.OutputState }

func (TeamMembersMemberArrayOutput) ElementType

func (TeamMembersMemberArrayOutput) Index

func (TeamMembersMemberArrayOutput) ToTeamMembersMemberArrayOutput

func (o TeamMembersMemberArrayOutput) ToTeamMembersMemberArrayOutput() TeamMembersMemberArrayOutput

func (TeamMembersMemberArrayOutput) ToTeamMembersMemberArrayOutputWithContext

func (o TeamMembersMemberArrayOutput) ToTeamMembersMemberArrayOutputWithContext(ctx context.Context) TeamMembersMemberArrayOutput

type TeamMembersMemberInput

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

type TeamMembersMemberOutput struct{ *pulumi.OutputState }

func (TeamMembersMemberOutput) ElementType

func (TeamMembersMemberOutput) ElementType() reflect.Type

func (TeamMembersMemberOutput) Role

The role of the user within the team. Must be one of `member` or `maintainer`. Defaults to `member`.

func (TeamMembersMemberOutput) ToTeamMembersMemberOutput

func (o TeamMembersMemberOutput) ToTeamMembersMemberOutput() TeamMembersMemberOutput

func (TeamMembersMemberOutput) ToTeamMembersMemberOutputWithContext

func (o TeamMembersMemberOutput) ToTeamMembersMemberOutputWithContext(ctx context.Context) TeamMembersMemberOutput

func (TeamMembersMemberOutput) Username

The user to add to the team.

type TeamMembersOutput

type TeamMembersOutput struct{ *pulumi.OutputState }

func (TeamMembersOutput) ElementType

func (TeamMembersOutput) ElementType() reflect.Type

func (TeamMembersOutput) Members

List of team members. See Members below for details.

func (TeamMembersOutput) TeamId

The team id or the team slug

> **Note** Although the team id or team slug can be used it is recommended to use the team id. Using the team slug will cause the team members associations to the team to be destroyed and recreated if the team name is updated.

func (TeamMembersOutput) ToTeamMembersOutput

func (o TeamMembersOutput) ToTeamMembersOutput() TeamMembersOutput

func (TeamMembersOutput) ToTeamMembersOutputWithContext

func (o TeamMembersOutput) ToTeamMembersOutputWithContext(ctx context.Context) TeamMembersOutput

type TeamMembersState

type TeamMembersState struct {
	// List of team members. See Members below for details.
	Members TeamMembersMemberArrayInput
	// The team id or the team slug
	//
	// > **Note** Although the team id or team slug can be used it is recommended to use the team id.  Using the team slug will cause the team members associations to the team to be destroyed and recreated if the team name is updated.
	TeamId pulumi.StringPtrInput
}

func (TeamMembersState) ElementType

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 or the GitHub team slug
	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`.

> **Note** Organization owners may not be set as "members" of a team; they may only be set as "maintainers". Attempting to set organization an owner to "member" of a may result in a `pulumi preview` diff that changes their status back to "maintainer".

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Add a user to the organization
		_, 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
	})
}

``` <!--End PulumiCodeChooser -->

## Import

GitHub Team Membership can be imported using an ID made up of `teamid:username` or `teamname:username`, e.g.

```sh $ pulumi import github:index/teamMembership:TeamMembership member 1234567:someuser ```

```sh $ pulumi import github:index/teamMembership:TeamMembership member Administrators: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 or the GitHub team slug
	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 (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 (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

func (TeamMembershipOutput) Role

The role of the user within the team. Must be one of `member` or `maintainer`. Defaults to `member`.

func (TeamMembershipOutput) TeamId

The GitHub team id or the GitHub team slug

func (TeamMembershipOutput) ToTeamMembershipOutput

func (o TeamMembershipOutput) ToTeamMembershipOutput() TeamMembershipOutput

func (TeamMembershipOutput) ToTeamMembershipOutputWithContext

func (o TeamMembershipOutput) ToTeamMembershipOutputWithContext(ctx context.Context) TeamMembershipOutput

func (TeamMembershipOutput) Username

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 or the GitHub team slug
	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

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

func (o TeamOutput) Description() pulumi.StringPtrOutput

A description of the team.

func (TeamOutput) ElementType

func (TeamOutput) ElementType() reflect.Type

func (TeamOutput) Etag

func (o TeamOutput) Etag() pulumi.StringOutput

func (TeamOutput) LdapDn

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

func (o TeamOutput) MembersCount() pulumi.IntOutput

func (TeamOutput) Name

func (o TeamOutput) Name() pulumi.StringOutput

The name of the team.

func (TeamOutput) NodeId

func (o TeamOutput) NodeId() pulumi.StringOutput

The Node ID of the created team.

func (TeamOutput) ParentTeamId

func (o TeamOutput) ParentTeamId() pulumi.StringPtrOutput

The ID or slug of the parent team, if this is a nested team.

func (TeamOutput) ParentTeamReadId

func (o TeamOutput) ParentTeamReadId() pulumi.StringOutput

The id of the parent team read in Github.

func (TeamOutput) ParentTeamReadSlug

func (o TeamOutput) ParentTeamReadSlug() pulumi.StringOutput

The id of the parent team read in Github.

func (TeamOutput) Privacy

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

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"`
}

> Note: TeamRepository cannot be used in conjunction with RepositoryCollaborators or they will fight over what your policy should be.

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`.

This resource is non-authoritative, for managing ALL collaborators of a repo, use RepositoryCollaborators instead.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Add a repository to the team
		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
	})
}

``` <!--End PulumiCodeChooser -->

## Import

GitHub Team Repository can be imported using an ID made up of `team_id:repository` or `team_name:repository`, e.g.

```sh $ pulumi import github:index/teamRepository:TeamRepository terraform_repo 1234567:terraform ```

```sh $ pulumi import github:index/teamRepository:TeamRepository terraform_repo Administrators: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 (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 (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

func (TeamRepositoryOutput) Permission

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

func (o TeamRepositoryOutput) Repository() pulumi.StringOutput

The repository to add to the team.

func (TeamRepositoryOutput) TeamId

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 TeamSettings

type TeamSettings struct {
	pulumi.CustomResourceState

	// The settings for delegating code reviews to individuals on behalf of the team. If this block is present, even without any fields, then review request delegation will be enabled for the team. See GitHub Review Request Delegation below for details. See [GitHub's documentation](https://docs.github.com/en/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team#configuring-team-notifications) for more configuration details.
	ReviewRequestDelegation TeamSettingsReviewRequestDelegationPtrOutput `pulumi:"reviewRequestDelegation"`
	// The GitHub team id or the GitHub team slug
	TeamId pulumi.StringOutput `pulumi:"teamId"`
	// The slug of the Team within the Organization.
	TeamSlug pulumi.StringOutput `pulumi:"teamSlug"`
	// The unique ID of the Team on GitHub. Corresponds to the ID of the 'github_team_settings' resource.
	TeamUid pulumi.StringOutput `pulumi:"teamUid"`
}

This resource manages the team settings (in particular the request review delegation settings) within the organization

Creating this resource will alter the team Code Review settings.

The team must both belong to the same organization configured in the provider on GitHub.

> **Note**: This resource relies on the v4 GraphQl GitHub API. If this API is not available, or the Stone Crop schema preview is not available, then this resource will not work as intended.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Add a repository to the team
		someTeam, err := github.NewTeam(ctx, "someTeam", &github.TeamArgs{
			Description: pulumi.String("Some cool team"),
		})
		if err != nil {
			return err
		}
		_, err = github.NewTeamSettings(ctx, "codeReviewSettings", &github.TeamSettingsArgs{
			TeamId: someTeam.ID(),
			ReviewRequestDelegation: &github.TeamSettingsReviewRequestDelegationArgs{
				Algorithm:   pulumi.String("ROUND_ROBIN"),
				MemberCount: pulumi.Int(1),
				Notify:      pulumi.Bool(true),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

GitHub Teams can be imported using the GitHub team ID, or the team slug e.g.

```sh $ pulumi import github:index/teamSettings:TeamSettings code_review_settings 1234567 ``` or,

```sh $ pulumi import github:index/teamSettings:TeamSettings code_review_settings SomeTeam ```

func GetTeamSettings

func GetTeamSettings(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TeamSettingsState, opts ...pulumi.ResourceOption) (*TeamSettings, error)

GetTeamSettings gets an existing TeamSettings 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 NewTeamSettings

func NewTeamSettings(ctx *pulumi.Context,
	name string, args *TeamSettingsArgs, opts ...pulumi.ResourceOption) (*TeamSettings, error)

NewTeamSettings registers a new resource with the given unique name, arguments, and options.

func (*TeamSettings) ElementType

func (*TeamSettings) ElementType() reflect.Type

func (*TeamSettings) ToTeamSettingsOutput

func (i *TeamSettings) ToTeamSettingsOutput() TeamSettingsOutput

func (*TeamSettings) ToTeamSettingsOutputWithContext

func (i *TeamSettings) ToTeamSettingsOutputWithContext(ctx context.Context) TeamSettingsOutput

type TeamSettingsArgs

type TeamSettingsArgs struct {
	// The settings for delegating code reviews to individuals on behalf of the team. If this block is present, even without any fields, then review request delegation will be enabled for the team. See GitHub Review Request Delegation below for details. See [GitHub's documentation](https://docs.github.com/en/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team#configuring-team-notifications) for more configuration details.
	ReviewRequestDelegation TeamSettingsReviewRequestDelegationPtrInput
	// The GitHub team id or the GitHub team slug
	TeamId pulumi.StringInput
}

The set of arguments for constructing a TeamSettings resource.

func (TeamSettingsArgs) ElementType

func (TeamSettingsArgs) ElementType() reflect.Type

type TeamSettingsArray

type TeamSettingsArray []TeamSettingsInput

func (TeamSettingsArray) ElementType

func (TeamSettingsArray) ElementType() reflect.Type

func (TeamSettingsArray) ToTeamSettingsArrayOutput

func (i TeamSettingsArray) ToTeamSettingsArrayOutput() TeamSettingsArrayOutput

func (TeamSettingsArray) ToTeamSettingsArrayOutputWithContext

func (i TeamSettingsArray) ToTeamSettingsArrayOutputWithContext(ctx context.Context) TeamSettingsArrayOutput

type TeamSettingsArrayInput

type TeamSettingsArrayInput interface {
	pulumi.Input

	ToTeamSettingsArrayOutput() TeamSettingsArrayOutput
	ToTeamSettingsArrayOutputWithContext(context.Context) TeamSettingsArrayOutput
}

TeamSettingsArrayInput is an input type that accepts TeamSettingsArray and TeamSettingsArrayOutput values. You can construct a concrete instance of `TeamSettingsArrayInput` via:

TeamSettingsArray{ TeamSettingsArgs{...} }

type TeamSettingsArrayOutput

type TeamSettingsArrayOutput struct{ *pulumi.OutputState }

func (TeamSettingsArrayOutput) ElementType

func (TeamSettingsArrayOutput) ElementType() reflect.Type

func (TeamSettingsArrayOutput) Index

func (TeamSettingsArrayOutput) ToTeamSettingsArrayOutput

func (o TeamSettingsArrayOutput) ToTeamSettingsArrayOutput() TeamSettingsArrayOutput

func (TeamSettingsArrayOutput) ToTeamSettingsArrayOutputWithContext

func (o TeamSettingsArrayOutput) ToTeamSettingsArrayOutputWithContext(ctx context.Context) TeamSettingsArrayOutput

type TeamSettingsInput

type TeamSettingsInput interface {
	pulumi.Input

	ToTeamSettingsOutput() TeamSettingsOutput
	ToTeamSettingsOutputWithContext(ctx context.Context) TeamSettingsOutput
}

type TeamSettingsMap

type TeamSettingsMap map[string]TeamSettingsInput

func (TeamSettingsMap) ElementType

func (TeamSettingsMap) ElementType() reflect.Type

func (TeamSettingsMap) ToTeamSettingsMapOutput

func (i TeamSettingsMap) ToTeamSettingsMapOutput() TeamSettingsMapOutput

func (TeamSettingsMap) ToTeamSettingsMapOutputWithContext

func (i TeamSettingsMap) ToTeamSettingsMapOutputWithContext(ctx context.Context) TeamSettingsMapOutput

type TeamSettingsMapInput

type TeamSettingsMapInput interface {
	pulumi.Input

	ToTeamSettingsMapOutput() TeamSettingsMapOutput
	ToTeamSettingsMapOutputWithContext(context.Context) TeamSettingsMapOutput
}

TeamSettingsMapInput is an input type that accepts TeamSettingsMap and TeamSettingsMapOutput values. You can construct a concrete instance of `TeamSettingsMapInput` via:

TeamSettingsMap{ "key": TeamSettingsArgs{...} }

type TeamSettingsMapOutput

type TeamSettingsMapOutput struct{ *pulumi.OutputState }

func (TeamSettingsMapOutput) ElementType

func (TeamSettingsMapOutput) ElementType() reflect.Type

func (TeamSettingsMapOutput) MapIndex

func (TeamSettingsMapOutput) ToTeamSettingsMapOutput

func (o TeamSettingsMapOutput) ToTeamSettingsMapOutput() TeamSettingsMapOutput

func (TeamSettingsMapOutput) ToTeamSettingsMapOutputWithContext

func (o TeamSettingsMapOutput) ToTeamSettingsMapOutputWithContext(ctx context.Context) TeamSettingsMapOutput

type TeamSettingsOutput

type TeamSettingsOutput struct{ *pulumi.OutputState }

func (TeamSettingsOutput) ElementType

func (TeamSettingsOutput) ElementType() reflect.Type

func (TeamSettingsOutput) ReviewRequestDelegation

The settings for delegating code reviews to individuals on behalf of the team. If this block is present, even without any fields, then review request delegation will be enabled for the team. See GitHub Review Request Delegation below for details. See [GitHub's documentation](https://docs.github.com/en/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team#configuring-team-notifications) for more configuration details.

func (TeamSettingsOutput) TeamId

The GitHub team id or the GitHub team slug

func (TeamSettingsOutput) TeamSlug

func (o TeamSettingsOutput) TeamSlug() pulumi.StringOutput

The slug of the Team within the Organization.

func (TeamSettingsOutput) TeamUid

The unique ID of the Team on GitHub. Corresponds to the ID of the 'github_team_settings' resource.

func (TeamSettingsOutput) ToTeamSettingsOutput

func (o TeamSettingsOutput) ToTeamSettingsOutput() TeamSettingsOutput

func (TeamSettingsOutput) ToTeamSettingsOutputWithContext

func (o TeamSettingsOutput) ToTeamSettingsOutputWithContext(ctx context.Context) TeamSettingsOutput

type TeamSettingsReviewRequestDelegation

type TeamSettingsReviewRequestDelegation struct {
	// The algorithm to use when assigning pull requests to team members. Supported values are `ROUND_ROBIN` and `LOAD_BALANCE`. Default value is `ROUND_ROBIN`
	Algorithm *string `pulumi:"algorithm"`
	// The number of team members to assign to a pull request
	MemberCount *int `pulumi:"memberCount"`
	// whether to notify the entire team when at least one member is also assigned to the pull request
	Notify *bool `pulumi:"notify"`
}

type TeamSettingsReviewRequestDelegationArgs

type TeamSettingsReviewRequestDelegationArgs struct {
	// The algorithm to use when assigning pull requests to team members. Supported values are `ROUND_ROBIN` and `LOAD_BALANCE`. Default value is `ROUND_ROBIN`
	Algorithm pulumi.StringPtrInput `pulumi:"algorithm"`
	// The number of team members to assign to a pull request
	MemberCount pulumi.IntPtrInput `pulumi:"memberCount"`
	// whether to notify the entire team when at least one member is also assigned to the pull request
	Notify pulumi.BoolPtrInput `pulumi:"notify"`
}

func (TeamSettingsReviewRequestDelegationArgs) ElementType

func (TeamSettingsReviewRequestDelegationArgs) ToTeamSettingsReviewRequestDelegationOutput

func (i TeamSettingsReviewRequestDelegationArgs) ToTeamSettingsReviewRequestDelegationOutput() TeamSettingsReviewRequestDelegationOutput

func (TeamSettingsReviewRequestDelegationArgs) ToTeamSettingsReviewRequestDelegationOutputWithContext

func (i TeamSettingsReviewRequestDelegationArgs) ToTeamSettingsReviewRequestDelegationOutputWithContext(ctx context.Context) TeamSettingsReviewRequestDelegationOutput

func (TeamSettingsReviewRequestDelegationArgs) ToTeamSettingsReviewRequestDelegationPtrOutput

func (i TeamSettingsReviewRequestDelegationArgs) ToTeamSettingsReviewRequestDelegationPtrOutput() TeamSettingsReviewRequestDelegationPtrOutput

func (TeamSettingsReviewRequestDelegationArgs) ToTeamSettingsReviewRequestDelegationPtrOutputWithContext

func (i TeamSettingsReviewRequestDelegationArgs) ToTeamSettingsReviewRequestDelegationPtrOutputWithContext(ctx context.Context) TeamSettingsReviewRequestDelegationPtrOutput

type TeamSettingsReviewRequestDelegationInput

type TeamSettingsReviewRequestDelegationInput interface {
	pulumi.Input

	ToTeamSettingsReviewRequestDelegationOutput() TeamSettingsReviewRequestDelegationOutput
	ToTeamSettingsReviewRequestDelegationOutputWithContext(context.Context) TeamSettingsReviewRequestDelegationOutput
}

TeamSettingsReviewRequestDelegationInput is an input type that accepts TeamSettingsReviewRequestDelegationArgs and TeamSettingsReviewRequestDelegationOutput values. You can construct a concrete instance of `TeamSettingsReviewRequestDelegationInput` via:

TeamSettingsReviewRequestDelegationArgs{...}

type TeamSettingsReviewRequestDelegationOutput

type TeamSettingsReviewRequestDelegationOutput struct{ *pulumi.OutputState }

func (TeamSettingsReviewRequestDelegationOutput) Algorithm

The algorithm to use when assigning pull requests to team members. Supported values are `ROUND_ROBIN` and `LOAD_BALANCE`. Default value is `ROUND_ROBIN`

func (TeamSettingsReviewRequestDelegationOutput) ElementType

func (TeamSettingsReviewRequestDelegationOutput) MemberCount

The number of team members to assign to a pull request

func (TeamSettingsReviewRequestDelegationOutput) Notify

whether to notify the entire team when at least one member is also assigned to the pull request

func (TeamSettingsReviewRequestDelegationOutput) ToTeamSettingsReviewRequestDelegationOutput

func (o TeamSettingsReviewRequestDelegationOutput) ToTeamSettingsReviewRequestDelegationOutput() TeamSettingsReviewRequestDelegationOutput

func (TeamSettingsReviewRequestDelegationOutput) ToTeamSettingsReviewRequestDelegationOutputWithContext

func (o TeamSettingsReviewRequestDelegationOutput) ToTeamSettingsReviewRequestDelegationOutputWithContext(ctx context.Context) TeamSettingsReviewRequestDelegationOutput

func (TeamSettingsReviewRequestDelegationOutput) ToTeamSettingsReviewRequestDelegationPtrOutput

func (o TeamSettingsReviewRequestDelegationOutput) ToTeamSettingsReviewRequestDelegationPtrOutput() TeamSettingsReviewRequestDelegationPtrOutput

func (TeamSettingsReviewRequestDelegationOutput) ToTeamSettingsReviewRequestDelegationPtrOutputWithContext

func (o TeamSettingsReviewRequestDelegationOutput) ToTeamSettingsReviewRequestDelegationPtrOutputWithContext(ctx context.Context) TeamSettingsReviewRequestDelegationPtrOutput

type TeamSettingsReviewRequestDelegationPtrInput

type TeamSettingsReviewRequestDelegationPtrInput interface {
	pulumi.Input

	ToTeamSettingsReviewRequestDelegationPtrOutput() TeamSettingsReviewRequestDelegationPtrOutput
	ToTeamSettingsReviewRequestDelegationPtrOutputWithContext(context.Context) TeamSettingsReviewRequestDelegationPtrOutput
}

TeamSettingsReviewRequestDelegationPtrInput is an input type that accepts TeamSettingsReviewRequestDelegationArgs, TeamSettingsReviewRequestDelegationPtr and TeamSettingsReviewRequestDelegationPtrOutput values. You can construct a concrete instance of `TeamSettingsReviewRequestDelegationPtrInput` via:

        TeamSettingsReviewRequestDelegationArgs{...}

or:

        nil

type TeamSettingsReviewRequestDelegationPtrOutput

type TeamSettingsReviewRequestDelegationPtrOutput struct{ *pulumi.OutputState }

func (TeamSettingsReviewRequestDelegationPtrOutput) Algorithm

The algorithm to use when assigning pull requests to team members. Supported values are `ROUND_ROBIN` and `LOAD_BALANCE`. Default value is `ROUND_ROBIN`

func (TeamSettingsReviewRequestDelegationPtrOutput) Elem

func (TeamSettingsReviewRequestDelegationPtrOutput) ElementType

func (TeamSettingsReviewRequestDelegationPtrOutput) MemberCount

The number of team members to assign to a pull request

func (TeamSettingsReviewRequestDelegationPtrOutput) Notify

whether to notify the entire team when at least one member is also assigned to the pull request

func (TeamSettingsReviewRequestDelegationPtrOutput) ToTeamSettingsReviewRequestDelegationPtrOutput

func (o TeamSettingsReviewRequestDelegationPtrOutput) ToTeamSettingsReviewRequestDelegationPtrOutput() TeamSettingsReviewRequestDelegationPtrOutput

func (TeamSettingsReviewRequestDelegationPtrOutput) ToTeamSettingsReviewRequestDelegationPtrOutputWithContext

func (o TeamSettingsReviewRequestDelegationPtrOutput) ToTeamSettingsReviewRequestDelegationPtrOutputWithContext(ctx context.Context) TeamSettingsReviewRequestDelegationPtrOutput

type TeamSettingsState

type TeamSettingsState struct {
	// The settings for delegating code reviews to individuals on behalf of the team. If this block is present, even without any fields, then review request delegation will be enabled for the team. See GitHub Review Request Delegation below for details. See [GitHub's documentation](https://docs.github.com/en/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team#configuring-team-notifications) for more configuration details.
	ReviewRequestDelegation TeamSettingsReviewRequestDelegationPtrInput
	// The GitHub team id or the GitHub team slug
	TeamId pulumi.StringPtrInput
	// The slug of the Team within the Organization.
	TeamSlug pulumi.StringPtrInput
	// The unique ID of the Team on GitHub. Corresponds to the ID of the 'github_team_settings' resource.
	TeamUid pulumi.StringPtrInput
}

func (TeamSettingsState) ElementType

func (TeamSettingsState) 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 or slug of the parent team, if this is a nested team.
	ParentTeamId pulumi.StringPtrInput
	// The id of the parent team read in Github.
	ParentTeamReadId pulumi.StringPtrInput
	// The id of the parent team read in Github.
	ParentTeamReadSlug pulumi.StringPtrInput
	// 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

func (TeamState) ElementType() reflect.Type

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.
	// ***
	//
	// The `group` block consists of:
	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.
	// ***
	//
	// The `group` block consists of:
	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) Index

func (TeamSyncGroupMappingArrayOutput) ToTeamSyncGroupMappingArrayOutput

func (o TeamSyncGroupMappingArrayOutput) ToTeamSyncGroupMappingArrayOutput() TeamSyncGroupMappingArrayOutput

func (TeamSyncGroupMappingArrayOutput) ToTeamSyncGroupMappingArrayOutputWithContext

func (o TeamSyncGroupMappingArrayOutput) ToTeamSyncGroupMappingArrayOutputWithContext(ctx context.Context) TeamSyncGroupMappingArrayOutput

type TeamSyncGroupMappingGroup

type TeamSyncGroupMappingGroup struct {
	// The description of the IdP group.
	GroupDescription string `pulumi:"groupDescription"`
	// The ID of the IdP group.
	GroupId string `pulumi:"groupId"`
	// The name of the IdP group.
	GroupName string `pulumi:"groupName"`
}

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) 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) 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) Index

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) GroupDescription

The description of the IdP group.

func (TeamSyncGroupMappingGroupOutput) GroupId

The ID of the IdP group.

func (TeamSyncGroupMappingGroupOutput) GroupName

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) MapIndex

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

func (TeamSyncGroupMappingOutput) Groups

An Array of GitHub Identity Provider Groups (or empty []). Each `group` block consists of the fields documented below. ***

The `group` block consists of:

func (TeamSyncGroupMappingOutput) TeamSlug

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.
	// ***
	//
	// The `group` block consists of:
	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

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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("-----BEGIN PGP PUBLIC KEY BLOCK-----\n...\n-----END PGP PUBLIC KEY BLOCK-----\n"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## 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 (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 (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

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

func (UserGpgKeyOutput) KeyId

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

	// Allow the ID to be unset. This will result in the resource being skipped when the ID is not set instead of returning an error.
	AllowEmptyId pulumi.BoolPtrOutput `pulumi:"allowEmptyId"`
	// ID of the invitation to accept. Must be set when `allowEmptyId` is `false`.
	InvitationId pulumi.StringPtrOutput `pulumi:"invitationId"`
}

Provides a resource to manage GitHub repository collaborator invitations.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-github/sdk/v6/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
	})
}

``` <!--End PulumiCodeChooser -->

## Allowing empty invitation IDs

Set `allowEmptyId` when using `forEach` over a list of `github_repository_collaborator.invitation_id`'s.

This allows applying a module again when a new `RepositoryCollaborator` resource is added to the `forEach` loop. This is needed as the `github_repository_collaborator.invitation_id` will be empty after a state refresh when the invitation has been accepted.

Note that when an invitation is accepted manually or by another tool between a state refresh and a `pulumi up` using that refreshed state, the plan will contain the invitation ID, but the apply will receive an HTTP 404 from the API since the invitation has already been accepted.

This is tracked in #1157.

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 {
	// Allow the ID to be unset. This will result in the resource being skipped when the ID is not set instead of returning an error.
	AllowEmptyId pulumi.BoolPtrInput
	// ID of the invitation to accept. Must be set when `allowEmptyId` is `false`.
	InvitationId pulumi.StringPtrInput
}

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) 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) Index

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) MapIndex

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) AllowEmptyId

Allow the ID to be unset. This will result in the resource being skipped when the ID is not set instead of returning an error.

func (UserInvitationAccepterOutput) ElementType

func (UserInvitationAccepterOutput) InvitationId

ID of the invitation to accept. Must be set when `allowEmptyId` is `false`.

func (UserInvitationAccepterOutput) ToUserInvitationAccepterOutput

func (o UserInvitationAccepterOutput) ToUserInvitationAccepterOutput() UserInvitationAccepterOutput

func (UserInvitationAccepterOutput) ToUserInvitationAccepterOutputWithContext

func (o UserInvitationAccepterOutput) ToUserInvitationAccepterOutputWithContext(ctx context.Context) UserInvitationAccepterOutput

type UserInvitationAccepterState

type UserInvitationAccepterState struct {
	// Allow the ID to be unset. This will result in the resource being skipped when the ID is not set instead of returning an error.
	AllowEmptyId pulumi.BoolPtrInput
	// ID of the invitation to accept. Must be set when `allowEmptyId` is `false`.
	InvitationId pulumi.StringPtrInput
}

func (UserInvitationAccepterState) ElementType

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

<!--Start PulumiCodeChooser --> ```go package main

import (

"os"

"github.com/pulumi/pulumi-github/sdk/v6/go/github"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := os.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
	})
}

``` <!--End PulumiCodeChooser -->

## 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 (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 (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

func (UserSshKeyOutput) Key

The public SSH key to add to your GitHub account.

func (UserSshKeyOutput) Title

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL