Class BranchState
Inherited Members
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 BranchState : ResourceArgs
Constructors
View SourceBranchState()
Declaration
public BranchState()
Properties
View SourceBranchName
The repository branch to create.
Declaration
public Input<string> BranchName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Etag
An etag representing the Branch object.
Declaration
public Input<string> Etag { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Ref
A string representing a branch reference, in the form of refs/heads/<branch>.
Declaration
public Input<string> Ref { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Repository
The GitHub repository name.
Declaration
public Input<string> Repository { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Sha
A string storing the reference's HEAD commit's SHA1.
Declaration
public Input<string> Sha { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceBranch
The branch name to start from. Defaults to master.
Declaration
public Input<string> SourceBranch { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceSha
The commit hash to start from. Defaults to the tip of source_branch. If provided, source_branch is ignored.
Declaration
public Input<string> SourceSha { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |