BranchRuleState class
Input properties used for looking up and filtering BranchRule resources.
Constructors
-
BranchRuleState({Input<
bool?> ? allowStaleReviews, Input<String?> ? branchRuleId, Input<String?> ? createTime, Input<String?> ? deletionPolicy, Input<bool?> ? disabled, Input<String?> ? includePattern, Input<String?> ? location, Input<int?> ? minimumApprovalsCount, Input<int?> ? minimumReviewsCount, Input<String?> ? name, Input<String?> ? project, Input<String?> ? repositoryId, Input<bool?> ? requireCommentsResolved, Input<bool?> ? requireLinearHistory, Input<bool?> ? requirePullRequest, Input<String?> ? uid, Input<String?> ? updateTime}) -
Creates a new BranchRuleState.
allowStaleReviewsDetermines if allow stale reviews or approvals before merging to the branch.branchRuleIdThe ID for the BranchRule.createTimeTime the BranchRule was created in UTC.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.disabledDetermines if the branch rule is disabled or not.includePatternThe BranchRule matches branches based on the specified regular expression. Use .* to match all branches.locationThe location for the Repository.minimumApprovalsCountThe minimum number of approvals required for the branch rule to be matched.minimumReviewsCountThe minimum number of reviews required for the branch rule to be matched.nameThe resource name for the BranchRule.projectThe ID of the project in which the resource belongs.repositoryIdThe ID for the Repository.requireCommentsResolvedDetermines if require comments resolved before merging to the branch.requireLinearHistoryDetermines if require linear history before merging to the branch.requirePullRequestDetermines if the branch rule requires a pull request or not.uidUnique identifier of the BranchRule.updateTimeTime the BranchRule was updated in UTC.const -
BranchRuleState.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
-
createTime
→ Input<
String?> ? -
Time the BranchRule was created in UTC.
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
-
name
→ Input<
String?> ? -
The resource name for the BranchRule.
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
-
uid
→ Input<
String?> ? -
Unique identifier of the BranchRule.
final
-
updateTime
→ Input<
String?> ? -
Time the BranchRule was updated in UTC.
final
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