BranchRuleArgs class

The set of arguments for BranchRule. The set of arguments for BranchRule.

Constructors

BranchRuleArgs({Input<bool?>? allowStaleReviews, required Input<String> branchRuleId, Input<String?>? deletionPolicy, Input<bool?>? disabled, required Input<String> includePattern, required Input<String> location, Input<int?>? minimumApprovalsCount, Input<int?>? minimumReviewsCount, Input<String?>? project, required Input<String> repositoryId, Input<bool?>? requireCommentsResolved, Input<bool?>? requireLinearHistory, Input<bool?>? requirePullRequest})
Creates a new BranchRuleArgs. allowStaleReviews Determines if allow stale reviews or approvals before merging to the branch. branchRuleId The ID for the BranchRule. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. disabled Determines if the branch rule is disabled or not. includePattern The BranchRule matches branches based on the specified regular expression. Use .* to match all branches. location The location for the Repository. minimumApprovalsCount The minimum number of approvals required for the branch rule to be matched. minimumReviewsCount The minimum number of reviews required for the branch rule to be matched. project The ID of the project in which the resource belongs. repositoryId The ID for the Repository. requireCommentsResolved Determines if require comments resolved before merging to the branch. requireLinearHistory Determines if require linear history before merging to the branch. requirePullRequest Determines if the branch rule requires a pull request or not.
const
BranchRuleArgs.fromMap(Map<String, dynamic> map)
factory

Properties

allowStaleReviews → Input<bool?>?
Determines if allow stale reviews or approvals before merging to the branch.
final
branchRuleId → Input<String>
The ID for the BranchRule.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
disabled → Input<bool?>?
Determines if the branch rule is disabled or not.
final
hashCode → int
The hash code for this object.
no setterinherited
includePattern → Input<String>
The BranchRule matches branches based on the specified regular expression. Use .* to match all branches.
final
location → Input<String>
The location for the Repository.
final
minimumApprovalsCount → Input<int?>?
The minimum number of approvals required for the branch rule to be matched.
final
minimumReviewsCount → Input<int?>?
The minimum number of reviews required for the branch rule to be matched.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
repositoryId → Input<String>
The ID for the Repository.
final
requireCommentsResolved → Input<bool?>?
Determines if require comments resolved before merging to the branch.
final
requireLinearHistory → Input<bool?>?
Determines if require linear history before merging to the branch.
final
requirePullRequest → Input<bool?>?
Determines if the branch rule requires a pull request or not.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited