HookArgs class

The set of arguments for Hook. The set of arguments for Hook.

Constructors

HookArgs({Input<String?>? deletionPolicy, Input<bool?>? disabled, Input<List<String>?>? events, required Input<String> hookId, required Input<String> location, Input<String?>? project, Input<HookPushOption?>? pushOption, required Input<String> repositoryId, Input<String?>? sensitiveQueryString, required Input<String> targetUri})
Creates a new HookArgs. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. disabled Determines if the hook disabled or not. events The events that trigger hook on. hookId The ID for the Hook. location The location for the Repository. project The ID of the project in which the resource belongs. pushOption The trigger option for push events. repositoryId The ID for the Repository. sensitiveQueryString The sensitive query string to be appended to the target URI. targetUri The target URI to which the payloads will be delivered.
const
HookArgs.fromMap(Map<String, dynamic> map)
factory

Properties

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 hook disabled or not. Set to true to stop sending traffic.
final
events → Input<List<String>?>?
The events that trigger hook on. Each value may be one of: PUSH, PULL_REQUEST, PULL_REQUEST_COMMENT.
final
hashCode → int
The hash code for this object.
no setterinherited
hookId → Input<String>
The ID for the Hook.
final
location → Input<String>
The location for the Repository.
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
pushOption → Input<HookPushOption?>?
The trigger option for push events. Structure is documented below.
final
repositoryId → Input<String>
The ID for the Repository.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sensitiveQueryString → Input<String?>?
The sensitive query string to be appended to the target URI. Note: This property is sensitive and will not be displayed in the plan.
final
targetUri → Input<String>
The target URI to which the payloads will be delivered.
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