1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getRepoWebhook
Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi

harness.platform.getRepoWebhook

Explore with Pulumi AI

harness logo
Harness v0.4.4 published on Tuesday, Nov 12, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: harness:platform/getRepoWebhook:getRepoWebhook
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Enabled bool
    Webhook enabled.
    Identifier string
    Identifier of the webhook.
    Insecure bool
    Allow insecure connections for provided webhook URL.
    RepoIdentifier string
    Identifier of the repository.
    Url string
    URL that's called by the webhook.
    Description string
    Description of the webhook.
    OrgId string
    Unique identifier of the organization.
    ProjectId 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.
    RepoIdentifier string
    Identifier of the repository.
    Url string
    URL that's called by the webhook.
    Description string
    Description of the webhook.
    OrgId string
    Unique identifier of the organization.
    ProjectId 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.
    repoIdentifier String
    Identifier of the repository.
    url String
    URL that's called by the webhook.
    description String
    Description of the webhook.
    orgId String
    Unique identifier of the organization.
    projectId 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.
    repoIdentifier string
    Identifier of the repository.
    url string
    URL that's called by the webhook.
    description string
    Description of the webhook.
    orgId string
    Unique identifier of the organization.
    projectId 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.
    repoIdentifier String
    Identifier of the repository.
    url String
    URL that's called by the webhook.
    description String
    Description of the webhook.
    orgId String
    Unique identifier of the organization.
    projectId 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.
    CreatedBy int
    ID of the user who created the webhook.
    Enabled bool
    Webhook enabled.
    HasSecret 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.
    RepoIdentifier string
    Identifier of the repository.
    Url string
    URL that's called by the webhook.
    Description string
    Description of the webhook.
    OrgId string
    Unique identifier of the organization.
    ProjectId 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.
    CreatedBy int
    ID of the user who created the webhook.
    Enabled bool
    Webhook enabled.
    HasSecret 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.
    RepoIdentifier string
    Identifier of the repository.
    Url string
    URL that's called by the webhook.
    Description string
    Description of the webhook.
    OrgId string
    Unique identifier of the organization.
    ProjectId 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.
    createdBy Integer
    ID of the user who created the webhook.
    enabled Boolean
    Webhook enabled.
    hasSecret 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.
    repoIdentifier String
    Identifier of the repository.
    url String
    URL that's called by the webhook.
    description String
    Description of the webhook.
    orgId String
    Unique identifier of the organization.
    projectId 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.
    createdBy number
    ID of the user who created the webhook.
    enabled boolean
    Webhook enabled.
    hasSecret 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.
    repoIdentifier string
    Identifier of the repository.
    url string
    URL that's called by the webhook.
    description string
    Description of the webhook.
    orgId string
    Unique identifier of the organization.
    projectId 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.
    createdBy Number
    ID of the user who created the webhook.
    enabled Boolean
    Webhook enabled.
    hasSecret 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.
    repoIdentifier String
    Identifier of the repository.
    url String
    URL that's called by the webhook.
    description String
    Description of the webhook.
    orgId String
    Unique identifier of the organization.
    projectId 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 harness Terraform Provider.
    harness logo
    Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi