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

ibm.LogsStream

Explore with Pulumi AI

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

    Create, update, and delete logs_streams with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const logsStreamInstance = new ibm.LogsStream("logsStreamInstance", {
        instanceId: ibm_resource_instance.logs_instance.guid,
        region: ibm_resource_instance.logs_instance.location,
        compressionType: "gzip",
        isActive: true,
        dpxlExpression: "<v1>contains(kubernetes.labels.CX_AZ, 'eu-west-1')",
        ibmEventStreams: {
            brokers: "kafka01.example.com:9093",
            topic: "live.screen.v2",
        },
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    logs_stream_instance = ibm.LogsStream("logsStreamInstance",
        instance_id=ibm_resource_instance["logs_instance"]["guid"],
        region=ibm_resource_instance["logs_instance"]["location"],
        compression_type="gzip",
        is_active=True,
        dpxl_expression="<v1>contains(kubernetes.labels.CX_AZ, 'eu-west-1')",
        ibm_event_streams={
            "brokers": "kafka01.example.com:9093",
            "topic": "live.screen.v2",
        })
    
    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.NewLogsStream(ctx, "logsStreamInstance", &ibm.LogsStreamArgs{
    			InstanceId:      pulumi.Any(ibm_resource_instance.Logs_instance.Guid),
    			Region:          pulumi.Any(ibm_resource_instance.Logs_instance.Location),
    			CompressionType: pulumi.String("gzip"),
    			IsActive:        pulumi.Bool(true),
    			DpxlExpression:  pulumi.String("<v1>contains(kubernetes.labels.CX_AZ, 'eu-west-1')"),
    			IbmEventStreams: &ibm.LogsStreamIbmEventStreamsArgs{
    				Brokers: pulumi.String("kafka01.example.com:9093"),
    				Topic:   pulumi.String("live.screen.v2"),
    			},
    		})
    		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 logsStreamInstance = new Ibm.LogsStream("logsStreamInstance", new()
        {
            InstanceId = ibm_resource_instance.Logs_instance.Guid,
            Region = ibm_resource_instance.Logs_instance.Location,
            CompressionType = "gzip",
            IsActive = true,
            DpxlExpression = "<v1>contains(kubernetes.labels.CX_AZ, 'eu-west-1')",
            IbmEventStreams = new Ibm.Inputs.LogsStreamIbmEventStreamsArgs
            {
                Brokers = "kafka01.example.com:9093",
                Topic = "live.screen.v2",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.LogsStream;
    import com.pulumi.ibm.LogsStreamArgs;
    import com.pulumi.ibm.inputs.LogsStreamIbmEventStreamsArgs;
    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) {
            var logsStreamInstance = new LogsStream("logsStreamInstance", LogsStreamArgs.builder()
                .instanceId(ibm_resource_instance.logs_instance().guid())
                .region(ibm_resource_instance.logs_instance().location())
                .compressionType("gzip")
                .isActive(true)
                .dpxlExpression("<v1>contains(kubernetes.labels.CX_AZ, 'eu-west-1')")
                .ibmEventStreams(LogsStreamIbmEventStreamsArgs.builder()
                    .brokers("kafka01.example.com:9093")
                    .topic("live.screen.v2")
                    .build())
                .build());
    
        }
    }
    
    resources:
      logsStreamInstance:
        type: ibm:LogsStream
        properties:
          instanceId: ${ibm_resource_instance.logs_instance.guid}
          region: ${ibm_resource_instance.logs_instance.location}
          compressionType: gzip
          isActive: true
          dpxlExpression: <v1>contains(kubernetes.labels.CX_AZ, 'eu-west-1')
          ibmEventStreams:
            brokers: kafka01.example.com:9093
            topic: live.screen.v2
    

    Create LogsStream Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new LogsStream(name: string, args: LogsStreamArgs, opts?: CustomResourceOptions);
    @overload
    def LogsStream(resource_name: str,
                   args: LogsStreamArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def LogsStream(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   dpxl_expression: Optional[str] = None,
                   instance_id: Optional[str] = None,
                   compression_type: Optional[str] = None,
                   endpoint_type: Optional[str] = None,
                   ibm_event_streams: Optional[LogsStreamIbmEventStreamsArgs] = None,
                   is_active: Optional[bool] = None,
                   logs_stream_id: Optional[str] = None,
                   name: Optional[str] = None,
                   region: Optional[str] = None)
    func NewLogsStream(ctx *Context, name string, args LogsStreamArgs, opts ...ResourceOption) (*LogsStream, error)
    public LogsStream(string name, LogsStreamArgs args, CustomResourceOptions? opts = null)
    public LogsStream(String name, LogsStreamArgs args)
    public LogsStream(String name, LogsStreamArgs args, CustomResourceOptions options)
    
    type: ibm:LogsStream
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LogsStreamArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LogsStreamArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LogsStreamArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LogsStreamArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LogsStreamArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var logsStreamResource = new Ibm.LogsStream("logsStreamResource", new()
    {
        DpxlExpression = "string",
        InstanceId = "string",
        CompressionType = "string",
        EndpointType = "string",
        IbmEventStreams = new Ibm.Inputs.LogsStreamIbmEventStreamsArgs
        {
            Brokers = "string",
            Topic = "string",
        },
        IsActive = false,
        LogsStreamId = "string",
        Name = "string",
        Region = "string",
    });
    
    example, err := ibm.NewLogsStream(ctx, "logsStreamResource", &ibm.LogsStreamArgs{
    	DpxlExpression:  pulumi.String("string"),
    	InstanceId:      pulumi.String("string"),
    	CompressionType: pulumi.String("string"),
    	EndpointType:    pulumi.String("string"),
    	IbmEventStreams: &ibm.LogsStreamIbmEventStreamsArgs{
    		Brokers: pulumi.String("string"),
    		Topic:   pulumi.String("string"),
    	},
    	IsActive:     pulumi.Bool(false),
    	LogsStreamId: pulumi.String("string"),
    	Name:         pulumi.String("string"),
    	Region:       pulumi.String("string"),
    })
    
    var logsStreamResource = new LogsStream("logsStreamResource", LogsStreamArgs.builder()
        .dpxlExpression("string")
        .instanceId("string")
        .compressionType("string")
        .endpointType("string")
        .ibmEventStreams(LogsStreamIbmEventStreamsArgs.builder()
            .brokers("string")
            .topic("string")
            .build())
        .isActive(false)
        .logsStreamId("string")
        .name("string")
        .region("string")
        .build());
    
    logs_stream_resource = ibm.LogsStream("logsStreamResource",
        dpxl_expression="string",
        instance_id="string",
        compression_type="string",
        endpoint_type="string",
        ibm_event_streams={
            "brokers": "string",
            "topic": "string",
        },
        is_active=False,
        logs_stream_id="string",
        name="string",
        region="string")
    
    const logsStreamResource = new ibm.LogsStream("logsStreamResource", {
        dpxlExpression: "string",
        instanceId: "string",
        compressionType: "string",
        endpointType: "string",
        ibmEventStreams: {
            brokers: "string",
            topic: "string",
        },
        isActive: false,
        logsStreamId: "string",
        name: "string",
        region: "string",
    });
    
    type: ibm:LogsStream
    properties:
        compressionType: string
        dpxlExpression: string
        endpointType: string
        ibmEventStreams:
            brokers: string
            topic: string
        instanceId: string
        isActive: false
        logsStreamId: string
        name: string
        region: string
    

    LogsStream Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The LogsStream resource accepts the following input properties:

    DpxlExpression string
    The DPXL expression of the Event stream.

    • 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}]+$/.
    InstanceId string
    Cloud Logs Instance GUID.
    CompressionType string
    The compression type of the stream.

    • Constraints: Allowable values are: unspecified, gzip.
    EndpointType string
    public or private.
    IbmEventStreams LogsStreamIbmEventStreams
    Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
    IsActive bool
    Whether the Event stream is active.
    LogsStreamId string
    The unique identifier of the logs_stream resource.
    Name string
    The name of the Event stream.

    • 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}]+$/.
    Region string
    Cloud Logs Instance Region.
    DpxlExpression string
    The DPXL expression of the Event stream.

    • 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}]+$/.
    InstanceId string
    Cloud Logs Instance GUID.
    CompressionType string
    The compression type of the stream.

    • Constraints: Allowable values are: unspecified, gzip.
    EndpointType string
    public or private.
    IbmEventStreams LogsStreamIbmEventStreamsArgs
    Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
    IsActive bool
    Whether the Event stream is active.
    LogsStreamId string
    The unique identifier of the logs_stream resource.
    Name string
    The name of the Event stream.

    • 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}]+$/.
    Region string
    Cloud Logs Instance Region.
    dpxlExpression String
    The DPXL expression of the Event stream.

    • 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}]+$/.
    instanceId String
    Cloud Logs Instance GUID.
    compressionType String
    The compression type of the stream.

    • Constraints: Allowable values are: unspecified, gzip.
    endpointType String
    public or private.
    ibmEventStreams LogsStreamIbmEventStreams
    Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
    isActive Boolean
    Whether the Event stream is active.
    logsStreamId String
    The unique identifier of the logs_stream resource.
    name String
    The name of the Event stream.

    • 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}]+$/.
    region String
    Cloud Logs Instance Region.
    dpxlExpression string
    The DPXL expression of the Event stream.

    • 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}]+$/.
    instanceId string
    Cloud Logs Instance GUID.
    compressionType string
    The compression type of the stream.

    • Constraints: Allowable values are: unspecified, gzip.
    endpointType string
    public or private.
    ibmEventStreams LogsStreamIbmEventStreams
    Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
    isActive boolean
    Whether the Event stream is active.
    logsStreamId string
    The unique identifier of the logs_stream resource.
    name string
    The name of the Event stream.

    • 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}]+$/.
    region string
    Cloud Logs Instance Region.
    dpxl_expression str
    The DPXL expression of the Event stream.

    • 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}]+$/.
    instance_id str
    Cloud Logs Instance GUID.
    compression_type str
    The compression type of the stream.

    • Constraints: Allowable values are: unspecified, gzip.
    endpoint_type str
    public or private.
    ibm_event_streams LogsStreamIbmEventStreamsArgs
    Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
    is_active bool
    Whether the Event stream is active.
    logs_stream_id str
    The unique identifier of the logs_stream resource.
    name str
    The name of the Event stream.

    • 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}]+$/.
    region str
    Cloud Logs Instance Region.
    dpxlExpression String
    The DPXL expression of the Event stream.

    • 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}]+$/.
    instanceId String
    Cloud Logs Instance GUID.
    compressionType String
    The compression type of the stream.

    • Constraints: Allowable values are: unspecified, gzip.
    endpointType String
    public or private.
    ibmEventStreams Property Map
    Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
    isActive Boolean
    Whether the Event stream is active.
    logsStreamId String
    The unique identifier of the logs_stream resource.
    name String
    The name of the Event stream.

    • 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}]+$/.
    region String
    Cloud Logs Instance Region.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LogsStream resource produces the following output properties:

    CreatedAt string
    (String) The creation time of the Event stream.
    Id string
    The provider-assigned unique ID for this managed resource.
    StreamsId string
    The unique identifier of the logs_stream.
    UpdatedAt string
    (String) The update time of the Event stream.
    CreatedAt string
    (String) The creation time of the Event stream.
    Id string
    The provider-assigned unique ID for this managed resource.
    StreamsId string
    The unique identifier of the logs_stream.
    UpdatedAt string
    (String) The update time of the Event stream.
    createdAt String
    (String) The creation time of the Event stream.
    id String
    The provider-assigned unique ID for this managed resource.
    streamsId String
    The unique identifier of the logs_stream.
    updatedAt String
    (String) The update time of the Event stream.
    createdAt string
    (String) The creation time of the Event stream.
    id string
    The provider-assigned unique ID for this managed resource.
    streamsId string
    The unique identifier of the logs_stream.
    updatedAt string
    (String) The update time of the Event stream.
    created_at str
    (String) The creation time of the Event stream.
    id str
    The provider-assigned unique ID for this managed resource.
    streams_id str
    The unique identifier of the logs_stream.
    updated_at str
    (String) The update time of the Event stream.
    createdAt String
    (String) The creation time of the Event stream.
    id String
    The provider-assigned unique ID for this managed resource.
    streamsId String
    The unique identifier of the logs_stream.
    updatedAt String
    (String) The update time of the Event stream.

    Look up Existing LogsStream Resource

    Get an existing LogsStream resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: LogsStreamState, opts?: CustomResourceOptions): LogsStream
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compression_type: Optional[str] = None,
            created_at: Optional[str] = None,
            dpxl_expression: Optional[str] = None,
            endpoint_type: Optional[str] = None,
            ibm_event_streams: Optional[LogsStreamIbmEventStreamsArgs] = None,
            instance_id: Optional[str] = None,
            is_active: Optional[bool] = None,
            logs_stream_id: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            streams_id: Optional[str] = None,
            updated_at: Optional[str] = None) -> LogsStream
    func GetLogsStream(ctx *Context, name string, id IDInput, state *LogsStreamState, opts ...ResourceOption) (*LogsStream, error)
    public static LogsStream Get(string name, Input<string> id, LogsStreamState? state, CustomResourceOptions? opts = null)
    public static LogsStream get(String name, Output<String> id, LogsStreamState state, CustomResourceOptions options)
    resources:  _:    type: ibm:LogsStream    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompressionType string
    The compression type of the stream.

    • Constraints: Allowable values are: unspecified, gzip.
    CreatedAt string
    (String) The creation time of the Event stream.
    DpxlExpression string
    The DPXL expression of the Event stream.

    • 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}]+$/.
    EndpointType string
    public or private.
    IbmEventStreams LogsStreamIbmEventStreams
    Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
    InstanceId string
    Cloud Logs Instance GUID.
    IsActive bool
    Whether the Event stream is active.
    LogsStreamId string
    The unique identifier of the logs_stream resource.
    Name string
    The name of the Event stream.

    • 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}]+$/.
    Region string
    Cloud Logs Instance Region.
    StreamsId string
    The unique identifier of the logs_stream.
    UpdatedAt string
    (String) The update time of the Event stream.
    CompressionType string
    The compression type of the stream.

    • Constraints: Allowable values are: unspecified, gzip.
    CreatedAt string
    (String) The creation time of the Event stream.
    DpxlExpression string
    The DPXL expression of the Event stream.

    • 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}]+$/.
    EndpointType string
    public or private.
    IbmEventStreams LogsStreamIbmEventStreamsArgs
    Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
    InstanceId string
    Cloud Logs Instance GUID.
    IsActive bool
    Whether the Event stream is active.
    LogsStreamId string
    The unique identifier of the logs_stream resource.
    Name string
    The name of the Event stream.

    • 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}]+$/.
    Region string
    Cloud Logs Instance Region.
    StreamsId string
    The unique identifier of the logs_stream.
    UpdatedAt string
    (String) The update time of the Event stream.
    compressionType String
    The compression type of the stream.

    • Constraints: Allowable values are: unspecified, gzip.
    createdAt String
    (String) The creation time of the Event stream.
    dpxlExpression String
    The DPXL expression of the Event stream.

    • 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}]+$/.
    endpointType String
    public or private.
    ibmEventStreams LogsStreamIbmEventStreams
    Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
    instanceId String
    Cloud Logs Instance GUID.
    isActive Boolean
    Whether the Event stream is active.
    logsStreamId String
    The unique identifier of the logs_stream resource.
    name String
    The name of the Event stream.

    • 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}]+$/.
    region String
    Cloud Logs Instance Region.
    streamsId String
    The unique identifier of the logs_stream.
    updatedAt String
    (String) The update time of the Event stream.
    compressionType string
    The compression type of the stream.

    • Constraints: Allowable values are: unspecified, gzip.
    createdAt string
    (String) The creation time of the Event stream.
    dpxlExpression string
    The DPXL expression of the Event stream.

    • 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}]+$/.
    endpointType string
    public or private.
    ibmEventStreams LogsStreamIbmEventStreams
    Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
    instanceId string
    Cloud Logs Instance GUID.
    isActive boolean
    Whether the Event stream is active.
    logsStreamId string
    The unique identifier of the logs_stream resource.
    name string
    The name of the Event stream.

    • 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}]+$/.
    region string
    Cloud Logs Instance Region.
    streamsId string
    The unique identifier of the logs_stream.
    updatedAt string
    (String) The update time of the Event stream.
    compression_type str
    The compression type of the stream.

    • Constraints: Allowable values are: unspecified, gzip.
    created_at str
    (String) The creation time of the Event stream.
    dpxl_expression str
    The DPXL expression of the Event stream.

    • 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}]+$/.
    endpoint_type str
    public or private.
    ibm_event_streams LogsStreamIbmEventStreamsArgs
    Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
    instance_id str
    Cloud Logs Instance GUID.
    is_active bool
    Whether the Event stream is active.
    logs_stream_id str
    The unique identifier of the logs_stream resource.
    name str
    The name of the Event stream.

    • 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}]+$/.
    region str
    Cloud Logs Instance Region.
    streams_id str
    The unique identifier of the logs_stream.
    updated_at str
    (String) The update time of the Event stream.
    compressionType String
    The compression type of the stream.

    • Constraints: Allowable values are: unspecified, gzip.
    createdAt String
    (String) The creation time of the Event stream.
    dpxlExpression String
    The DPXL expression of the Event stream.

    • 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}]+$/.
    endpointType String
    public or private.
    ibmEventStreams Property Map
    Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
    instanceId String
    Cloud Logs Instance GUID.
    isActive Boolean
    Whether the Event stream is active.
    logsStreamId String
    The unique identifier of the logs_stream resource.
    name String
    The name of the Event stream.

    • 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}]+$/.
    region String
    Cloud Logs Instance Region.
    streamsId String
    The unique identifier of the logs_stream.
    updatedAt String
    (String) The update time of the Event stream.

    Supporting Types

    LogsStreamIbmEventStreams, LogsStreamIbmEventStreamsArgs

    Brokers string
    The brokers of the IBM Event Streams.

    • 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}]+$/.
    Topic string
    The topic of the IBM Event Streams.

    • 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}]+$/.
    Brokers string
    The brokers of the IBM Event Streams.

    • 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}]+$/.
    Topic string
    The topic of the IBM Event Streams.

    • 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}]+$/.
    brokers String
    The brokers of the IBM Event Streams.

    • 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}]+$/.
    topic String
    The topic of the IBM Event Streams.

    • 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}]+$/.
    brokers string
    The brokers of the IBM Event Streams.

    • 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}]+$/.
    topic string
    The topic of the IBM Event Streams.

    • 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}]+$/.
    brokers str
    The brokers of the IBM Event Streams.

    • 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}]+$/.
    topic str
    The topic of the IBM Event Streams.

    • 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}]+$/.
    brokers String
    The brokers of the IBM Event Streams.

    • 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}]+$/.
    topic String
    The topic of the IBM Event Streams.

    • 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}]+$/.

    Import

    You can import the ibm_logs_stream resource by using id. id. id combination of region, instance_id and streams_id.

    Syntax

    
    ```sh
    $ pulumi import ibm:index/logsStream:LogsStream logs_stream eu-gb/3dc02998-0b50-4ea8-b68a-4779d716fa1f/1;
    ```
    
    

    To learn more about importing existing cloud resources, see Importing resources.

    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