1. Packages
  2. OVH
  3. API Docs
  4. Dbaas
  5. getLogsOutputGraylogStream
OVHCloud v0.40.1 published on Tuesday, Mar 26, 2024 by OVHcloud

ovh.Dbaas.getLogsOutputGraylogStream

Explore with Pulumi AI

ovh logo
OVHCloud v0.40.1 published on Tuesday, Mar 26, 2024 by OVHcloud

    Use this data source to retrieve information about a DBaas logs output graylog stream.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@pulumi/ovh";
    
    const stream = ovh.Dbaas.getLogsOutputGraylogStream({
        serviceName: "ldp-xx-xxxxx",
        title: "my stream",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    stream = ovh.Dbaas.get_logs_output_graylog_stream(service_name="ldp-xx-xxxxx",
        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.GetLogsOutputGraylogStream(ctx, &dbaas.GetLogsOutputGraylogStreamArgs{
    			ServiceName: "ldp-xx-xxxxx",
    			Title:       "my stream",
    		}, nil)
    		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 = Ovh.Dbaas.GetLogsOutputGraylogStream.Invoke(new()
        {
            ServiceName = "ldp-xx-xxxxx",
            Title = "my stream",
        });
    
    });
    
    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.GetLogsOutputGraylogStreamArgs;
    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 stream = DbaasFunctions.getLogsOutputGraylogStream(GetLogsOutputGraylogStreamArgs.builder()
                .serviceName("ldp-xx-xxxxx")
                .title("my stream")
                .build());
    
        }
    }
    
    variables:
      stream:
        fn::invoke:
          Function: ovh:Dbaas:getLogsOutputGraylogStream
          Arguments:
            serviceName: ldp-xx-xxxxx
            title: my stream
    

    Using getLogsOutputGraylogStream

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLogsOutputGraylogStream(args: GetLogsOutputGraylogStreamArgs, opts?: InvokeOptions): Promise<GetLogsOutputGraylogStreamResult>
    function getLogsOutputGraylogStreamOutput(args: GetLogsOutputGraylogStreamOutputArgs, opts?: InvokeOptions): Output<GetLogsOutputGraylogStreamResult>
    def get_logs_output_graylog_stream(service_name: Optional[str] = None,
                                       title: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetLogsOutputGraylogStreamResult
    def get_logs_output_graylog_stream_output(service_name: Optional[pulumi.Input[str]] = None,
                                       title: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetLogsOutputGraylogStreamResult]
    func GetLogsOutputGraylogStream(ctx *Context, args *GetLogsOutputGraylogStreamArgs, opts ...InvokeOption) (*GetLogsOutputGraylogStreamResult, error)
    func GetLogsOutputGraylogStreamOutput(ctx *Context, args *GetLogsOutputGraylogStreamOutputArgs, opts ...InvokeOption) GetLogsOutputGraylogStreamResultOutput

    > Note: This function is named GetLogsOutputGraylogStream in the Go SDK.

    public static class GetLogsOutputGraylogStream 
    {
        public static Task<GetLogsOutputGraylogStreamResult> InvokeAsync(GetLogsOutputGraylogStreamArgs args, InvokeOptions? opts = null)
        public static Output<GetLogsOutputGraylogStreamResult> Invoke(GetLogsOutputGraylogStreamInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLogsOutputGraylogStreamResult> getLogsOutputGraylogStream(GetLogsOutputGraylogStreamArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: ovh:Dbaas/getLogsOutputGraylogStream:getLogsOutputGraylogStream
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ServiceName string
    The service name. It's the ID of your Logs Data Platform instance.
    Title string
    Stream description
    ServiceName string
    The service name. It's the ID of your Logs Data Platform instance.
    Title string
    Stream description
    serviceName String
    The service name. It's the ID of your Logs Data Platform instance.
    title String
    Stream description
    serviceName string
    The service name. It's the ID of your Logs Data Platform instance.
    title string
    Stream description
    service_name str
    The service name. It's the ID of your Logs Data Platform instance.
    title str
    Stream description
    serviceName String
    The service name. It's the ID of your Logs Data Platform instance.
    title String
    Stream description

    getLogsOutputGraylogStream Result

    The following output properties are available:

    CanAlert bool
    ColdStorageCompression string
    Cold storage compression method
    ColdStorageContent string
    ColdStorage content
    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
    CreatedAt string
    Stream creation
    Description string
    Stream description
    Id string
    The provider-assigned unique ID for this managed resource.
    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 %!o(MISSING)f 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 archives
    ParentStreamId string
    Parent stream ID
    PauseIndexingOnMaxSize bool
    If set, pause indexing when maximum size is reach
    RetentionId string
    Retention ID
    ServiceName string
    StreamId string
    Stream ID
    Title string
    UpdatedAt string
    Stream last update
    WebSocketEnabled bool
    Enable Websocket
    CanAlert bool
    ColdStorageCompression string
    Cold storage compression method
    ColdStorageContent string
    ColdStorage content
    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
    CreatedAt string
    Stream creation
    Description string
    Stream description
    Id string
    The provider-assigned unique ID for this managed resource.
    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 %!o(MISSING)f 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 archives
    ParentStreamId string
    Parent stream ID
    PauseIndexingOnMaxSize bool
    If set, pause indexing when maximum size is reach
    RetentionId string
    Retention ID
    ServiceName string
    StreamId string
    Stream ID
    Title string
    UpdatedAt string
    Stream last update
    WebSocketEnabled bool
    Enable Websocket
    canAlert Boolean
    coldStorageCompression String
    Cold storage compression method
    coldStorageContent String
    ColdStorage content
    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
    createdAt String
    Stream creation
    description String
    Stream description
    id String
    The provider-assigned unique ID for this managed resource.
    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 %!o(MISSING)f 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 archives
    parentStreamId String
    Parent stream ID
    pauseIndexingOnMaxSize Boolean
    If set, pause indexing when maximum size is reach
    retentionId String
    Retention ID
    serviceName String
    streamId String
    Stream ID
    title String
    updatedAt String
    Stream last update
    webSocketEnabled Boolean
    Enable Websocket
    canAlert boolean
    coldStorageCompression string
    Cold storage compression method
    coldStorageContent string
    ColdStorage content
    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
    createdAt string
    Stream creation
    description string
    Stream description
    id string
    The provider-assigned unique ID for this managed resource.
    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 %!o(MISSING)f 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 archives
    parentStreamId string
    Parent stream ID
    pauseIndexingOnMaxSize boolean
    If set, pause indexing when maximum size is reach
    retentionId string
    Retention ID
    serviceName string
    streamId string
    Stream ID
    title string
    updatedAt string
    Stream last update
    webSocketEnabled boolean
    Enable Websocket
    can_alert bool
    cold_storage_compression str
    Cold storage compression method
    cold_storage_content str
    ColdStorage content
    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
    created_at str
    Stream creation
    description str
    Stream description
    id str
    The provider-assigned unique ID for this managed resource.
    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 %!o(MISSING)f 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 archives
    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
    stream_id str
    Stream ID
    title str
    updated_at str
    Stream last update
    web_socket_enabled bool
    Enable Websocket
    canAlert Boolean
    coldStorageCompression String
    Cold storage compression method
    coldStorageContent String
    ColdStorage content
    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
    createdAt String
    Stream creation
    description String
    Stream description
    id String
    The provider-assigned unique ID for this managed resource.
    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 %!o(MISSING)f 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 archives
    parentStreamId String
    Parent stream ID
    pauseIndexingOnMaxSize Boolean
    If set, pause indexing when maximum size is reach
    retentionId String
    Retention ID
    serviceName String
    streamId String
    Stream ID
    title String
    updatedAt String
    Stream last update
    webSocketEnabled Boolean
    Enable Websocket

    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 v0.40.1 published on Tuesday, Mar 26, 2024 by OVHcloud