ovh.Dbaas.LogsInput
Explore with Pulumi AI
Creates a dbaas logs input.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
import * as ovh from "@pulumi/ovh";
const logstash = ovh.Dbaas.getLogsInputEngine({
name: "logstash",
version: "7.x",
});
const stream = new ovh.dbaas.LogsOutputGraylogStream("stream", {
serviceName: "....",
title: "my stream",
description: "my graylog stream",
});
const input = new ovh.dbaas.LogsInput("input", {
serviceName: stream.serviceName,
description: stream.description,
title: stream.title,
engineId: logstash.then(logstash => logstash.id),
streamId: stream.id,
allowedNetworks: ["10.0.0.0/16"],
exposedPort: "6154",
nbInstance: 2,
configuration: {
logstash: {
inputSection: ` beats {
port => 6514
ssl => true
ssl_certificate => "/etc/ssl/private/server.crt"
ssl_key => "/etc/ssl/private/server.key"
}
`,
},
},
});
import pulumi
import pulumi_ovh as ovh
logstash = ovh.Dbaas.get_logs_input_engine(name="logstash",
version="7.x")
stream = ovh.dbaas.LogsOutputGraylogStream("stream",
service_name="....",
title="my stream",
description="my graylog stream")
input = ovh.dbaas.LogsInput("input",
service_name=stream.service_name,
description=stream.description,
title=stream.title,
engine_id=logstash.id,
stream_id=stream.id,
allowed_networks=["10.0.0.0/16"],
exposed_port="6154",
nb_instance=2,
configuration={
"logstash": {
"input_section": """ beats {
port => 6514
ssl => true
ssl_certificate => "/etc/ssl/private/server.crt"
ssl_key => "/etc/ssl/private/server.key"
}
""",
},
})
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 {
logstash, err := Dbaas.GetLogsInputEngine(ctx, &dbaas.GetLogsInputEngineArgs{
Name: pulumi.StringRef("logstash"),
Version: pulumi.StringRef("7.x"),
}, nil)
if err != nil {
return err
}
stream, err := Dbaas.NewLogsOutputGraylogStream(ctx, "stream", &Dbaas.LogsOutputGraylogStreamArgs{
ServiceName: pulumi.String("...."),
Title: pulumi.String("my stream"),
Description: pulumi.String("my graylog stream"),
})
if err != nil {
return err
}
_, err = Dbaas.NewLogsInput(ctx, "input", &Dbaas.LogsInputArgs{
ServiceName: stream.ServiceName,
Description: stream.Description,
Title: stream.Title,
EngineId: pulumi.String(logstash.Id),
StreamId: stream.ID(),
AllowedNetworks: pulumi.StringArray{
pulumi.String("10.0.0.0/16"),
},
ExposedPort: pulumi.String("6154"),
NbInstance: pulumi.Int(2),
Configuration: &dbaas.LogsInputConfigurationArgs{
Logstash: &dbaas.LogsInputConfigurationLogstashArgs{
InputSection: pulumi.String(` beats {
port => 6514
ssl => true
ssl_certificate => "/etc/ssl/private/server.crt"
ssl_key => "/etc/ssl/private/server.key"
}
`),
},
},
})
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 logstash = Ovh.Dbaas.GetLogsInputEngine.Invoke(new()
{
Name = "logstash",
Version = "7.x",
});
var stream = new Ovh.Dbaas.LogsOutputGraylogStream("stream", new()
{
ServiceName = "....",
Title = "my stream",
Description = "my graylog stream",
});
var input = new Ovh.Dbaas.LogsInput("input", new()
{
ServiceName = stream.ServiceName,
Description = stream.Description,
Title = stream.Title,
EngineId = logstash.Apply(getLogsInputEngineResult => getLogsInputEngineResult.Id),
StreamId = stream.Id,
AllowedNetworks = new[]
{
"10.0.0.0/16",
},
ExposedPort = "6154",
NbInstance = 2,
Configuration = new Ovh.Dbaas.Inputs.LogsInputConfigurationArgs
{
Logstash = new Ovh.Dbaas.Inputs.LogsInputConfigurationLogstashArgs
{
InputSection = @" beats {
port => 6514
ssl => true
ssl_certificate => ""/etc/ssl/private/server.crt""
ssl_key => ""/etc/ssl/private/server.key""
}
",
},
},
});
});
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.GetLogsInputEngineArgs;
import com.pulumi.ovh.Dbaas.LogsOutputGraylogStream;
import com.pulumi.ovh.Dbaas.LogsOutputGraylogStreamArgs;
import com.pulumi.ovh.Dbaas.LogsInput;
import com.pulumi.ovh.Dbaas.LogsInputArgs;
import com.pulumi.ovh.Dbaas.inputs.LogsInputConfigurationArgs;
import com.pulumi.ovh.Dbaas.inputs.LogsInputConfigurationLogstashArgs;
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 logstash = DbaasFunctions.getLogsInputEngine(GetLogsInputEngineArgs.builder()
.name("logstash")
.version("7.x")
.build());
var stream = new LogsOutputGraylogStream("stream", LogsOutputGraylogStreamArgs.builder()
.serviceName("....")
.title("my stream")
.description("my graylog stream")
.build());
var input = new LogsInput("input", LogsInputArgs.builder()
.serviceName(stream.serviceName())
.description(stream.description())
.title(stream.title())
.engineId(logstash.applyValue(getLogsInputEngineResult -> getLogsInputEngineResult.id()))
.streamId(stream.id())
.allowedNetworks("10.0.0.0/16")
.exposedPort("6154")
.nbInstance(2)
.configuration(LogsInputConfigurationArgs.builder()
.logstash(LogsInputConfigurationLogstashArgs.builder()
.inputSection("""
beats {
port => 6514
ssl => true
ssl_certificate => "/etc/ssl/private/server.crt"
ssl_key => "/etc/ssl/private/server.key"
}
""")
.build())
.build())
.build());
}
}
resources:
stream:
type: ovh:Dbaas:LogsOutputGraylogStream
properties:
serviceName: '....'
title: my stream
description: my graylog stream
input:
type: ovh:Dbaas:LogsInput
properties:
serviceName: ${stream.serviceName}
description: ${stream.description}
title: ${stream.title}
engineId: ${logstash.id}
streamId: ${stream.id}
allowedNetworks:
- 10.0.0.0/16
exposedPort: '6154'
nbInstance: 2
configuration:
logstash:
inputSection: |2
beats {
port => 6514
ssl => true
ssl_certificate => "/etc/ssl/private/server.crt"
ssl_key => "/etc/ssl/private/server.key"
}
variables:
logstash:
fn::invoke:
Function: ovh:Dbaas:getLogsInputEngine
Arguments:
name: logstash
version: 7.x
Create LogsInput Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogsInput(name: string, args: LogsInputArgs, opts?: CustomResourceOptions);
@overload
def LogsInput(resource_name: str,
args: LogsInputArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LogsInput(resource_name: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[_dbaas.LogsInputConfigurationArgs] = None,
description: Optional[str] = None,
engine_id: Optional[str] = None,
service_name: Optional[str] = None,
stream_id: Optional[str] = None,
title: Optional[str] = None,
allowed_networks: Optional[Sequence[str]] = None,
autoscale: Optional[bool] = None,
exposed_port: Optional[str] = None,
max_scale_instance: Optional[int] = None,
min_scale_instance: Optional[int] = None,
nb_instance: Optional[int] = None)
func NewLogsInput(ctx *Context, name string, args LogsInputArgs, opts ...ResourceOption) (*LogsInput, error)
public LogsInput(string name, LogsInputArgs args, CustomResourceOptions? opts = null)
public LogsInput(String name, LogsInputArgs args)
public LogsInput(String name, LogsInputArgs args, CustomResourceOptions options)
type: ovh:Dbaas:LogsInput
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 LogsInputArgs
- 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 LogsInputArgs
- 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 LogsInputArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogsInputArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LogsInputArgs
- 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 logsInputResource = new Ovh.Dbaas.LogsInput("logsInputResource", new()
{
Configuration = new Ovh.Dbaas.Inputs.LogsInputConfigurationArgs
{
Flowgger = new Ovh.Dbaas.Inputs.LogsInputConfigurationFlowggerArgs
{
LogFormat = "string",
LogFraming = "string",
},
Logstash = new Ovh.Dbaas.Inputs.LogsInputConfigurationLogstashArgs
{
InputSection = "string",
FilterSection = "string",
PatternSection = "string",
},
},
Description = "string",
EngineId = "string",
ServiceName = "string",
StreamId = "string",
Title = "string",
AllowedNetworks = new[]
{
"string",
},
Autoscale = false,
ExposedPort = "string",
MaxScaleInstance = 0,
MinScaleInstance = 0,
NbInstance = 0,
});
example, err := Dbaas.NewLogsInput(ctx, "logsInputResource", &Dbaas.LogsInputArgs{
Configuration: &dbaas.LogsInputConfigurationArgs{
Flowgger: &dbaas.LogsInputConfigurationFlowggerArgs{
LogFormat: pulumi.String("string"),
LogFraming: pulumi.String("string"),
},
Logstash: &dbaas.LogsInputConfigurationLogstashArgs{
InputSection: pulumi.String("string"),
FilterSection: pulumi.String("string"),
PatternSection: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
EngineId: pulumi.String("string"),
ServiceName: pulumi.String("string"),
StreamId: pulumi.String("string"),
Title: pulumi.String("string"),
AllowedNetworks: pulumi.StringArray{
pulumi.String("string"),
},
Autoscale: pulumi.Bool(false),
ExposedPort: pulumi.String("string"),
MaxScaleInstance: pulumi.Int(0),
MinScaleInstance: pulumi.Int(0),
NbInstance: pulumi.Int(0),
})
var logsInputResource = new LogsInput("logsInputResource", LogsInputArgs.builder()
.configuration(LogsInputConfigurationArgs.builder()
.flowgger(LogsInputConfigurationFlowggerArgs.builder()
.logFormat("string")
.logFraming("string")
.build())
.logstash(LogsInputConfigurationLogstashArgs.builder()
.inputSection("string")
.filterSection("string")
.patternSection("string")
.build())
.build())
.description("string")
.engineId("string")
.serviceName("string")
.streamId("string")
.title("string")
.allowedNetworks("string")
.autoscale(false)
.exposedPort("string")
.maxScaleInstance(0)
.minScaleInstance(0)
.nbInstance(0)
.build());
logs_input_resource = ovh.dbaas.LogsInput("logsInputResource",
configuration={
"flowgger": {
"log_format": "string",
"log_framing": "string",
},
"logstash": {
"input_section": "string",
"filter_section": "string",
"pattern_section": "string",
},
},
description="string",
engine_id="string",
service_name="string",
stream_id="string",
title="string",
allowed_networks=["string"],
autoscale=False,
exposed_port="string",
max_scale_instance=0,
min_scale_instance=0,
nb_instance=0)
const logsInputResource = new ovh.dbaas.LogsInput("logsInputResource", {
configuration: {
flowgger: {
logFormat: "string",
logFraming: "string",
},
logstash: {
inputSection: "string",
filterSection: "string",
patternSection: "string",
},
},
description: "string",
engineId: "string",
serviceName: "string",
streamId: "string",
title: "string",
allowedNetworks: ["string"],
autoscale: false,
exposedPort: "string",
maxScaleInstance: 0,
minScaleInstance: 0,
nbInstance: 0,
});
type: ovh:Dbaas:LogsInput
properties:
allowedNetworks:
- string
autoscale: false
configuration:
flowgger:
logFormat: string
logFraming: string
logstash:
filterSection: string
inputSection: string
patternSection: string
description: string
engineId: string
exposedPort: string
maxScaleInstance: 0
minScaleInstance: 0
nbInstance: 0
serviceName: string
streamId: string
title: string
LogsInput 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 LogsInput resource accepts the following input properties:
- Configuration
Logs
Input Configuration - Input configuration
- Description string
- Input description
- Engine
Id string - Input engine ID
- Service
Name string - service name
- Stream
Id string - Associated Graylog stream
- Title string
- Input title
- Allowed
Networks List<string> - List of IP blocks
- Autoscale bool
- Whether the workload is auto-scaled (mutually exclusive with parameter
nb_instance
) - Exposed
Port string - Port
- Max
Scale intInstance - Maximum number of instances in auto-scaled mode
- Min
Scale intInstance - Minimum number of instances in auto-scaled mode
- Nb
Instance int - Number of instance running (input, mutually exclusive with parameter
autoscale
)
- Configuration
Logs
Input Configuration Args - Input configuration
- Description string
- Input description
- Engine
Id string - Input engine ID
- Service
Name string - service name
- Stream
Id string - Associated Graylog stream
- Title string
- Input title
- Allowed
Networks []string - List of IP blocks
- Autoscale bool
- Whether the workload is auto-scaled (mutually exclusive with parameter
nb_instance
) - Exposed
Port string - Port
- Max
Scale intInstance - Maximum number of instances in auto-scaled mode
- Min
Scale intInstance - Minimum number of instances in auto-scaled mode
- Nb
Instance int - Number of instance running (input, mutually exclusive with parameter
autoscale
)
- configuration
Logs
Input Configuration - Input configuration
- description String
- Input description
- engine
Id String - Input engine ID
- service
Name String - service name
- stream
Id String - Associated Graylog stream
- title String
- Input title
- allowed
Networks List<String> - List of IP blocks
- autoscale Boolean
- Whether the workload is auto-scaled (mutually exclusive with parameter
nb_instance
) - exposed
Port String - Port
- max
Scale IntegerInstance - Maximum number of instances in auto-scaled mode
- min
Scale IntegerInstance - Minimum number of instances in auto-scaled mode
- nb
Instance Integer - Number of instance running (input, mutually exclusive with parameter
autoscale
)
- configuration
Logs
Input Configuration - Input configuration
- description string
- Input description
- engine
Id string - Input engine ID
- service
Name string - service name
- stream
Id string - Associated Graylog stream
- title string
- Input title
- allowed
Networks string[] - List of IP blocks
- autoscale boolean
- Whether the workload is auto-scaled (mutually exclusive with parameter
nb_instance
) - exposed
Port string - Port
- max
Scale numberInstance - Maximum number of instances in auto-scaled mode
- min
Scale numberInstance - Minimum number of instances in auto-scaled mode
- nb
Instance number - Number of instance running (input, mutually exclusive with parameter
autoscale
)
- configuration
dbaas.
Logs Input Configuration Args - Input configuration
- description str
- Input description
- engine_
id str - Input engine ID
- service_
name str - service name
- stream_
id str - Associated Graylog stream
- title str
- Input title
- allowed_
networks Sequence[str] - List of IP blocks
- autoscale bool
- Whether the workload is auto-scaled (mutually exclusive with parameter
nb_instance
) - exposed_
port str - Port
- max_
scale_ intinstance - Maximum number of instances in auto-scaled mode
- min_
scale_ intinstance - Minimum number of instances in auto-scaled mode
- nb_
instance int - Number of instance running (input, mutually exclusive with parameter
autoscale
)
- configuration Property Map
- Input configuration
- description String
- Input description
- engine
Id String - Input engine ID
- service
Name String - service name
- stream
Id String - Associated Graylog stream
- title String
- Input title
- allowed
Networks List<String> - List of IP blocks
- autoscale Boolean
- Whether the workload is auto-scaled (mutually exclusive with parameter
nb_instance
) - exposed
Port String - Port
- max
Scale NumberInstance - Maximum number of instances in auto-scaled mode
- min
Scale NumberInstance - Minimum number of instances in auto-scaled mode
- nb
Instance Number - Number of instance running (input, mutually exclusive with parameter
autoscale
)
Outputs
All input properties are implicitly available as output properties. Additionally, the LogsInput resource produces the following output properties:
- Created
At string - Input creation
- Current
Nb intInstance - Number of instance running (returned by the API)
- Hostname string
- Hostname
- Id string
- The provider-assigned unique ID for this managed resource.
- Input
Id string - Input ID
- Is
Restart boolRequired - Indicate if input need to be restarted
- Public
Address string - Input IP address
- Ssl
Certificate string - Input SSL certificate
- Status string
- init: configuration required, pending: ready to start, running: available
- Updated
At string - Input last update
- Created
At string - Input creation
- Current
Nb intInstance - Number of instance running (returned by the API)
- Hostname string
- Hostname
- Id string
- The provider-assigned unique ID for this managed resource.
- Input
Id string - Input ID
- Is
Restart boolRequired - Indicate if input need to be restarted
- Public
Address string - Input IP address
- Ssl
Certificate string - Input SSL certificate
- Status string
- init: configuration required, pending: ready to start, running: available
- Updated
At string - Input last update
- created
At String - Input creation
- current
Nb IntegerInstance - Number of instance running (returned by the API)
- hostname String
- Hostname
- id String
- The provider-assigned unique ID for this managed resource.
- input
Id String - Input ID
- is
Restart BooleanRequired - Indicate if input need to be restarted
- public
Address String - Input IP address
- ssl
Certificate String - Input SSL certificate
- status String
- init: configuration required, pending: ready to start, running: available
- updated
At String - Input last update
- created
At string - Input creation
- current
Nb numberInstance - Number of instance running (returned by the API)
- hostname string
- Hostname
- id string
- The provider-assigned unique ID for this managed resource.
- input
Id string - Input ID
- is
Restart booleanRequired - Indicate if input need to be restarted
- public
Address string - Input IP address
- ssl
Certificate string - Input SSL certificate
- status string
- init: configuration required, pending: ready to start, running: available
- updated
At string - Input last update
- created_
at str - Input creation
- current_
nb_ intinstance - Number of instance running (returned by the API)
- hostname str
- Hostname
- id str
- The provider-assigned unique ID for this managed resource.
- input_
id str - Input ID
- is_
restart_ boolrequired - Indicate if input need to be restarted
- public_
address str - Input IP address
- ssl_
certificate str - Input SSL certificate
- status str
- init: configuration required, pending: ready to start, running: available
- updated_
at str - Input last update
- created
At String - Input creation
- current
Nb NumberInstance - Number of instance running (returned by the API)
- hostname String
- Hostname
- id String
- The provider-assigned unique ID for this managed resource.
- input
Id String - Input ID
- is
Restart BooleanRequired - Indicate if input need to be restarted
- public
Address String - Input IP address
- ssl
Certificate String - Input SSL certificate
- status String
- init: configuration required, pending: ready to start, running: available
- updated
At String - Input last update
Look up Existing LogsInput Resource
Get an existing LogsInput 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?: LogsInputState, opts?: CustomResourceOptions): LogsInput
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allowed_networks: Optional[Sequence[str]] = None,
autoscale: Optional[bool] = None,
configuration: Optional[_dbaas.LogsInputConfigurationArgs] = None,
created_at: Optional[str] = None,
current_nb_instance: Optional[int] = None,
description: Optional[str] = None,
engine_id: Optional[str] = None,
exposed_port: Optional[str] = None,
hostname: Optional[str] = None,
input_id: Optional[str] = None,
is_restart_required: Optional[bool] = None,
max_scale_instance: Optional[int] = None,
min_scale_instance: Optional[int] = None,
nb_instance: Optional[int] = None,
public_address: Optional[str] = None,
service_name: Optional[str] = None,
ssl_certificate: Optional[str] = None,
status: Optional[str] = None,
stream_id: Optional[str] = None,
title: Optional[str] = None,
updated_at: Optional[str] = None) -> LogsInput
func GetLogsInput(ctx *Context, name string, id IDInput, state *LogsInputState, opts ...ResourceOption) (*LogsInput, error)
public static LogsInput Get(string name, Input<string> id, LogsInputState? state, CustomResourceOptions? opts = null)
public static LogsInput get(String name, Output<String> id, LogsInputState 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.
- Allowed
Networks List<string> - List of IP blocks
- Autoscale bool
- Whether the workload is auto-scaled (mutually exclusive with parameter
nb_instance
) - Configuration
Logs
Input Configuration - Input configuration
- Created
At string - Input creation
- Current
Nb intInstance - Number of instance running (returned by the API)
- Description string
- Input description
- Engine
Id string - Input engine ID
- Exposed
Port string - Port
- Hostname string
- Hostname
- Input
Id string - Input ID
- Is
Restart boolRequired - Indicate if input need to be restarted
- Max
Scale intInstance - Maximum number of instances in auto-scaled mode
- Min
Scale intInstance - Minimum number of instances in auto-scaled mode
- Nb
Instance int - Number of instance running (input, mutually exclusive with parameter
autoscale
) - Public
Address string - Input IP address
- Service
Name string - service name
- Ssl
Certificate string - Input SSL certificate
- Status string
- init: configuration required, pending: ready to start, running: available
- Stream
Id string - Associated Graylog stream
- Title string
- Input title
- Updated
At string - Input last update
- Allowed
Networks []string - List of IP blocks
- Autoscale bool
- Whether the workload is auto-scaled (mutually exclusive with parameter
nb_instance
) - Configuration
Logs
Input Configuration Args - Input configuration
- Created
At string - Input creation
- Current
Nb intInstance - Number of instance running (returned by the API)
- Description string
- Input description
- Engine
Id string - Input engine ID
- Exposed
Port string - Port
- Hostname string
- Hostname
- Input
Id string - Input ID
- Is
Restart boolRequired - Indicate if input need to be restarted
- Max
Scale intInstance - Maximum number of instances in auto-scaled mode
- Min
Scale intInstance - Minimum number of instances in auto-scaled mode
- Nb
Instance int - Number of instance running (input, mutually exclusive with parameter
autoscale
) - Public
Address string - Input IP address
- Service
Name string - service name
- Ssl
Certificate string - Input SSL certificate
- Status string
- init: configuration required, pending: ready to start, running: available
- Stream
Id string - Associated Graylog stream
- Title string
- Input title
- Updated
At string - Input last update
- allowed
Networks List<String> - List of IP blocks
- autoscale Boolean
- Whether the workload is auto-scaled (mutually exclusive with parameter
nb_instance
) - configuration
Logs
Input Configuration - Input configuration
- created
At String - Input creation
- current
Nb IntegerInstance - Number of instance running (returned by the API)
- description String
- Input description
- engine
Id String - Input engine ID
- exposed
Port String - Port
- hostname String
- Hostname
- input
Id String - Input ID
- is
Restart BooleanRequired - Indicate if input need to be restarted
- max
Scale IntegerInstance - Maximum number of instances in auto-scaled mode
- min
Scale IntegerInstance - Minimum number of instances in auto-scaled mode
- nb
Instance Integer - Number of instance running (input, mutually exclusive with parameter
autoscale
) - public
Address String - Input IP address
- service
Name String - service name
- ssl
Certificate String - Input SSL certificate
- status String
- init: configuration required, pending: ready to start, running: available
- stream
Id String - Associated Graylog stream
- title String
- Input title
- updated
At String - Input last update
- allowed
Networks string[] - List of IP blocks
- autoscale boolean
- Whether the workload is auto-scaled (mutually exclusive with parameter
nb_instance
) - configuration
Logs
Input Configuration - Input configuration
- created
At string - Input creation
- current
Nb numberInstance - Number of instance running (returned by the API)
- description string
- Input description
- engine
Id string - Input engine ID
- exposed
Port string - Port
- hostname string
- Hostname
- input
Id string - Input ID
- is
Restart booleanRequired - Indicate if input need to be restarted
- max
Scale numberInstance - Maximum number of instances in auto-scaled mode
- min
Scale numberInstance - Minimum number of instances in auto-scaled mode
- nb
Instance number - Number of instance running (input, mutually exclusive with parameter
autoscale
) - public
Address string - Input IP address
- service
Name string - service name
- ssl
Certificate string - Input SSL certificate
- status string
- init: configuration required, pending: ready to start, running: available
- stream
Id string - Associated Graylog stream
- title string
- Input title
- updated
At string - Input last update
- allowed_
networks Sequence[str] - List of IP blocks
- autoscale bool
- Whether the workload is auto-scaled (mutually exclusive with parameter
nb_instance
) - configuration
dbaas.
Logs Input Configuration Args - Input configuration
- created_
at str - Input creation
- current_
nb_ intinstance - Number of instance running (returned by the API)
- description str
- Input description
- engine_
id str - Input engine ID
- exposed_
port str - Port
- hostname str
- Hostname
- input_
id str - Input ID
- is_
restart_ boolrequired - Indicate if input need to be restarted
- max_
scale_ intinstance - Maximum number of instances in auto-scaled mode
- min_
scale_ intinstance - Minimum number of instances in auto-scaled mode
- nb_
instance int - Number of instance running (input, mutually exclusive with parameter
autoscale
) - public_
address str - Input IP address
- service_
name str - service name
- ssl_
certificate str - Input SSL certificate
- status str
- init: configuration required, pending: ready to start, running: available
- stream_
id str - Associated Graylog stream
- title str
- Input title
- updated_
at str - Input last update
- allowed
Networks List<String> - List of IP blocks
- autoscale Boolean
- Whether the workload is auto-scaled (mutually exclusive with parameter
nb_instance
) - configuration Property Map
- Input configuration
- created
At String - Input creation
- current
Nb NumberInstance - Number of instance running (returned by the API)
- description String
- Input description
- engine
Id String - Input engine ID
- exposed
Port String - Port
- hostname String
- Hostname
- input
Id String - Input ID
- is
Restart BooleanRequired - Indicate if input need to be restarted
- max
Scale NumberInstance - Maximum number of instances in auto-scaled mode
- min
Scale NumberInstance - Minimum number of instances in auto-scaled mode
- nb
Instance Number - Number of instance running (input, mutually exclusive with parameter
autoscale
) - public
Address String - Input IP address
- service
Name String - service name
- ssl
Certificate String - Input SSL certificate
- status String
- init: configuration required, pending: ready to start, running: available
- stream
Id String - Associated Graylog stream
- title String
- Input title
- updated
At String - Input last update
Supporting Types
LogsInputConfiguration, LogsInputConfigurationArgs
- Flowgger
Logs
Input Configuration Flowgger - Flowgger configuration
- Logstash
Logs
Input Configuration Logstash - Logstash configuration
- Flowgger
Logs
Input Configuration Flowgger - Flowgger configuration
- Logstash
Logs
Input Configuration Logstash - Logstash configuration
- flowgger
Logs
Input Configuration Flowgger - Flowgger configuration
- logstash
Logs
Input Configuration Logstash - Logstash configuration
- flowgger
Logs
Input Configuration Flowgger - Flowgger configuration
- logstash
Logs
Input Configuration Logstash - Logstash configuration
- flowgger
dbaas.
Logs Input Configuration Flowgger - Flowgger configuration
- logstash
dbaas.
Logs Input Configuration Logstash - Logstash configuration
- flowgger Property Map
- Flowgger configuration
- logstash Property Map
- Logstash configuration
LogsInputConfigurationFlowgger, LogsInputConfigurationFlowggerArgs
- Log
Format string - Type of format to decode. One of "RFC5424", "LTSV", "GELF", "CAPNP"
- Log
Framing string - Indicates how messages are delimited. One of "LINE", "NUL", "SYSLEN", "CAPNP"
- Log
Format string - Type of format to decode. One of "RFC5424", "LTSV", "GELF", "CAPNP"
- Log
Framing string - Indicates how messages are delimited. One of "LINE", "NUL", "SYSLEN", "CAPNP"
- log
Format String - Type of format to decode. One of "RFC5424", "LTSV", "GELF", "CAPNP"
- log
Framing String - Indicates how messages are delimited. One of "LINE", "NUL", "SYSLEN", "CAPNP"
- log
Format string - Type of format to decode. One of "RFC5424", "LTSV", "GELF", "CAPNP"
- log
Framing string - Indicates how messages are delimited. One of "LINE", "NUL", "SYSLEN", "CAPNP"
- log_
format str - Type of format to decode. One of "RFC5424", "LTSV", "GELF", "CAPNP"
- log_
framing str - Indicates how messages are delimited. One of "LINE", "NUL", "SYSLEN", "CAPNP"
- log
Format String - Type of format to decode. One of "RFC5424", "LTSV", "GELF", "CAPNP"
- log
Framing String - Indicates how messages are delimited. One of "LINE", "NUL", "SYSLEN", "CAPNP"
LogsInputConfigurationLogstash, LogsInputConfigurationLogstashArgs
- Input
Section string - The filter section of logstash.conf
- Filter
Section string - The filter section of logstash.conf
- Pattern
Section string - The list of customs Grok patterns
- Input
Section string - The filter section of logstash.conf
- Filter
Section string - The filter section of logstash.conf
- Pattern
Section string - The list of customs Grok patterns
- input
Section String - The filter section of logstash.conf
- filter
Section String - The filter section of logstash.conf
- pattern
Section String - The list of customs Grok patterns
- input
Section string - The filter section of logstash.conf
- filter
Section string - The filter section of logstash.conf
- pattern
Section string - The list of customs Grok patterns
- input_
section str - The filter section of logstash.conf
- filter_
section str - The filter section of logstash.conf
- pattern_
section str - The list of customs Grok patterns
- input
Section String - The filter section of logstash.conf
- filter
Section String - The filter section of logstash.conf
- pattern
Section String - The list of customs Grok patterns
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovh
Terraform Provider.