HookState class

Input properties used for looking up and filtering Hook resources.

Constructors

HookState({Input<String?>? createTime, Input<String?>? deletionPolicy, Input<bool?>? disabled, Input<List<String>?>? events, Input<String?>? hookId, Input<String?>? location, Input<String?>? name, Input<String?>? project, Input<HookPushOption?>? pushOption, Input<String?>? repositoryId, Input<String?>? sensitiveQueryString, Input<String?>? targetUri, Input<String?>? uid, Input<String?>? updateTime})
Creates a new HookState. createTime Create timestamp. 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. name A unique identifier for a Hook. The name should be of the format: 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. uid Unique identifier of the hook. updateTime Update timestamp.
const
HookState.fromMap(Map<String, dynamic> map)
factory

Properties

createTime → Input<String?>?
Create timestamp.
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 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
name → Input<String?>?
A unique identifier for a Hook. The name should be of the format: projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}
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
uid → Input<String?>?
Unique identifier of the hook.
final
updateTime → Input<String?>?
Update timestamp.
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