Class RepositoryArgs
Inherited Members
Namespace: Pulumi.Github
Assembly: Pulumi.Github.dll
Syntax
public sealed class RepositoryArgs : ResourceArgs
Constructors
View SourceRepositoryArgs()
Declaration
public RepositoryArgs()
Properties
View SourceAllowMergeCommit
Set to false to disable merge commits on the repository.
Declaration
public Input<bool> AllowMergeCommit { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
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> |
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> |
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> |
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> |
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> |
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> |
Description
A description of the repository.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |
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> |
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> |
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> |
HomepageUrl
URL of a page describing the project.
Declaration
public Input<string> HomepageUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |
Name
The name of the repository.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
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> |
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> |
Topics
The list of topics of the repository.
Declaration
public InputList<string> Topics { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |