1. Packages
  2. Ibm Provider
  3. API Docs
  4. getLogsOutgoingWebhooks
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getLogsOutgoingWebhooks

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Provides a read-only data source to retrieve information about logs_outgoing_webhooks. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const logsOutgoingWebhooksInstance = ibm.getLogsOutgoingWebhooks({
        instanceId: ibm_resource_instance.logs_instance.guid,
        region: ibm_resource_instance.logs_instance.location,
        type: "ibm_event_notifications",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    logs_outgoing_webhooks_instance = ibm.get_logs_outgoing_webhooks(instance_id=ibm_resource_instance["logs_instance"]["guid"],
        region=ibm_resource_instance["logs_instance"]["location"],
        type="ibm_event_notifications")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.GetLogsOutgoingWebhooks(ctx, &ibm.GetLogsOutgoingWebhooksArgs{
    			InstanceId: ibm_resource_instance.Logs_instance.Guid,
    			Region:     pulumi.StringRef(ibm_resource_instance.Logs_instance.Location),
    			Type:       pulumi.StringRef("ibm_event_notifications"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var logsOutgoingWebhooksInstance = Ibm.GetLogsOutgoingWebhooks.Invoke(new()
        {
            InstanceId = ibm_resource_instance.Logs_instance.Guid,
            Region = ibm_resource_instance.Logs_instance.Location,
            Type = "ibm_event_notifications",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetLogsOutgoingWebhooksArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var logsOutgoingWebhooksInstance = IbmFunctions.getLogsOutgoingWebhooks(GetLogsOutgoingWebhooksArgs.builder()
                .instanceId(ibm_resource_instance.logs_instance().guid())
                .region(ibm_resource_instance.logs_instance().location())
                .type("ibm_event_notifications")
                .build());
    
        }
    }
    
    variables:
      logsOutgoingWebhooksInstance:
        fn::invoke:
          function: ibm:getLogsOutgoingWebhooks
          arguments:
            instanceId: ${ibm_resource_instance.logs_instance.guid}
            region: ${ibm_resource_instance.logs_instance.location}
            type: ibm_event_notifications
    

    Using getLogsOutgoingWebhooks

    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 getLogsOutgoingWebhooks(args: GetLogsOutgoingWebhooksArgs, opts?: InvokeOptions): Promise<GetLogsOutgoingWebhooksResult>
    function getLogsOutgoingWebhooksOutput(args: GetLogsOutgoingWebhooksOutputArgs, opts?: InvokeOptions): Output<GetLogsOutgoingWebhooksResult>
    def get_logs_outgoing_webhooks(endpoint_type: Optional[str] = None,
                                   id: Optional[str] = None,
                                   instance_id: Optional[str] = None,
                                   region: Optional[str] = None,
                                   type: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetLogsOutgoingWebhooksResult
    def get_logs_outgoing_webhooks_output(endpoint_type: Optional[pulumi.Input[str]] = None,
                                   id: Optional[pulumi.Input[str]] = None,
                                   instance_id: Optional[pulumi.Input[str]] = None,
                                   region: Optional[pulumi.Input[str]] = None,
                                   type: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetLogsOutgoingWebhooksResult]
    func GetLogsOutgoingWebhooks(ctx *Context, args *GetLogsOutgoingWebhooksArgs, opts ...InvokeOption) (*GetLogsOutgoingWebhooksResult, error)
    func GetLogsOutgoingWebhooksOutput(ctx *Context, args *GetLogsOutgoingWebhooksOutputArgs, opts ...InvokeOption) GetLogsOutgoingWebhooksResultOutput

    > Note: This function is named GetLogsOutgoingWebhooks in the Go SDK.

    public static class GetLogsOutgoingWebhooks 
    {
        public static Task<GetLogsOutgoingWebhooksResult> InvokeAsync(GetLogsOutgoingWebhooksArgs args, InvokeOptions? opts = null)
        public static Output<GetLogsOutgoingWebhooksResult> Invoke(GetLogsOutgoingWebhooksInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLogsOutgoingWebhooksResult> getLogsOutgoingWebhooks(GetLogsOutgoingWebhooksArgs args, InvokeOptions options)
    public static Output<GetLogsOutgoingWebhooksResult> getLogsOutgoingWebhooks(GetLogsOutgoingWebhooksArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getLogsOutgoingWebhooks:getLogsOutgoingWebhooks
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    Cloud Logs Instance GUID.
    EndpointType string
    Id string
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    Region string
    Cloud Logs Instance Region.
    Type string
    The type of the deployed Outbound Integrations to list.

    • Constraints: Allowable values are: ibm_event_notifications.
    InstanceId string
    Cloud Logs Instance GUID.
    EndpointType string
    Id string
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    Region string
    Cloud Logs Instance Region.
    Type string
    The type of the deployed Outbound Integrations to list.

    • Constraints: Allowable values are: ibm_event_notifications.
    instanceId String
    Cloud Logs Instance GUID.
    endpointType String
    id String
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    region String
    Cloud Logs Instance Region.
    type String
    The type of the deployed Outbound Integrations to list.

    • Constraints: Allowable values are: ibm_event_notifications.
    instanceId string
    Cloud Logs Instance GUID.
    endpointType string
    id string
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    region string
    Cloud Logs Instance Region.
    type string
    The type of the deployed Outbound Integrations to list.

    • Constraints: Allowable values are: ibm_event_notifications.
    instance_id str
    Cloud Logs Instance GUID.
    endpoint_type str
    id str
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    region str
    Cloud Logs Instance Region.
    type str
    The type of the deployed Outbound Integrations to list.

    • Constraints: Allowable values are: ibm_event_notifications.
    instanceId String
    Cloud Logs Instance GUID.
    endpointType String
    id String
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    region String
    Cloud Logs Instance Region.
    type String
    The type of the deployed Outbound Integrations to list.

    • Constraints: Allowable values are: ibm_event_notifications.

    getLogsOutgoingWebhooks Result

    The following output properties are available:

    Id string
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    InstanceId string
    OutgoingWebhooks List<GetLogsOutgoingWebhooksOutgoingWebhook>
    (List) The list of deployed Outbound Integrations.

    • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for outgoing_webhooks:
    Region string
    EndpointType string
    Type string
    Id string
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    InstanceId string
    OutgoingWebhooks []GetLogsOutgoingWebhooksOutgoingWebhook
    (List) The list of deployed Outbound Integrations.

    • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for outgoing_webhooks:
    Region string
    EndpointType string
    Type string
    id String
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    instanceId String
    outgoingWebhooks List<GetLogsOutgoingWebhooksOutgoingWebhook>
    (List) The list of deployed Outbound Integrations.

    • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for outgoing_webhooks:
    region String
    endpointType String
    type String
    id string
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    instanceId string
    outgoingWebhooks GetLogsOutgoingWebhooksOutgoingWebhook[]
    (List) The list of deployed Outbound Integrations.

    • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for outgoing_webhooks:
    region string
    endpointType string
    type string
    id str
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    instance_id str
    outgoing_webhooks Sequence[GetLogsOutgoingWebhooksOutgoingWebhook]
    (List) The list of deployed Outbound Integrations.

    • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for outgoing_webhooks:
    region str
    endpoint_type str
    type str
    id String
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    instanceId String
    outgoingWebhooks List<Property Map>
    (List) The list of deployed Outbound Integrations.

    • Constraints: The maximum length is 4096 items. The minimum length is 0 items. Nested schema for outgoing_webhooks:
    region String
    endpointType String
    type String

    Supporting Types

    GetLogsOutgoingWebhooksOutgoingWebhook

    CreatedAt string
    (String) The creation time of the Outbound Integration.
    ExternalId double
    (Integer) The external ID of the Outbound Integration, for connecting with other parts of the system.

    • Constraints: The maximum value is 4294967295. The minimum value is 0.
    Id string
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    Name string
    (String) The name of the Outbound Integration.

    • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
    UpdatedAt string
    (String) The update time of the Outbound Integration.
    Url string
    (String) The URL of the Outbound Integration. Null for IBM Event Notifications integration.

    • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
    CreatedAt string
    (String) The creation time of the Outbound Integration.
    ExternalId float64
    (Integer) The external ID of the Outbound Integration, for connecting with other parts of the system.

    • Constraints: The maximum value is 4294967295. The minimum value is 0.
    Id string
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    Name string
    (String) The name of the Outbound Integration.

    • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
    UpdatedAt string
    (String) The update time of the Outbound Integration.
    Url string
    (String) The URL of the Outbound Integration. Null for IBM Event Notifications integration.

    • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
    createdAt String
    (String) The creation time of the Outbound Integration.
    externalId Double
    (Integer) The external ID of the Outbound Integration, for connecting with other parts of the system.

    • Constraints: The maximum value is 4294967295. The minimum value is 0.
    id String
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    name String
    (String) The name of the Outbound Integration.

    • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
    updatedAt String
    (String) The update time of the Outbound Integration.
    url String
    (String) The URL of the Outbound Integration. Null for IBM Event Notifications integration.

    • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
    createdAt string
    (String) The creation time of the Outbound Integration.
    externalId number
    (Integer) The external ID of the Outbound Integration, for connecting with other parts of the system.

    • Constraints: The maximum value is 4294967295. The minimum value is 0.
    id string
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    name string
    (String) The name of the Outbound Integration.

    • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
    updatedAt string
    (String) The update time of the Outbound Integration.
    url string
    (String) The URL of the Outbound Integration. Null for IBM Event Notifications integration.

    • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
    created_at str
    (String) The creation time of the Outbound Integration.
    external_id float
    (Integer) The external ID of the Outbound Integration, for connecting with other parts of the system.

    • Constraints: The maximum value is 4294967295. The minimum value is 0.
    id str
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    name str
    (String) The name of the Outbound Integration.

    • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
    updated_at str
    (String) The update time of the Outbound Integration.
    url str
    (String) The URL of the Outbound Integration. Null for IBM Event Notifications integration.

    • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
    createdAt String
    (String) The creation time of the Outbound Integration.
    externalId Number
    (Integer) The external ID of the Outbound Integration, for connecting with other parts of the system.

    • Constraints: The maximum value is 4294967295. The minimum value is 0.
    id String
    (String) The ID of the Outbound Integration.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.
    name String
    (String) The name of the Outbound Integration.

    • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.
    updatedAt String
    (String) The update time of the Outbound Integration.
    url String
    (String) The URL of the Outbound Integration. Null for IBM Event Notifications integration.

    • Constraints: The maximum length is 4096 characters. The minimum length is 1 character. The value must match regular expression ^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud