ovh.Dbaas.LogsOutputGraylogStream
Explore with Pulumi AI
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
- Service
Name string - The service name
- Title string
- Stream description
- Cold
Storage stringCompression - Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
- Cold
Storage stringContent - ColdStorage content. One of "ALL", "GLEF", "PLAIN"
- 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. One of "PCA", "PCS"
- 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
- 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
- Web
Socket boolEnabled - Enable Websocket
- Description string
- Stream description
- Service
Name string - The service name
- Title string
- Stream description
- Cold
Storage stringCompression - Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
- Cold
Storage stringContent - ColdStorage content. One of "ALL", "GLEF", "PLAIN"
- 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. One of "PCA", "PCS"
- 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
- 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
- Web
Socket boolEnabled - Enable Websocket
- description String
- Stream description
- service
Name String - The service name
- title String
- Stream description
- cold
Storage StringCompression - Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
- cold
Storage StringContent - ColdStorage content. One of "ALL", "GLEF", "PLAIN"
- 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. One of "PCA", "PCS"
- 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
- 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
- web
Socket BooleanEnabled - Enable Websocket
- description string
- Stream description
- service
Name string - The service name
- title string
- Stream description
- cold
Storage stringCompression - Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
- cold
Storage stringContent - ColdStorage content. One of "ALL", "GLEF", "PLAIN"
- 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. One of "PCA", "PCS"
- 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
- 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
- web
Socket booleanEnabled - Enable Websocket
- description str
- Stream description
- service_
name str - The service name
- title str
- Stream description
- cold_
storage_ strcompression - Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
- cold_
storage_ strcontent - ColdStorage content. One of "ALL", "GLEF", "PLAIN"
- 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. One of "PCA", "PCS"
- 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
- 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
- web_
socket_ boolenabled - Enable Websocket
- description String
- Stream description
- service
Name String - The service name
- title String
- Stream description
- cold
Storage StringCompression - Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
- cold
Storage StringContent - ColdStorage content. One of "ALL", "GLEF", "PLAIN"
- 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. One of "PCA", "PCS"
- 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
- 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
- web
Socket BooleanEnabled - Enable Websocket
Outputs
All input properties are implicitly available as output properties. Additionally, the LogsOutputGraylogStream resource produces the following output properties:
- Can
Alert bool - Indicates if the current user can create alert on the stream
- Created
At string - Stream creation
- Id string
- The provider-assigned unique ID for this managed resource.
- 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 archivesr
- Stream
Id string - Stream ID
- Updated
At string - Stream last updater
- Write
Token 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 string - Stream creation
- Id string
- The provider-assigned unique ID for this managed resource.
- 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 archivesr
- Stream
Id string - Stream ID
- Updated
At string - Stream last updater
- Write
Token string - Write token of the stream (empty if the caller is not the owner of the stream)
- can
Alert Boolean - Indicates if the current user can create alert on the stream
- created
At String - Stream creation
- id String
- The provider-assigned unique ID for this managed resource.
- 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 archivesr
- stream
Id String - Stream ID
- updated
At String - Stream last updater
- write
Token String - Write token of the stream (empty if the caller is not the owner of the stream)
- can
Alert boolean - Indicates if the current user can create alert on the stream
- created
At string - Stream creation
- id string
- The provider-assigned unique ID for this managed resource.
- 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 archivesr
- stream
Id string - Stream ID
- updated
At string - Stream last updater
- write
Token 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
- bool
- Indicates if you are allowed to share entry
- nb_
alert_ intcondition - 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)
- can
Alert Boolean - Indicates if the current user can create alert on the stream
- created
At String - Stream creation
- id String
- The provider-assigned unique ID for this managed resource.
- 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 archivesr
- stream
Id String - Stream ID
- updated
At String - Stream last updater
- write
Token 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.
- Can
Alert bool - Indicates if the current user can create alert on the stream
- Cold
Storage stringCompression - Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
- Cold
Storage stringContent - ColdStorage content. One of "ALL", "GLEF", "PLAIN"
- 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. One of "PCA", "PCS"
- Created
At string - Stream creation
- Description string
- Stream description
- 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 archivesr
- 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 - The service name
- Stream
Id string - Stream ID
- Title string
- Stream description
- Updated
At string - Stream last updater
- Web
Socket boolEnabled - Enable Websocket
- Write
Token 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 stringCompression - Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
- Cold
Storage stringContent - ColdStorage content. One of "ALL", "GLEF", "PLAIN"
- 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. One of "PCA", "PCS"
- Created
At string - Stream creation
- Description string
- Stream description
- 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 archivesr
- 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 - The service name
- Stream
Id string - Stream ID
- Title string
- Stream description
- Updated
At string - Stream last updater
- Web
Socket boolEnabled - Enable Websocket
- Write
Token string - Write token of the stream (empty if the caller is not the owner of the stream)
- can
Alert Boolean - Indicates if the current user can create alert on the stream
- cold
Storage StringCompression - Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
- cold
Storage StringContent - ColdStorage content. One of "ALL", "GLEF", "PLAIN"
- 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. One of "PCA", "PCS"
- created
At String - Stream creation
- description String
- Stream description
- 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 archivesr
- 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 - The service name
- stream
Id String - Stream ID
- title String
- Stream description
- updated
At String - Stream last updater
- web
Socket BooleanEnabled - Enable Websocket
- write
Token String - Write token of the stream (empty if the caller is not the owner of the stream)
- can
Alert boolean - Indicates if the current user can create alert on the stream
- cold
Storage stringCompression - Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
- cold
Storage stringContent - ColdStorage content. One of "ALL", "GLEF", "PLAIN"
- 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. One of "PCA", "PCS"
- created
At string - Stream creation
- description string
- Stream description
- 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 archivesr
- 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 - The service name
- stream
Id string - Stream ID
- title string
- Stream description
- updated
At string - Stream last updater
- web
Socket booleanEnabled - Enable Websocket
- write
Token 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_ strcompression - Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
- cold_
storage_ strcontent - ColdStorage content. One of "ALL", "GLEF", "PLAIN"
- 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. One of "PCA", "PCS"
- created_
at str - Stream creation
- description str
- Stream description
- 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 archivesr
- 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 - The service name
- stream_
id str - Stream ID
- title str
- Stream description
- updated_
at str - Stream last updater
- web_
socket_ boolenabled - Enable Websocket
- write_
token str - Write token of the stream (empty if the caller is not the owner of the stream)
- can
Alert Boolean - Indicates if the current user can create alert on the stream
- cold
Storage StringCompression - Cold storage compression method. One of "LZMA", "GZIP", "DEFLATED", "ZSTD"
- cold
Storage StringContent - ColdStorage content. One of "ALL", "GLEF", "PLAIN"
- 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. One of "PCA", "PCS"
- created
At String - Stream creation
- description String
- Stream description
- 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 archivesr
- 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 - The service name
- stream
Id String - Stream ID
- title String
- Stream description
- updated
At String - Stream last updater
- web
Socket BooleanEnabled - Enable Websocket
- write
Token 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.