Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
Data source for retrieving a Harness Repo Webhook.
Using getRepoWebhook
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRepoWebhook(args: GetRepoWebhookArgs, opts?: InvokeOptions): Promise<GetRepoWebhookResult>
function getRepoWebhookOutput(args: GetRepoWebhookOutputArgs, opts?: InvokeOptions): Output<GetRepoWebhookResult>def get_repo_webhook(description: Optional[str] = None,
enabled: Optional[bool] = None,
identifier: Optional[str] = None,
insecure: Optional[bool] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
repo_identifier: Optional[str] = None,
secret: Optional[str] = None,
triggers: Optional[Sequence[str]] = None,
url: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRepoWebhookResult
def get_repo_webhook_output(description: Optional[pulumi.Input[str]] = None,
enabled: Optional[pulumi.Input[bool]] = None,
identifier: Optional[pulumi.Input[str]] = None,
insecure: Optional[pulumi.Input[bool]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
repo_identifier: Optional[pulumi.Input[str]] = None,
secret: Optional[pulumi.Input[str]] = None,
triggers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
url: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRepoWebhookResult]func LookupRepoWebhook(ctx *Context, args *LookupRepoWebhookArgs, opts ...InvokeOption) (*LookupRepoWebhookResult, error)
func LookupRepoWebhookOutput(ctx *Context, args *LookupRepoWebhookOutputArgs, opts ...InvokeOption) LookupRepoWebhookResultOutput> Note: This function is named LookupRepoWebhook in the Go SDK.
public static class GetRepoWebhook
{
public static Task<GetRepoWebhookResult> InvokeAsync(GetRepoWebhookArgs args, InvokeOptions? opts = null)
public static Output<GetRepoWebhookResult> Invoke(GetRepoWebhookInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRepoWebhookResult> getRepoWebhook(GetRepoWebhookArgs args, InvokeOptions options)
public static Output<GetRepoWebhookResult> getRepoWebhook(GetRepoWebhookArgs args, InvokeOptions options)
fn::invoke:
function: harness:platform/getRepoWebhook:getRepoWebhook
arguments:
# arguments dictionaryThe following arguments are supported:
- Enabled bool
- Webhook enabled.
- Identifier string
- Identifier of the webhook.
- Insecure bool
- Allow insecure connections for provided webhook URL.
- Repo
Identifier string - Identifier of the repository.
- Url string
- URL that's called by the webhook.
- Description string
- Description of the webhook.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Secret string
- Webhook secret which will be used to sign the webhook payload.
- Triggers List<string>
- List of triggers of the webhook (keep empty for all triggers).
- Enabled bool
- Webhook enabled.
- Identifier string
- Identifier of the webhook.
- Insecure bool
- Allow insecure connections for provided webhook URL.
- Repo
Identifier string - Identifier of the repository.
- Url string
- URL that's called by the webhook.
- Description string
- Description of the webhook.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Secret string
- Webhook secret which will be used to sign the webhook payload.
- Triggers []string
- List of triggers of the webhook (keep empty for all triggers).
- enabled Boolean
- Webhook enabled.
- identifier String
- Identifier of the webhook.
- insecure Boolean
- Allow insecure connections for provided webhook URL.
- repo
Identifier String - Identifier of the repository.
- url String
- URL that's called by the webhook.
- description String
- Description of the webhook.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- secret String
- Webhook secret which will be used to sign the webhook payload.
- triggers List<String>
- List of triggers of the webhook (keep empty for all triggers).
- enabled boolean
- Webhook enabled.
- identifier string
- Identifier of the webhook.
- insecure boolean
- Allow insecure connections for provided webhook URL.
- repo
Identifier string - Identifier of the repository.
- url string
- URL that's called by the webhook.
- description string
- Description of the webhook.
- org
Id string - Unique identifier of the organization.
- project
Id string - Unique identifier of the project.
- secret string
- Webhook secret which will be used to sign the webhook payload.
- triggers string[]
- List of triggers of the webhook (keep empty for all triggers).
- enabled bool
- Webhook enabled.
- identifier str
- Identifier of the webhook.
- insecure bool
- Allow insecure connections for provided webhook URL.
- repo_
identifier str - Identifier of the repository.
- url str
- URL that's called by the webhook.
- description str
- Description of the webhook.
- org_
id str - Unique identifier of the organization.
- project_
id str - Unique identifier of the project.
- secret str
- Webhook secret which will be used to sign the webhook payload.
- triggers Sequence[str]
- List of triggers of the webhook (keep empty for all triggers).
- enabled Boolean
- Webhook enabled.
- identifier String
- Identifier of the webhook.
- insecure Boolean
- Allow insecure connections for provided webhook URL.
- repo
Identifier String - Identifier of the repository.
- url String
- URL that's called by the webhook.
- description String
- Description of the webhook.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- secret String
- Webhook secret which will be used to sign the webhook payload.
- triggers List<String>
- List of triggers of the webhook (keep empty for all triggers).
getRepoWebhook Result
The following output properties are available:
- Created int
- Timestamp when the webhook was created.
- Created
By int - ID of the user who created the webhook.
- Enabled bool
- Webhook enabled.
- Has
Secret bool - Created webhook has secret encoding.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Identifier of the webhook.
- Insecure bool
- Allow insecure connections for provided webhook URL.
- Repo
Identifier string - Identifier of the repository.
- Url string
- URL that's called by the webhook.
- Description string
- Description of the webhook.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Secret string
- Webhook secret which will be used to sign the webhook payload.
- Triggers List<string>
- List of triggers of the webhook (keep empty for all triggers).
- Created int
- Timestamp when the webhook was created.
- Created
By int - ID of the user who created the webhook.
- Enabled bool
- Webhook enabled.
- Has
Secret bool - Created webhook has secret encoding.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Identifier of the webhook.
- Insecure bool
- Allow insecure connections for provided webhook URL.
- Repo
Identifier string - Identifier of the repository.
- Url string
- URL that's called by the webhook.
- Description string
- Description of the webhook.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Secret string
- Webhook secret which will be used to sign the webhook payload.
- Triggers []string
- List of triggers of the webhook (keep empty for all triggers).
- created Integer
- Timestamp when the webhook was created.
- created
By Integer - ID of the user who created the webhook.
- enabled Boolean
- Webhook enabled.
- has
Secret Boolean - Created webhook has secret encoding.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Identifier of the webhook.
- insecure Boolean
- Allow insecure connections for provided webhook URL.
- repo
Identifier String - Identifier of the repository.
- url String
- URL that's called by the webhook.
- description String
- Description of the webhook.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- secret String
- Webhook secret which will be used to sign the webhook payload.
- triggers List<String>
- List of triggers of the webhook (keep empty for all triggers).
- created number
- Timestamp when the webhook was created.
- created
By number - ID of the user who created the webhook.
- enabled boolean
- Webhook enabled.
- has
Secret boolean - Created webhook has secret encoding.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- Identifier of the webhook.
- insecure boolean
- Allow insecure connections for provided webhook URL.
- repo
Identifier string - Identifier of the repository.
- url string
- URL that's called by the webhook.
- description string
- Description of the webhook.
- org
Id string - Unique identifier of the organization.
- project
Id string - Unique identifier of the project.
- secret string
- Webhook secret which will be used to sign the webhook payload.
- triggers string[]
- List of triggers of the webhook (keep empty for all triggers).
- created int
- Timestamp when the webhook was created.
- created_
by int - ID of the user who created the webhook.
- enabled bool
- Webhook enabled.
- has_
secret bool - Created webhook has secret encoding.
- id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- Identifier of the webhook.
- insecure bool
- Allow insecure connections for provided webhook URL.
- repo_
identifier str - Identifier of the repository.
- url str
- URL that's called by the webhook.
- description str
- Description of the webhook.
- org_
id str - Unique identifier of the organization.
- project_
id str - Unique identifier of the project.
- secret str
- Webhook secret which will be used to sign the webhook payload.
- triggers Sequence[str]
- List of triggers of the webhook (keep empty for all triggers).
- created Number
- Timestamp when the webhook was created.
- created
By Number - ID of the user who created the webhook.
- enabled Boolean
- Webhook enabled.
- has
Secret Boolean - Created webhook has secret encoding.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Identifier of the webhook.
- insecure Boolean
- Allow insecure connections for provided webhook URL.
- repo
Identifier String - Identifier of the repository.
- url String
- URL that's called by the webhook.
- description String
- Description of the webhook.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- secret String
- Webhook secret which will be used to sign the webhook payload.
- triggers List<String>
- List of triggers of the webhook (keep empty for all triggers).
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
