Ovh

v0.0.4 published on Saturday, Sep 17, 2022 by lbrlabs

getDbaasLogsOutputGraylogStream

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

Example Usage

using System.Collections.Generic;
using Pulumi;
using Ovh = Pulumi.Ovh;

return await Deployment.RunAsync(() => 
{
    var stream = Ovh.GetDbaasLogsOutputGraylogStream.Invoke(new()
    {
        ServiceName = "XXXXXX",
        Title = "my stream",
    });

});
package main

import (
	"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ovh.LookupDbaasLogsOutputGraylogStream(ctx, &GetDbaasLogsOutputGraylogStreamArgs{
			ServiceName: "XXXXXX",
			Title:       "my stream",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.OvhFunctions;
import com.pulumi.ovh.inputs.GetDbaasLogsOutputGraylogStreamArgs;
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 = OvhFunctions.getDbaasLogsOutputGraylogStream(GetDbaasLogsOutputGraylogStreamArgs.builder()
            .serviceName("XXXXXX")
            .title("my stream")
            .build());

    }
}
import pulumi
import pulumi_ovh as ovh

stream = ovh.get_dbaas_logs_output_graylog_stream(service_name="XXXXXX",
    title="my stream")
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";

const stream = pulumi.output(ovh.getDbaasLogsOutputGraylogStream({
    serviceName: "XXXXXX",
    title: "my stream",
}));
variables:
  stream:
    Fn::Invoke:
      Function: ovh:getDbaasLogsOutputGraylogStream
      Arguments:
        serviceName: XXXXXX
        title: my stream

Using getDbaasLogsOutputGraylogStream

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 getDbaasLogsOutputGraylogStream(args: GetDbaasLogsOutputGraylogStreamArgs, opts?: InvokeOptions): Promise<GetDbaasLogsOutputGraylogStreamResult>
function getDbaasLogsOutputGraylogStreamOutput(args: GetDbaasLogsOutputGraylogStreamOutputArgs, opts?: InvokeOptions): Output<GetDbaasLogsOutputGraylogStreamResult>
def get_dbaas_logs_output_graylog_stream(service_name: Optional[str] = None,
                                         title: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetDbaasLogsOutputGraylogStreamResult
def get_dbaas_logs_output_graylog_stream_output(service_name: Optional[pulumi.Input[str]] = None,
                                         title: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetDbaasLogsOutputGraylogStreamResult]
func LookupDbaasLogsOutputGraylogStream(ctx *Context, args *LookupDbaasLogsOutputGraylogStreamArgs, opts ...InvokeOption) (*LookupDbaasLogsOutputGraylogStreamResult, error)
func LookupDbaasLogsOutputGraylogStreamOutput(ctx *Context, args *LookupDbaasLogsOutputGraylogStreamOutputArgs, opts ...InvokeOption) LookupDbaasLogsOutputGraylogStreamResultOutput

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

public static class GetDbaasLogsOutputGraylogStream 
{
    public static Task<GetDbaasLogsOutputGraylogStreamResult> InvokeAsync(GetDbaasLogsOutputGraylogStreamArgs args, InvokeOptions? opts = null)
    public static Output<GetDbaasLogsOutputGraylogStreamResult> Invoke(GetDbaasLogsOutputGraylogStreamInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDbaasLogsOutputGraylogStreamResult> getDbaasLogsOutputGraylogStream(GetDbaasLogsOutputGraylogStreamArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: ovh:index/getDbaasLogsOutputGraylogStream:getDbaasLogsOutputGraylogStream
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ServiceName string

The service name

Title string

Stream description

ServiceName string

The service name

Title string

Stream description

serviceName String

The service name

title String

Stream description

serviceName string

The service name

title string

Stream description

service_name str

The service name

title str

Stream description

serviceName String

The service name

title String

Stream description

getDbaasLogsOutputGraylogStream 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 % 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 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 string

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 % 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 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 string

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 % 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 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 String

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 % 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 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 string

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 % 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 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 str

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 % 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 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 String

Enable Websocket

Package Details

Repository
https://github.com/lbrlabs/pulumi-ovh
License
Apache-2.0
Notes

This Pulumi package is based on the ovh Terraform Provider.