OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 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/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 dictionaryThe following arguments are supported:
- Service
Name string - The service name. It's the ID of your Logs Data Platform instance.
 - Title string
 - Stream description
 
- Service
Name string - The service name. It's the ID of your Logs Data Platform instance.
 - Title string
 - Stream description
 
- service
Name String - The service name. It's the ID of your Logs Data Platform instance.
 - title String
 - Stream description
 
- service
Name 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
 
- service
Name 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:
- Can
Alert bool - Cold
Storage stringCompression  - Cold storage compression method
 - Cold
Storage stringContent  - 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 stringTarget  - ColdStorage destination
 - Created
At string - Stream creation
 - Description string
 - Stream description
 - Id string
 - 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 stringId  - Parent stream ID
 - Pause
Indexing boolOn Max Size  - If set, pause indexing when maximum size is reach
 - Retention
Id string - Retention ID
 - Service
Name string - Stream
Id string - Stream ID
 - Title string
 - Updated
At string - Stream last update
 - Web
Socket boolEnabled  - Enable Websocket
 
- Can
Alert bool - Cold
Storage stringCompression  - Cold storage compression method
 - Cold
Storage stringContent  - 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 stringTarget  - ColdStorage destination
 - Created
At string - Stream creation
 - Description string
 - Stream description
 - Id string
 - 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 stringId  - Parent stream ID
 - Pause
Indexing boolOn Max Size  - If set, pause indexing when maximum size is reach
 - Retention
Id string - Retention ID
 - Service
Name string - Stream
Id string - Stream ID
 - Title string
 - Updated
At string - Stream last update
 - Web
Socket boolEnabled  - Enable Websocket
 
- can
Alert Boolean - cold
Storage StringCompression  - Cold storage compression method
 - cold
Storage StringContent  - ColdStorage content
 - cold
Storage BooleanEnabled  - Is Cold storage enabled?
 - cold
Storage BooleanNotify Enabled  - Notify on new Cold storage archive
 - cold
Storage IntegerRetention  - Cold storage retention in year
 - cold
Storage StringTarget  - ColdStorage destination
 - created
At String - Stream creation
 - description String
 - Stream description
 - id String
 - The provider-assigned unique ID for this managed resource.
 - indexing
Enabled Boolean - Enable ES indexing
 - indexing
Max IntegerSize  - Maximum indexing size (in GB)
 - indexing
Notify BooleanEnabled  - If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
 - is
Editable Boolean - Indicates if you are allowed to edit entry
 - Boolean
 - Indicates if you are allowed to share entry
 - nb
Alert IntegerCondition  - Number of alert condition
 - nb
Archive Integer - Number of coldstored archives
 - parent
Stream StringId  - Parent stream ID
 - pause
Indexing BooleanOn Max Size  - If set, pause indexing when maximum size is reach
 - retention
Id String - Retention ID
 - service
Name String - stream
Id String - Stream ID
 - title String
 - updated
At String - Stream last update
 - web
Socket BooleanEnabled  - Enable Websocket
 
- can
Alert boolean - cold
Storage stringCompression  - Cold storage compression method
 - cold
Storage stringContent  - ColdStorage content
 - cold
Storage booleanEnabled  - Is Cold storage enabled?
 - cold
Storage booleanNotify Enabled  - Notify on new Cold storage archive
 - cold
Storage numberRetention  - Cold storage retention in year
 - cold
Storage stringTarget  - ColdStorage destination
 - created
At string - Stream creation
 - description string
 - Stream description
 - id string
 - The provider-assigned unique ID for this managed resource.
 - indexing
Enabled boolean - Enable ES indexing
 - indexing
Max numberSize  - Maximum indexing size (in GB)
 - indexing
Notify booleanEnabled  - If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
 - is
Editable boolean - Indicates if you are allowed to edit entry
 - boolean
 - Indicates if you are allowed to share entry
 - nb
Alert numberCondition  - Number of alert condition
 - nb
Archive number - Number of coldstored archives
 - parent
Stream stringId  - Parent stream ID
 - pause
Indexing booleanOn Max Size  - If set, pause indexing when maximum size is reach
 - retention
Id string - Retention ID
 - service
Name string - stream
Id string - Stream ID
 - title string
 - updated
At string - Stream last update
 - web
Socket booleanEnabled  - Enable Websocket
 
- 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
 
- can
Alert Boolean - cold
Storage StringCompression  - Cold storage compression method
 - cold
Storage StringContent  - ColdStorage content
 - cold
Storage BooleanEnabled  - Is Cold storage enabled?
 - cold
Storage BooleanNotify Enabled  - Notify on new Cold storage archive
 - cold
Storage NumberRetention  - Cold storage retention in year
 - cold
Storage StringTarget  - ColdStorage destination
 - created
At String - Stream creation
 - description String
 - Stream description
 - id String
 - The provider-assigned unique ID for this managed resource.
 - indexing
Enabled Boolean - Enable ES indexing
 - indexing
Max NumberSize  - Maximum indexing size (in GB)
 - indexing
Notify BooleanEnabled  - If set, notify when size is near 80, 90 or 100 % of the maximum configured setting
 - is
Editable Boolean - Indicates if you are allowed to edit entry
 - Boolean
 - Indicates if you are allowed to share entry
 - nb
Alert NumberCondition  - Number of alert condition
 - nb
Archive Number - Number of coldstored archives
 - parent
Stream StringId  - Parent stream ID
 - pause
Indexing BooleanOn Max Size  - If set, pause indexing when maximum size is reach
 - retention
Id String - Retention ID
 - service
Name String - stream
Id String - Stream ID
 - title String
 - updated
At String - Stream last update
 - web
Socket BooleanEnabled  - Enable Websocket
 
Package Details
- Repository
 - ovh ovh/pulumi-ovh
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ovhTerraform Provider.