Show / Hide Table of Contents

Class BranchProtectionState

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

Constructors

View Source

BranchProtectionState()

Declaration
public BranchProtectionState()

Properties

View Source

Branch

The Git branch to protect.

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

EnforceAdmins

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

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

Etag

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

Repository

The GitHub repository name.

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

RequiredPullRequestReviews

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

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

RequiredStatusChecks

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

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

RequireSignedCommits

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

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

Restrictions

Enforce restrictions for the users and teams that may push to the branch. See Restrictions below for details.

Declaration
public Input<BranchProtectionRestrictionsGetArgs> Restrictions { get; set; }
Property Value
Type Description
Input<BranchProtectionRestrictionsGetArgs>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.