ibm.LogsStream
Explore with Pulumi AI
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:
- Dpxl
Expression string - The DPXL expression of the Event stream.
- 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
- Instance
Id string - Cloud Logs Instance GUID.
- Compression
Type string - The compression type of the stream.
- Constraints: Allowable values are:
unspecified
,gzip
.
- Constraints: Allowable values are:
- Endpoint
Type string - public or private.
- Ibm
Event LogsStreams Stream Ibm Event Streams - Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
- Is
Active bool - Whether the Event stream is active.
- Logs
Stream stringId - 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 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
- Region string
- Cloud Logs Instance Region.
- Dpxl
Expression string - The DPXL expression of the Event stream.
- 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
- Instance
Id string - Cloud Logs Instance GUID.
- Compression
Type string - The compression type of the stream.
- Constraints: Allowable values are:
unspecified
,gzip
.
- Constraints: Allowable values are:
- Endpoint
Type string - public or private.
- Ibm
Event LogsStreams Stream Ibm Event Streams Args - Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
- Is
Active bool - Whether the Event stream is active.
- Logs
Stream stringId - 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 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
- Region string
- Cloud Logs Instance Region.
- dpxl
Expression String - The DPXL expression of the Event stream.
- 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
- instance
Id String - Cloud Logs Instance GUID.
- compression
Type String - The compression type of the stream.
- Constraints: Allowable values are:
unspecified
,gzip
.
- Constraints: Allowable values are:
- endpoint
Type String - public or private.
- ibm
Event LogsStreams Stream Ibm Event Streams - Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
- is
Active Boolean - Whether the Event stream is active.
- logs
Stream StringId - 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 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
- region String
- Cloud Logs Instance Region.
- dpxl
Expression string - The DPXL expression of the Event stream.
- 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
- instance
Id string - Cloud Logs Instance GUID.
- compression
Type string - The compression type of the stream.
- Constraints: Allowable values are:
unspecified
,gzip
.
- Constraints: Allowable values are:
- endpoint
Type string - public or private.
- ibm
Event LogsStreams Stream Ibm Event Streams - Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
- is
Active boolean - Whether the Event stream is active.
- logs
Stream stringId - 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 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
- 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 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
- instance_
id str - Cloud Logs Instance GUID.
- compression_
type str - The compression type of the stream.
- Constraints: Allowable values are:
unspecified
,gzip
.
- Constraints: Allowable values are:
- endpoint_
type str - public or private.
- ibm_
event_ Logsstreams Stream Ibm Event Streams Args - Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
- is_
active bool - Whether the Event stream is active.
- logs_
stream_ strid - 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 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
- region str
- Cloud Logs Instance Region.
- dpxl
Expression String - The DPXL expression of the Event stream.
- 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
- instance
Id String - Cloud Logs Instance GUID.
- compression
Type String - The compression type of the stream.
- Constraints: Allowable values are:
unspecified
,gzip
.
- Constraints: Allowable values are:
- endpoint
Type String - public or private.
- ibm
Event Property MapStreams - Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
- is
Active Boolean - Whether the Event stream is active.
- logs
Stream StringId - 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 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
- 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:
- 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.
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.
- Compression
Type string - The compression type of the stream.
- Constraints: Allowable values are:
unspecified
,gzip
.
- Constraints: Allowable values are:
- Created
At string - (String) The creation time of the Event stream.
- Dpxl
Expression string - The DPXL expression of the Event stream.
- 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
- Endpoint
Type string - public or private.
- Ibm
Event LogsStreams Stream Ibm Event Streams - Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
- Instance
Id string - Cloud Logs Instance GUID.
- Is
Active bool - Whether the Event stream is active.
- Logs
Stream stringId - 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 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
- Region string
- Cloud Logs Instance Region.
- Streams
Id string - The unique identifier of the logs_stream.
- Updated
At string - (String) The update time of the Event stream.
- Compression
Type string - The compression type of the stream.
- Constraints: Allowable values are:
unspecified
,gzip
.
- Constraints: Allowable values are:
- Created
At string - (String) The creation time of the Event stream.
- Dpxl
Expression string - The DPXL expression of the Event stream.
- 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
- Endpoint
Type string - public or private.
- Ibm
Event LogsStreams Stream Ibm Event Streams Args - Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
- Instance
Id string - Cloud Logs Instance GUID.
- Is
Active bool - Whether the Event stream is active.
- Logs
Stream stringId - 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 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
- Region string
- Cloud Logs Instance Region.
- Streams
Id string - The unique identifier of the logs_stream.
- Updated
At string - (String) The update time of the Event stream.
- compression
Type String - The compression type of the stream.
- Constraints: Allowable values are:
unspecified
,gzip
.
- Constraints: Allowable values are:
- created
At String - (String) The creation time of the Event stream.
- dpxl
Expression String - The DPXL expression of the Event stream.
- 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
- endpoint
Type String - public or private.
- ibm
Event LogsStreams Stream Ibm Event Streams - Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
- instance
Id String - Cloud Logs Instance GUID.
- is
Active Boolean - Whether the Event stream is active.
- logs
Stream StringId - 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 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
- region String
- Cloud Logs Instance Region.
- streams
Id String - The unique identifier of the logs_stream.
- updated
At String - (String) The update time of the Event stream.
- compression
Type string - The compression type of the stream.
- Constraints: Allowable values are:
unspecified
,gzip
.
- Constraints: Allowable values are:
- created
At string - (String) The creation time of the Event stream.
- dpxl
Expression string - The DPXL expression of the Event stream.
- 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
- endpoint
Type string - public or private.
- ibm
Event LogsStreams Stream Ibm Event Streams - Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
- instance
Id string - Cloud Logs Instance GUID.
- is
Active boolean - Whether the Event stream is active.
- logs
Stream stringId - 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 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
- region string
- Cloud Logs Instance Region.
- streams
Id string - The unique identifier of the logs_stream.
- updated
At string - (String) The update time of the Event stream.
- compression_
type str - The compression type of the stream.
- Constraints: Allowable values are:
unspecified
,gzip
.
- Constraints: Allowable values are:
- 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 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
- endpoint_
type str - public or private.
- ibm_
event_ Logsstreams Stream Ibm Event Streams Args - 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_ strid - 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 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
- 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.
- compression
Type String - The compression type of the stream.
- Constraints: Allowable values are:
unspecified
,gzip
.
- Constraints: Allowable values are:
- created
At String - (String) The creation time of the Event stream.
- dpxl
Expression String - The DPXL expression of the Event stream.
- 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
- endpoint
Type String - public or private.
- ibm
Event Property MapStreams - Configuration for IBM Event Streams. Nested schema for ibm_event_streams:
- instance
Id String - Cloud Logs Instance GUID.
- is
Active Boolean - Whether the Event stream is active.
- logs
Stream StringId - 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 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
- region String
- Cloud Logs Instance Region.
- streams
Id String - The unique identifier of the logs_stream.
- updated
At 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 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
- Topic string
- The topic of the IBM Event Streams.
- 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
- Brokers string
- The brokers of the IBM Event Streams.
- 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
- Topic string
- The topic of the IBM Event Streams.
- 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
- brokers String
- The brokers of the IBM Event Streams.
- 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
- topic String
- The topic of the IBM Event Streams.
- 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
- brokers string
- The brokers of the IBM Event Streams.
- 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
- topic string
- The topic of the IBM Event Streams.
- 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
- brokers str
- The brokers of the IBM Event Streams.
- 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
- topic str
- The topic of the IBM Event Streams.
- 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
- brokers String
- The brokers of the IBM Event Streams.
- 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
- topic String
- The topic of the IBM Event Streams.
- 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
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.