OVHCloud v2.0.7 published on Wednesday, Mar 19, 2025 by OVHcloud
ovh.Dbaas.getLogsOutputGraylogStream
Explore with Pulumi AI
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/v2/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)
public static Output<GetLogsOutputGraylogStreamResult> getLogsOutputGraylogStream(GetLogsOutputGraylogStreamArgs args, InvokeOptions options)
fn::invoke:
  function: ovh:Dbaas/getLogsOutputGraylogStream:getLogsOutputGraylogStream
  arguments:
    # arguments dictionaryThe 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
- ColdStorage stringCompression 
- Cold storage compression method
- ColdStorage stringContent 
- ColdStorage content
- ColdStorage boolEnabled 
- Is Cold storage enabled?
- ColdStorage boolNotify Enabled 
- Notify on new Cold storage archive
- ColdStorage intRetention 
- Cold storage retention in year
- ColdStorage stringTarget 
- 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
- IndexingMax intSize 
- Maximum indexing size (in GB)
- IndexingNotify boolEnabled 
- 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
- bool
- Indicates if you are allowed to share entry
- NbAlert intCondition 
- Number of alert condition
- NbArchive int
- Number of coldstored archives
- ParentStream stringId 
- Parent stream ID
- PauseIndexing boolOn Max Size 
- 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
- WebSocket boolEnabled 
- Enable Websocket
- WriteToken string
- Write token of the stream (empty if the caller is not the owner of the stream)
- CanAlert bool
- ColdStorage stringCompression 
- Cold storage compression method
- ColdStorage stringContent 
- ColdStorage content
- ColdStorage boolEnabled 
- Is Cold storage enabled?
- ColdStorage boolNotify Enabled 
- Notify on new Cold storage archive
- ColdStorage intRetention 
- Cold storage retention in year
- ColdStorage stringTarget 
- 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
- IndexingMax intSize 
- Maximum indexing size (in GB)
- IndexingNotify boolEnabled 
- 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
- bool
- Indicates if you are allowed to share entry
- NbAlert intCondition 
- Number of alert condition
- NbArchive int
- Number of coldstored archives
- ParentStream stringId 
- Parent stream ID
- PauseIndexing boolOn Max Size 
- 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
- WebSocket boolEnabled 
- Enable Websocket
- WriteToken string
- Write token of the stream (empty if the caller is not the owner of the stream)
- canAlert Boolean
- coldStorage StringCompression 
- Cold storage compression method
- coldStorage StringContent 
- ColdStorage content
- coldStorage BooleanEnabled 
- Is Cold storage enabled?
- coldStorage BooleanNotify Enabled 
- Notify on new Cold storage archive
- coldStorage IntegerRetention 
- Cold storage retention in year
- coldStorage StringTarget 
- 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
- indexingMax IntegerSize 
- Maximum indexing size (in GB)
- indexingNotify BooleanEnabled 
- 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
- Boolean
- Indicates if you are allowed to share entry
- nbAlert IntegerCondition 
- Number of alert condition
- nbArchive Integer
- Number of coldstored archives
- parentStream StringId 
- Parent stream ID
- pauseIndexing BooleanOn Max Size 
- 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
- webSocket BooleanEnabled 
- Enable Websocket
- writeToken String
- Write token of the stream (empty if the caller is not the owner of the stream)
- canAlert boolean
- coldStorage stringCompression 
- Cold storage compression method
- coldStorage stringContent 
- ColdStorage content
- coldStorage booleanEnabled 
- Is Cold storage enabled?
- coldStorage booleanNotify Enabled 
- Notify on new Cold storage archive
- coldStorage numberRetention 
- Cold storage retention in year
- coldStorage stringTarget 
- 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
- indexingMax numberSize 
- Maximum indexing size (in GB)
- indexingNotify booleanEnabled 
- 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
- boolean
- Indicates if you are allowed to share entry
- nbAlert numberCondition 
- Number of alert condition
- nbArchive number
- Number of coldstored archives
- parentStream stringId 
- Parent stream ID
- pauseIndexing booleanOn Max Size 
- 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
- webSocket booleanEnabled 
- Enable Websocket
- writeToken string
- Write token of the stream (empty if the caller is not the owner of the stream)
- can_alert bool
- cold_storage_ strcompression 
- Cold storage compression method
- cold_storage_ strcontent 
- ColdStorage content
- cold_storage_ boolenabled 
- Is Cold storage enabled?
- cold_storage_ boolnotify_ enabled 
- Notify on new Cold storage archive
- cold_storage_ intretention 
- Cold storage retention in year
- cold_storage_ strtarget 
- 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_ intsize 
- Maximum indexing size (in GB)
- indexing_notify_ boolenabled 
- 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
- bool
- Indicates if you are allowed to share entry
- nb_alert_ intcondition 
- Number of alert condition
- nb_archive int
- Number of coldstored archives
- parent_stream_ strid 
- Parent stream ID
- pause_indexing_ boolon_ max_ size 
- 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_ boolenabled 
- Enable Websocket
- write_token str
- Write token of the stream (empty if the caller is not the owner of the stream)
- canAlert Boolean
- coldStorage StringCompression 
- Cold storage compression method
- coldStorage StringContent 
- ColdStorage content
- coldStorage BooleanEnabled 
- Is Cold storage enabled?
- coldStorage BooleanNotify Enabled 
- Notify on new Cold storage archive
- coldStorage NumberRetention 
- Cold storage retention in year
- coldStorage StringTarget 
- 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
- indexingMax NumberSize 
- Maximum indexing size (in GB)
- indexingNotify BooleanEnabled 
- 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
- Boolean
- Indicates if you are allowed to share entry
- nbAlert NumberCondition 
- Number of alert condition
- nbArchive Number
- Number of coldstored archives
- parentStream StringId 
- Parent stream ID
- pauseIndexing BooleanOn Max Size 
- 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
- webSocket BooleanEnabled 
- 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 ovhTerraform Provider.