1. Packages
  2. OVH
  3. API Docs
  4. Dbaas
  5. LogsOutputGraylogStream
OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud

ovh.Dbaas.LogsOutputGraylogStream

Explore with Pulumi AI

ovh logo
OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud

    Creates a DBaaS Logs Graylog output stream.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    const stream = new ovh.dbaas.LogsOutputGraylogStream("stream", {
        description: "my graylog stream",
        serviceName: "....",
        title: "my stream",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    stream = ovh.dbaas.LogsOutputGraylogStream("stream",
        description="my graylog stream",
        service_name="....",
        title="my stream")
    
    package main
    
    import (
    	"github.com/ovh/pulumi-ovh/sdk/go/ovh/Dbaas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Dbaas.NewLogsOutputGraylogStream(ctx, "stream", &Dbaas.LogsOutputGraylogStreamArgs{
    			Description: pulumi.String("my graylog stream"),
    			ServiceName: pulumi.String("...."),
    			Title:       pulumi.String("my stream"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        var stream = new Ovh.Dbaas.LogsOutputGraylogStream("stream", new()
        {
            Description = "my graylog stream",
            ServiceName = "....",
            Title = "my stream",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ovh.Dbaas.LogsOutputGraylogStream;
    import com.pulumi.ovh.Dbaas.LogsOutputGraylogStreamArgs;
    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 stream = new LogsOutputGraylogStream("stream", LogsOutputGraylogStreamArgs.builder()
                .description("my graylog stream")
                .serviceName("....")
                .title("my stream")
                .build());
    
        }
    }
    
    resources:
      stream:
        type: ovh:Dbaas:LogsOutputGraylogStream
        properties:
          description: my graylog stream
          serviceName: '....'
          title: my stream
    

    To define the retention of the stream, you can use the following configuration:

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    import * as ovh from "@pulumi/ovh";
    
    const retention = ovh.Dbaas.getLogsClustersRetention({
        serviceName: "ldp-xx-xxxxx",
        clusterId: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        duration: "P14D",
    });
    const stream = new ovh.dbaas.LogsOutputGraylogStream("stream", {
        serviceName: "....",
        title: "my stream",
        description: "my graylog stream",
        retentionId: retention.then(retention => retention.retentionId),
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    retention = ovh.Dbaas.get_logs_clusters_retention(service_name="ldp-xx-xxxxx",
        cluster_id="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
        duration="P14D")
    stream = ovh.dbaas.LogsOutputGraylogStream("stream",
        service_name="....",
        title="my stream",
        description="my graylog stream",
        retention_id=retention.retention_id)
    
    package main
    
    import (
    	"github.com/ovh/pulumi-ovh/sdk/go/ovh/Dbaas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		retention, err := Dbaas.GetLogsClustersRetention(ctx, &dbaas.GetLogsClustersRetentionArgs{
    			ServiceName: "ldp-xx-xxxxx",
    			ClusterId:   "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    			Duration:    pulumi.StringRef("P14D"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = Dbaas.NewLogsOutputGraylogStream(ctx, "stream", &Dbaas.LogsOutputGraylogStreamArgs{
    			ServiceName: pulumi.String("...."),
    			Title:       pulumi.String("my stream"),
    			Description: pulumi.String("my graylog stream"),
    			RetentionId: pulumi.String(retention.RetentionId),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        var retention = Ovh.Dbaas.GetLogsClustersRetention.Invoke(new()
        {
            ServiceName = "ldp-xx-xxxxx",
            ClusterId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
            Duration = "P14D",
        });
    
        var stream = new Ovh.Dbaas.LogsOutputGraylogStream("stream", new()
        {
            ServiceName = "....",
            Title = "my stream",
            Description = "my graylog stream",
            RetentionId = retention.Apply(getLogsClustersRetentionResult => getLogsClustersRetentionResult.RetentionId),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ovh.Dbaas.DbaasFunctions;
    import com.pulumi.ovh.Dbaas.inputs.GetLogsClustersRetentionArgs;
    import com.pulumi.ovh.Dbaas.LogsOutputGraylogStream;
    import com.pulumi.ovh.Dbaas.LogsOutputGraylogStreamArgs;
    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 retention = DbaasFunctions.getLogsClustersRetention(GetLogsClustersRetentionArgs.builder()
                .serviceName("ldp-xx-xxxxx")
                .clusterId("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
                .duration("P14D")
                .build());
    
            var stream = new LogsOutputGraylogStream("stream", LogsOutputGraylogStreamArgs.builder()
                .serviceName("....")
                .title("my stream")
                .description("my graylog stream")
                .retentionId(retention.applyValue(getLogsClustersRetentionResult -> getLogsClustersRetentionResult.retentionId()))
                .build());
    
        }
    }
    
    resources:
      stream:
        type: ovh:Dbaas:LogsOutputGraylogStream
        properties:
          serviceName: '....'
          title: my stream
          description: my graylog stream
          retentionId: ${retention.retentionId}
    variables:
      retention:
        fn::invoke:
          Function: ovh:Dbaas:getLogsClustersRetention
          Arguments:
            serviceName: ldp-xx-xxxxx
            clusterId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
            duration: P14D
    

    Create LogsOutputGraylogStream Resource

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

    Constructor syntax

    new LogsOutputGraylogStream(name: string, args: LogsOutputGraylogStreamArgs, opts?: CustomResourceOptions);
    @overload
    def LogsOutputGraylogStream(resource_name: str,
                                args: LogsOutputGraylogStreamArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def LogsOutputGraylogStream(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                description: Optional[str] = None,
                                title: Optional[str] = None,
                                service_name: Optional[str] = None,
                                indexing_max_size: Optional[int] = None,
                                cold_storage_retention: Optional[int] = None,
                                cold_storage_target: Optional[str] = None,
                                cold_storage_notify_enabled: Optional[bool] = None,
                                indexing_enabled: Optional[bool] = None,
                                cold_storage_compression: Optional[str] = None,
                                indexing_notify_enabled: Optional[bool] = None,
                                parent_stream_id: Optional[str] = None,
                                pause_indexing_on_max_size: Optional[bool] = None,
                                retention_id: Optional[str] = None,
                                cold_storage_enabled: Optional[bool] = None,
                                cold_storage_content: Optional[str] = None,
                                web_socket_enabled: Optional[bool] = None)
    func NewLogsOutputGraylogStream(ctx *Context, name string, args LogsOutputGraylogStreamArgs, opts ...ResourceOption) (*LogsOutputGraylogStream, error)
    public LogsOutputGraylogStream(string name, LogsOutputGraylogStreamArgs args, CustomResourceOptions? opts = null)
    public LogsOutputGraylogStream(String name, LogsOutputGraylogStreamArgs args)
    public LogsOutputGraylogStream(String name, LogsOutputGraylogStreamArgs args, CustomResourceOptions options)
    
    type: ovh:Dbaas:LogsOutputGraylogStream
    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 LogsOutputGraylogStreamArgs
    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 LogsOutputGraylogStreamArgs
    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 LogsOutputGraylogStreamArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LogsOutputGraylogStreamArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LogsOutputGraylogStreamArgs
    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 logsOutputGraylogStreamResource = new Ovh.Dbaas.LogsOutputGraylogStream("logsOutputGraylogStreamResource", new()
    {
        Description = "string",
        Title = "string",
        ServiceName = "string",
        IndexingMaxSize = 0,
        ColdStorageRetention = 0,
        ColdStorageTarget = "string",
        ColdStorageNotifyEnabled = false,
        IndexingEnabled = false,
        ColdStorageCompression = "string",
        IndexingNotifyEnabled = false,
        ParentStreamId = "string",
        PauseIndexingOnMaxSize = false,
        RetentionId = "string",
        ColdStorageEnabled = false,
        ColdStorageContent = "string",
        WebSocketEnabled = false,
    });
    
    example, err := Dbaas.NewLogsOutputGraylogStream(ctx, "logsOutputGraylogStreamResource", &Dbaas.LogsOutputGraylogStreamArgs{
    	Description:              pulumi.String("string"),
    	Title:                    pulumi.String("string"),
    	ServiceName:              pulumi.String("string"),
    	IndexingMaxSize:          pulumi.Int(0),
    	ColdStorageRetention:     pulumi.Int(0),
    	ColdStorageTarget:        pulumi.String("string"),
    	ColdStorageNotifyEnabled: pulumi.Bool(false),
    	IndexingEnabled:          pulumi.Bool(false),
    	ColdStorageCompression:   pulumi.String("string"),
    	IndexingNotifyEnabled:    pulumi.Bool(false),
    	ParentStreamId:           pulumi.String("string"),
    	PauseIndexingOnMaxSize:   pulumi.Bool(false),
    	RetentionId:              pulumi.String("string"),
    	ColdStorageEnabled:       pulumi.Bool(false),
    	ColdStorageContent:       pulumi.String("string"),
    	WebSocketEnabled:         pulumi.Bool(false),
    })
    
    var logsOutputGraylogStreamResource = new LogsOutputGraylogStream("logsOutputGraylogStreamResource", LogsOutputGraylogStreamArgs.builder()
        .description("string")
        .title("string")
        .serviceName("string")
        .indexingMaxSize(0)
        .coldStorageRetention(0)
        .coldStorageTarget("string")
        .coldStorageNotifyEnabled(false)
        .indexingEnabled(false)
        .coldStorageCompression("string")
        .indexingNotifyEnabled(false)
        .parentStreamId("string")
        .pauseIndexingOnMaxSize(false)
        .retentionId("string")
        .coldStorageEnabled(false)
        .coldStorageContent("string")
        .webSocketEnabled(false)
        .build());
    
    logs_output_graylog_stream_resource = ovh.dbaas.LogsOutputGraylogStream("logsOutputGraylogStreamResource",
        description="string",
        title="string",
        service_name="string",
        indexing_max_size=0,
        cold_storage_retention=0,
        cold_storage_target="string",
        cold_storage_notify_enabled=False,
        indexing_enabled=False,
        cold_storage_compression="string",
        indexing_notify_enabled=False,
        parent_stream_id="string",
        pause_indexing_on_max_size=False,
        retention_id="string",
        cold_storage_enabled=False,
        cold_storage_content="string",
        web_socket_enabled=False)
    
    const logsOutputGraylogStreamResource = new ovh.dbaas.LogsOutputGraylogStream("logsOutputGraylogStreamResource", {
        description: "string",
        title: "string",
        serviceName: "string",
        indexingMaxSize: 0,
        coldStorageRetention: 0,
        coldStorageTarget: "string",
        coldStorageNotifyEnabled: false,
        indexingEnabled: false,
        coldStorageCompression: "string",
        indexingNotifyEnabled: false,
        parentStreamId: "string",
        pauseIndexingOnMaxSize: false,
        retentionId: "string",
        coldStorageEnabled: false,
        coldStorageContent: "string",
        webSocketEnabled: false,
    });
    
    type: ovh:Dbaas:LogsOutputGraylogStream
    properties:
        coldStorageCompression: string
        coldStorageContent: string
        coldStorageEnabled: false
        coldStorageNotifyEnabled: false
        coldStorageRetention: 0
        coldStorageTarget: string
        description: string
        indexingEnabled: false
        indexingMaxSize: 0
        indexingNotifyEnabled: false
        parentStreamId: string
        pauseIndexingOnMaxSize: false
        retentionId: string
        serviceName: string
        title: string
        webSocketEnabled: false
    

    LogsOutputGraylogStream 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 LogsOutputGraylogStream resource accepts the following input properties:

    Description string
    Stream description
    ServiceName string
    The service name
    Title string
    Stream description
    ColdStorageCompression string
    Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
    ColdStorageContent string
    ColdStorage content. One of "ALL", "GLEF", "PLAIN"
    ColdStorageEnabled bool
    Is Cold storage enabled?
    ColdStorageNotifyEnabled bool
    Notify on new Cold storage archive
    ColdStorageRetention int
    Cold storage retention in year
    ColdStorageTarget string
    ColdStorage destination. One of "PCA", "PCS"
    IndexingEnabled bool
    Enable ES indexing
    IndexingMaxSize int
    Maximum indexing size (in GB)
    IndexingNotifyEnabled bool
    If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
    ParentStreamId string
    Parent stream ID
    PauseIndexingOnMaxSize bool
    If set, pause indexing when maximum size is reach
    RetentionId string
    Retention ID
    WebSocketEnabled bool
    Enable Websocket
    Description string
    Stream description
    ServiceName string
    The service name
    Title string
    Stream description
    ColdStorageCompression string
    Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
    ColdStorageContent string
    ColdStorage content. One of "ALL", "GLEF", "PLAIN"
    ColdStorageEnabled bool
    Is Cold storage enabled?
    ColdStorageNotifyEnabled bool
    Notify on new Cold storage archive
    ColdStorageRetention int
    Cold storage retention in year
    ColdStorageTarget string
    ColdStorage destination. One of "PCA", "PCS"
    IndexingEnabled bool
    Enable ES indexing
    IndexingMaxSize int
    Maximum indexing size (in GB)
    IndexingNotifyEnabled bool
    If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
    ParentStreamId string
    Parent stream ID
    PauseIndexingOnMaxSize bool
    If set, pause indexing when maximum size is reach
    RetentionId string
    Retention ID
    WebSocketEnabled bool
    Enable Websocket
    description String
    Stream description
    serviceName String
    The service name
    title String
    Stream description
    coldStorageCompression String
    Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
    coldStorageContent String
    ColdStorage content. One of "ALL", "GLEF", "PLAIN"
    coldStorageEnabled Boolean
    Is Cold storage enabled?
    coldStorageNotifyEnabled Boolean
    Notify on new Cold storage archive
    coldStorageRetention Integer
    Cold storage retention in year
    coldStorageTarget String
    ColdStorage destination. One of "PCA", "PCS"
    indexingEnabled Boolean
    Enable ES indexing
    indexingMaxSize Integer
    Maximum indexing size (in GB)
    indexingNotifyEnabled Boolean
    If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
    parentStreamId String
    Parent stream ID
    pauseIndexingOnMaxSize Boolean
    If set, pause indexing when maximum size is reach
    retentionId String
    Retention ID
    webSocketEnabled Boolean
    Enable Websocket
    description string
    Stream description
    serviceName string
    The service name
    title string
    Stream description
    coldStorageCompression string
    Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
    coldStorageContent string
    ColdStorage content. One of "ALL", "GLEF", "PLAIN"
    coldStorageEnabled boolean
    Is Cold storage enabled?
    coldStorageNotifyEnabled boolean
    Notify on new Cold storage archive
    coldStorageRetention number
    Cold storage retention in year
    coldStorageTarget string
    ColdStorage destination. One of "PCA", "PCS"
    indexingEnabled boolean
    Enable ES indexing
    indexingMaxSize number
    Maximum indexing size (in GB)
    indexingNotifyEnabled boolean
    If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
    parentStreamId string
    Parent stream ID
    pauseIndexingOnMaxSize boolean
    If set, pause indexing when maximum size is reach
    retentionId string
    Retention ID
    webSocketEnabled boolean
    Enable Websocket
    description str
    Stream description
    service_name str
    The service name
    title str
    Stream description
    cold_storage_compression str
    Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
    cold_storage_content str
    ColdStorage content. One of "ALL", "GLEF", "PLAIN"
    cold_storage_enabled bool
    Is Cold storage enabled?
    cold_storage_notify_enabled bool
    Notify on new Cold storage archive
    cold_storage_retention int
    Cold storage retention in year
    cold_storage_target str
    ColdStorage destination. One of "PCA", "PCS"
    indexing_enabled bool
    Enable ES indexing
    indexing_max_size int
    Maximum indexing size (in GB)
    indexing_notify_enabled bool
    If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
    parent_stream_id str
    Parent stream ID
    pause_indexing_on_max_size bool
    If set, pause indexing when maximum size is reach
    retention_id str
    Retention ID
    web_socket_enabled bool
    Enable Websocket
    description String
    Stream description
    serviceName String
    The service name
    title String
    Stream description
    coldStorageCompression String
    Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
    coldStorageContent String
    ColdStorage content. One of "ALL", "GLEF", "PLAIN"
    coldStorageEnabled Boolean
    Is Cold storage enabled?
    coldStorageNotifyEnabled Boolean
    Notify on new Cold storage archive
    coldStorageRetention Number
    Cold storage retention in year
    coldStorageTarget String
    ColdStorage destination. One of "PCA", "PCS"
    indexingEnabled Boolean
    Enable ES indexing
    indexingMaxSize Number
    Maximum indexing size (in GB)
    indexingNotifyEnabled Boolean
    If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
    parentStreamId String
    Parent stream ID
    pauseIndexingOnMaxSize Boolean
    If set, pause indexing when maximum size is reach
    retentionId String
    Retention ID
    webSocketEnabled Boolean
    Enable Websocket

    Outputs

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

    CanAlert bool
    Indicates if the current user can create alert on the stream
    CreatedAt string
    Stream creation
    Id string
    The provider-assigned unique ID for this managed resource.
    IsEditable bool
    Indicates if you are allowed to edit entry
    IsShareable bool
    Indicates if you are allowed to share entry
    NbAlertCondition int
    Number of alert condition
    NbArchive int
    Number of coldstored archivesr
    StreamId string
    Stream ID
    UpdatedAt string
    Stream last updater
    WriteToken string
    Write token of the stream (empty if the caller is not the owner of the stream)
    CanAlert bool
    Indicates if the current user can create alert on the stream
    CreatedAt string
    Stream creation
    Id string
    The provider-assigned unique ID for this managed resource.
    IsEditable bool
    Indicates if you are allowed to edit entry
    IsShareable bool
    Indicates if you are allowed to share entry
    NbAlertCondition int
    Number of alert condition
    NbArchive int
    Number of coldstored archivesr
    StreamId string
    Stream ID
    UpdatedAt string
    Stream last updater
    WriteToken string
    Write token of the stream (empty if the caller is not the owner of the stream)
    canAlert Boolean
    Indicates if the current user can create alert on the stream
    createdAt String
    Stream creation
    id String
    The provider-assigned unique ID for this managed resource.
    isEditable Boolean
    Indicates if you are allowed to edit entry
    isShareable Boolean
    Indicates if you are allowed to share entry
    nbAlertCondition Integer
    Number of alert condition
    nbArchive Integer
    Number of coldstored archivesr
    streamId String
    Stream ID
    updatedAt String
    Stream last updater
    writeToken String
    Write token of the stream (empty if the caller is not the owner of the stream)
    canAlert boolean
    Indicates if the current user can create alert on the stream
    createdAt string
    Stream creation
    id string
    The provider-assigned unique ID for this managed resource.
    isEditable boolean
    Indicates if you are allowed to edit entry
    isShareable boolean
    Indicates if you are allowed to share entry
    nbAlertCondition number
    Number of alert condition
    nbArchive number
    Number of coldstored archivesr
    streamId string
    Stream ID
    updatedAt string
    Stream last updater
    writeToken string
    Write token of the stream (empty if the caller is not the owner of the stream)
    can_alert bool
    Indicates if the current user can create alert on the stream
    created_at str
    Stream creation
    id str
    The provider-assigned unique ID for this managed resource.
    is_editable bool
    Indicates if you are allowed to edit entry
    is_shareable bool
    Indicates if you are allowed to share entry
    nb_alert_condition int
    Number of alert condition
    nb_archive int
    Number of coldstored archivesr
    stream_id str
    Stream ID
    updated_at str
    Stream last updater
    write_token str
    Write token of the stream (empty if the caller is not the owner of the stream)
    canAlert Boolean
    Indicates if the current user can create alert on the stream
    createdAt String
    Stream creation
    id String
    The provider-assigned unique ID for this managed resource.
    isEditable Boolean
    Indicates if you are allowed to edit entry
    isShareable Boolean
    Indicates if you are allowed to share entry
    nbAlertCondition Number
    Number of alert condition
    nbArchive Number
    Number of coldstored archivesr
    streamId String
    Stream ID
    updatedAt String
    Stream last updater
    writeToken String
    Write token of the stream (empty if the caller is not the owner of the stream)

    Look up Existing LogsOutputGraylogStream Resource

    Get an existing LogsOutputGraylogStream 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?: LogsOutputGraylogStreamState, opts?: CustomResourceOptions): LogsOutputGraylogStream
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            can_alert: Optional[bool] = None,
            cold_storage_compression: Optional[str] = None,
            cold_storage_content: Optional[str] = None,
            cold_storage_enabled: Optional[bool] = None,
            cold_storage_notify_enabled: Optional[bool] = None,
            cold_storage_retention: Optional[int] = None,
            cold_storage_target: Optional[str] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            indexing_enabled: Optional[bool] = None,
            indexing_max_size: Optional[int] = None,
            indexing_notify_enabled: Optional[bool] = None,
            is_editable: Optional[bool] = None,
            is_shareable: Optional[bool] = None,
            nb_alert_condition: Optional[int] = None,
            nb_archive: Optional[int] = None,
            parent_stream_id: Optional[str] = None,
            pause_indexing_on_max_size: Optional[bool] = None,
            retention_id: Optional[str] = None,
            service_name: Optional[str] = None,
            stream_id: Optional[str] = None,
            title: Optional[str] = None,
            updated_at: Optional[str] = None,
            web_socket_enabled: Optional[bool] = None,
            write_token: Optional[str] = None) -> LogsOutputGraylogStream
    func GetLogsOutputGraylogStream(ctx *Context, name string, id IDInput, state *LogsOutputGraylogStreamState, opts ...ResourceOption) (*LogsOutputGraylogStream, error)
    public static LogsOutputGraylogStream Get(string name, Input<string> id, LogsOutputGraylogStreamState? state, CustomResourceOptions? opts = null)
    public static LogsOutputGraylogStream get(String name, Output<String> id, LogsOutputGraylogStreamState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    CanAlert bool
    Indicates if the current user can create alert on the stream
    ColdStorageCompression string
    Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
    ColdStorageContent string
    ColdStorage content. One of "ALL", "GLEF", "PLAIN"
    ColdStorageEnabled bool
    Is Cold storage enabled?
    ColdStorageNotifyEnabled bool
    Notify on new Cold storage archive
    ColdStorageRetention int
    Cold storage retention in year
    ColdStorageTarget string
    ColdStorage destination. One of "PCA", "PCS"
    CreatedAt string
    Stream creation
    Description string
    Stream description
    IndexingEnabled bool
    Enable ES indexing
    IndexingMaxSize int
    Maximum indexing size (in GB)
    IndexingNotifyEnabled bool
    If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
    IsEditable bool
    Indicates if you are allowed to edit entry
    IsShareable bool
    Indicates if you are allowed to share entry
    NbAlertCondition int
    Number of alert condition
    NbArchive int
    Number of coldstored archivesr
    ParentStreamId string
    Parent stream ID
    PauseIndexingOnMaxSize bool
    If set, pause indexing when maximum size is reach
    RetentionId string
    Retention ID
    ServiceName string
    The service name
    StreamId string
    Stream ID
    Title string
    Stream description
    UpdatedAt string
    Stream last updater
    WebSocketEnabled bool
    Enable Websocket
    WriteToken string
    Write token of the stream (empty if the caller is not the owner of the stream)
    CanAlert bool
    Indicates if the current user can create alert on the stream
    ColdStorageCompression string
    Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
    ColdStorageContent string
    ColdStorage content. One of "ALL", "GLEF", "PLAIN"
    ColdStorageEnabled bool
    Is Cold storage enabled?
    ColdStorageNotifyEnabled bool
    Notify on new Cold storage archive
    ColdStorageRetention int
    Cold storage retention in year
    ColdStorageTarget string
    ColdStorage destination. One of "PCA", "PCS"
    CreatedAt string
    Stream creation
    Description string
    Stream description
    IndexingEnabled bool
    Enable ES indexing
    IndexingMaxSize int
    Maximum indexing size (in GB)
    IndexingNotifyEnabled bool
    If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
    IsEditable bool
    Indicates if you are allowed to edit entry
    IsShareable bool
    Indicates if you are allowed to share entry
    NbAlertCondition int
    Number of alert condition
    NbArchive int
    Number of coldstored archivesr
    ParentStreamId string
    Parent stream ID
    PauseIndexingOnMaxSize bool
    If set, pause indexing when maximum size is reach
    RetentionId string
    Retention ID
    ServiceName string
    The service name
    StreamId string
    Stream ID
    Title string
    Stream description
    UpdatedAt string
    Stream last updater
    WebSocketEnabled bool
    Enable Websocket
    WriteToken string
    Write token of the stream (empty if the caller is not the owner of the stream)
    canAlert Boolean
    Indicates if the current user can create alert on the stream
    coldStorageCompression String
    Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
    coldStorageContent String
    ColdStorage content. One of "ALL", "GLEF", "PLAIN"
    coldStorageEnabled Boolean
    Is Cold storage enabled?
    coldStorageNotifyEnabled Boolean
    Notify on new Cold storage archive
    coldStorageRetention Integer
    Cold storage retention in year
    coldStorageTarget String
    ColdStorage destination. One of "PCA", "PCS"
    createdAt String
    Stream creation
    description String
    Stream description
    indexingEnabled Boolean
    Enable ES indexing
    indexingMaxSize Integer
    Maximum indexing size (in GB)
    indexingNotifyEnabled Boolean
    If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
    isEditable Boolean
    Indicates if you are allowed to edit entry
    isShareable Boolean
    Indicates if you are allowed to share entry
    nbAlertCondition Integer
    Number of alert condition
    nbArchive Integer
    Number of coldstored archivesr
    parentStreamId String
    Parent stream ID
    pauseIndexingOnMaxSize Boolean
    If set, pause indexing when maximum size is reach
    retentionId String
    Retention ID
    serviceName String
    The service name
    streamId String
    Stream ID
    title String
    Stream description
    updatedAt String
    Stream last updater
    webSocketEnabled Boolean
    Enable Websocket
    writeToken String
    Write token of the stream (empty if the caller is not the owner of the stream)
    canAlert boolean
    Indicates if the current user can create alert on the stream
    coldStorageCompression string
    Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
    coldStorageContent string
    ColdStorage content. One of "ALL", "GLEF", "PLAIN"
    coldStorageEnabled boolean
    Is Cold storage enabled?
    coldStorageNotifyEnabled boolean
    Notify on new Cold storage archive
    coldStorageRetention number
    Cold storage retention in year
    coldStorageTarget string
    ColdStorage destination. One of "PCA", "PCS"
    createdAt string
    Stream creation
    description string
    Stream description
    indexingEnabled boolean
    Enable ES indexing
    indexingMaxSize number
    Maximum indexing size (in GB)
    indexingNotifyEnabled boolean
    If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
    isEditable boolean
    Indicates if you are allowed to edit entry
    isShareable boolean
    Indicates if you are allowed to share entry
    nbAlertCondition number
    Number of alert condition
    nbArchive number
    Number of coldstored archivesr
    parentStreamId string
    Parent stream ID
    pauseIndexingOnMaxSize boolean
    If set, pause indexing when maximum size is reach
    retentionId string
    Retention ID
    serviceName string
    The service name
    streamId string
    Stream ID
    title string
    Stream description
    updatedAt string
    Stream last updater
    webSocketEnabled boolean
    Enable Websocket
    writeToken string
    Write token of the stream (empty if the caller is not the owner of the stream)
    can_alert bool
    Indicates if the current user can create alert on the stream
    cold_storage_compression str
    Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
    cold_storage_content str
    ColdStorage content. One of "ALL", "GLEF", "PLAIN"
    cold_storage_enabled bool
    Is Cold storage enabled?
    cold_storage_notify_enabled bool
    Notify on new Cold storage archive
    cold_storage_retention int
    Cold storage retention in year
    cold_storage_target str
    ColdStorage destination. One of "PCA", "PCS"
    created_at str
    Stream creation
    description str
    Stream description
    indexing_enabled bool
    Enable ES indexing
    indexing_max_size int
    Maximum indexing size (in GB)
    indexing_notify_enabled bool
    If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
    is_editable bool
    Indicates if you are allowed to edit entry
    is_shareable bool
    Indicates if you are allowed to share entry
    nb_alert_condition int
    Number of alert condition
    nb_archive int
    Number of coldstored archivesr
    parent_stream_id str
    Parent stream ID
    pause_indexing_on_max_size bool
    If set, pause indexing when maximum size is reach
    retention_id str
    Retention ID
    service_name str
    The service name
    stream_id str
    Stream ID
    title str
    Stream description
    updated_at str
    Stream last updater
    web_socket_enabled bool
    Enable Websocket
    write_token str
    Write token of the stream (empty if the caller is not the owner of the stream)
    canAlert Boolean
    Indicates if the current user can create alert on the stream
    coldStorageCompression String
    Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
    coldStorageContent String
    ColdStorage content. One of "ALL", "GLEF", "PLAIN"
    coldStorageEnabled Boolean
    Is Cold storage enabled?
    coldStorageNotifyEnabled Boolean
    Notify on new Cold storage archive
    coldStorageRetention Number
    Cold storage retention in year
    coldStorageTarget String
    ColdStorage destination. One of "PCA", "PCS"
    createdAt String
    Stream creation
    description String
    Stream description
    indexingEnabled Boolean
    Enable ES indexing
    indexingMaxSize Number
    Maximum indexing size (in GB)
    indexingNotifyEnabled Boolean
    If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
    isEditable Boolean
    Indicates if you are allowed to edit entry
    isShareable Boolean
    Indicates if you are allowed to share entry
    nbAlertCondition Number
    Number of alert condition
    nbArchive Number
    Number of coldstored archivesr
    parentStreamId String
    Parent stream ID
    pauseIndexingOnMaxSize Boolean
    If set, pause indexing when maximum size is reach
    retentionId String
    Retention ID
    serviceName String
    The service name
    streamId String
    Stream ID
    title String
    Stream description
    updatedAt String
    Stream last updater
    webSocketEnabled Boolean
    Enable Websocket
    writeToken String
    Write token of the stream (empty if the caller is not the owner of the stream)

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud