ibm 1.78.0 published on Wednesday, Apr 30, 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",
});
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:
- Instance
Id string - Cloud Logs Instance GUID.
- Endpoint
Type string - Id string
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Region string
- Cloud Logs Instance Region.
- Type string
- The type of the deployed Outbound Integrations to list.
- Constraints: Allowable values are:
ibm_event_notifications
.
- Constraints: Allowable values are:
- Instance
Id string - Cloud Logs Instance GUID.
- Endpoint
Type string - Id string
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Region string
- Cloud Logs Instance Region.
- Type string
- The type of the deployed Outbound Integrations to list.
- Constraints: Allowable values are:
ibm_event_notifications
.
- Constraints: Allowable values are:
- instance
Id String - Cloud Logs Instance GUID.
- endpoint
Type String - id String
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- region String
- Cloud Logs Instance Region.
- type String
- The type of the deployed Outbound Integrations to list.
- Constraints: Allowable values are:
ibm_event_notifications
.
- Constraints: Allowable values are:
- instance
Id string - Cloud Logs Instance GUID.
- endpoint
Type string - id string
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- region string
- Cloud Logs Instance Region.
- type string
- The type of the deployed Outbound Integrations to list.
- Constraints: Allowable values are:
ibm_event_notifications
.
- Constraints: Allowable values are:
- 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 is36
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}$/
.
- Constraints: The maximum length is
- region str
- Cloud Logs Instance Region.
- type str
- The type of the deployed Outbound Integrations to list.
- Constraints: Allowable values are:
ibm_event_notifications
.
- Constraints: Allowable values are:
- instance
Id String - Cloud Logs Instance GUID.
- endpoint
Type String - id String
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- region String
- Cloud Logs Instance Region.
- type String
- The type of the deployed Outbound Integrations to list.
- Constraints: Allowable values are:
ibm_event_notifications
.
- Constraints: Allowable values are:
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 is36
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}$/
.
- Constraints: The maximum length is
- Instance
Id string - Outgoing
Webhooks List<GetLogs Outgoing Webhooks Outgoing Webhook> - (List) The list of deployed Outbound Integrations.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for outgoing_webhooks:
- Constraints: The maximum length is
- Region string
- Endpoint
Type string - Type string
- Id string
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Instance
Id string - Outgoing
Webhooks []GetLogs Outgoing Webhooks Outgoing Webhook - (List) The list of deployed Outbound Integrations.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for outgoing_webhooks:
- Constraints: The maximum length is
- Region string
- Endpoint
Type string - Type string
- id String
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- instance
Id String - outgoing
Webhooks List<GetLogs Outgoing Webhooks Outgoing Webhook> - (List) The list of deployed Outbound Integrations.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for outgoing_webhooks:
- Constraints: The maximum length is
- region String
- endpoint
Type String - type String
- id string
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- instance
Id string - outgoing
Webhooks GetLogs Outgoing Webhooks Outgoing Webhook[] - (List) The list of deployed Outbound Integrations.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for outgoing_webhooks:
- Constraints: The maximum length is
- region string
- endpoint
Type string - type string
- id str
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- instance_
id str - outgoing_
webhooks Sequence[GetLogs Outgoing Webhooks Outgoing Webhook] - (List) The list of deployed Outbound Integrations.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for outgoing_webhooks:
- Constraints: The maximum length is
- 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 is36
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}$/
.
- Constraints: The maximum length is
- instance
Id String - outgoing
Webhooks List<Property Map> - (List) The list of deployed Outbound Integrations.
- Constraints: The maximum length is
4096
items. The minimum length is0
items. Nested schema for outgoing_webhooks:
- Constraints: The maximum length is
- region String
- endpoint
Type String - type String
Supporting Types
GetLogsOutgoingWebhooksOutgoingWebhook
- Created
At string - (String) The creation time of the Outbound Integration.
- External
Id 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 is0
.
- Constraints: The maximum value is
- Id string
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Name string
- (String) The name of the Outbound Integration.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Updated
At 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 is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Created
At string - (String) The creation time of the Outbound Integration.
- External
Id 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 is0
.
- Constraints: The maximum value is
- Id string
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Name string
- (String) The name of the Outbound Integration.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- Updated
At 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 is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- created
At String - (String) The creation time of the Outbound Integration.
- external
Id 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 is0
.
- Constraints: The maximum value is
- id String
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- name String
- (String) The name of the Outbound Integration.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- updated
At 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 is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- created
At string - (String) The creation time of the Outbound Integration.
- external
Id 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 is0
.
- Constraints: The maximum value is
- id string
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- name string
- (String) The name of the Outbound Integration.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- updated
At 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 is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- 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 is0
.
- Constraints: The maximum value is
- id str
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- name str
- (String) The name of the Outbound Integration.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- 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 is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- created
At String - (String) The creation time of the Outbound Integration.
- external
Id 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 is0
.
- Constraints: The maximum value is
- id String
- (String) The ID of the Outbound Integration.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- name String
- (String) The name of the Outbound Integration.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
- updated
At 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 is1
character. The value must match regular expression^[\\p{L}\\p{N}\\p{P}\\p{Z}\\p{S}\\p{M}]+$
.
- Constraints: The maximum length is
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.