Show / Hide Table of Contents

Class BranchProtectionArgs

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

Constructors

View Source

BranchProtectionArgs()

Declaration
public BranchProtectionArgs()

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

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<BranchProtectionRequiredPullRequestReviewsArgs> RequiredPullRequestReviews { get; set; }
Property Value
Type Description
Input<BranchProtectionRequiredPullRequestReviewsArgs>
View Source

RequiredStatusChecks

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

Declaration
public Input<BranchProtectionRequiredStatusChecksArgs> RequiredStatusChecks { get; set; }
Property Value
Type Description
Input<BranchProtectionRequiredStatusChecksArgs>
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<BranchProtectionRestrictionsArgs> Restrictions { get; set; }
Property Value
Type Description
Input<BranchProtectionRestrictionsArgs>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.