Show / Hide Table of Contents

Class RepositoryArgs

Inheritance
System.Object
InputArgs
ResourceArgs
RepositoryArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Github
Assembly: Pulumi.Github.dll
Syntax
public sealed class RepositoryArgs : ResourceArgs

Constructors

View Source

RepositoryArgs()

Declaration
public RepositoryArgs()

Properties

View Source

AllowMergeCommit

Set to false to disable merge commits on the repository.

Declaration
public Input<bool> AllowMergeCommit { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

AllowRebaseMerge

Set to false to disable rebase merges on the repository.

Declaration
public Input<bool> AllowRebaseMerge { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

AllowSquashMerge

Set to false to disable squash merges on the repository.

Declaration
public Input<bool> AllowSquashMerge { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Archived

Specifies if the repository should be archived. Defaults to false. NOTE Currently, the API does not support unarchiving.

Declaration
public Input<bool> Archived { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

AutoInit

Set to true to produce an initial commit in the repository.

Declaration
public Input<bool> AutoInit { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

DefaultBranch

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.

Declaration
public Input<string> DefaultBranch { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DeleteBranchOnMerge

Automatically delete head branch after a pull request is merged. Defaults to false.

Declaration
public Input<bool> DeleteBranchOnMerge { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Description

A description of the repository.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

GitignoreTemplate

Use the name of the template without the extension. For example, "Haskell".

Declaration
public Input<string> GitignoreTemplate { get; set; }
Property Value
Type Description
Input<System.String>
View Source

HasDownloads

Set to true to enable the (deprecated) downloads features on the repository.

Declaration
public Input<bool> HasDownloads { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

HasIssues

Set to true to enable the GitHub Issues features on the repository.

Declaration
public Input<bool> HasIssues { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

HasProjects

Set to true to enable the GitHub Projects features on the repository. Per the GitHub documentation 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.

Declaration
public Input<bool> HasProjects { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

HasWiki

Set to true to enable the GitHub Wiki features on the repository.

Declaration
public Input<bool> HasWiki { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

HomepageUrl

URL of a page describing the project.

Declaration
public Input<string> HomepageUrl { get; set; }
Property Value
Type Description
Input<System.String>
View Source

IsTemplate

Set to true to tell GitHub that this is a template repository.

Declaration
public Input<bool> IsTemplate { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

LicenseTemplate

Use the name of the template without the extension. For example, "mit" or "mpl-2.0".

Declaration
public Input<string> LicenseTemplate { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Name

The name of the repository.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Private

Set to true to create a private repository. Repositories are created as public (e.g. open source) by default.

Declaration
public Input<bool> Private { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Template

Use a template repository to create this resource. See Template Repositories below for details.

Declaration
public Input<RepositoryTemplateArgs> Template { get; set; }
Property Value
Type Description
Input<RepositoryTemplateArgs>
View Source

Topics

The list of topics of the repository.

Declaration
public InputList<string> Topics { get; set; }
Property Value
Type Description
InputList<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.