1. Packages
  2. Ibm Provider
  3. API Docs
  4. getLogsOutgoingWebhooks
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.getLogsOutgoingWebhooks

Explore with Pulumi AI

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
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
Copy

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>
Copy
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]
Copy
func GetLogsOutgoingWebhooks(ctx *Context, args *GetLogsOutgoingWebhooksArgs, opts ...InvokeOption) (*GetLogsOutgoingWebhooksResult, error)
func GetLogsOutgoingWebhooksOutput(ctx *Context, args *GetLogsOutgoingWebhooksOutputArgs, opts ...InvokeOption) GetLogsOutgoingWebhooksResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetLogsOutgoingWebhooksResult> getLogsOutgoingWebhooks(GetLogsOutgoingWebhooksArgs args, InvokeOptions options)
public static Output<GetLogsOutgoingWebhooksResult> getLogsOutgoingWebhooks(GetLogsOutgoingWebhooksArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getLogsOutgoingWebhooks:getLogsOutgoingWebhooks
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InstanceId This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
(String) The creation time of the Outbound Integration.
ExternalId This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
(String) The update time of the Outbound Integration.
Url This property is required. 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 This property is required. string
(String) The creation time of the Outbound Integration.
ExternalId This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
(String) The update time of the Outbound Integration.
Url This property is required. 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 This property is required. String
(String) The creation time of the Outbound Integration.
externalId This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
(String) The update time of the Outbound Integration.
url This property is required. 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 This property is required. string
(String) The creation time of the Outbound Integration.
externalId This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
(String) The update time of the Outbound Integration.
url This property is required. 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 This property is required. str
(String) The creation time of the Outbound Integration.
external_id This property is required. 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 This property is required. 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 This property is required. 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 This property is required. str
(String) The update time of the Outbound Integration.
url This property is required. 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 This property is required. String
(String) The creation time of the Outbound Integration.
externalId This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
(String) The update time of the Outbound Integration.
url This property is required. 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.