Show / Hide Table of Contents

Class RepositoryState

Inheritance
System.Object
InputArgs
ResourceArgs
RepositoryState
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 RepositoryState : ResourceArgs

Constructors

View Source

RepositoryState()

Declaration
public RepositoryState()

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

Etag

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

FullName

A string of the form "orgname/reponame".

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

GitCloneUrl

URL that can be provided to git clone to clone the repository anonymously via the git protocol.

Declaration
public Input<string> GitCloneUrl { 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

HtmlUrl

URL to the repository on the web.

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

HttpCloneUrl

URL that can be provided to git clone to clone the repository via HTTPS.

Declaration
public Input<string> HttpCloneUrl { 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

NodeId

Declaration
public Input<string> NodeId { 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

SshCloneUrl

URL that can be provided to git clone to clone the repository via SSH.

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

SvnUrl

URL that can be provided to svn checkout to check out the repository via GitHub's Subversion protocol emulation.

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

Template

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

Declaration
public Input<RepositoryTemplateGetArgs> Template { get; set; }
Property Value
Type Description
Input<RepositoryTemplateGetArgs>
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.