1. Packages
  2. OVH
  3. API Docs
  4. Dbaas
  5. LogsInput
OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud

ovh.Dbaas.LogsInput

Explore with Pulumi AI

ovh logo
OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud

    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 LogsInputConfiguration
    Input configuration
    Description string
    Input description
    EngineId string
    Input engine ID
    ServiceName string
    service name
    StreamId string
    Associated Graylog stream
    Title string
    Input title
    AllowedNetworks List<string>
    List of IP blocks
    Autoscale bool
    Whether the workload is auto-scaled (mutually exclusive with parameter nb_instance)
    ExposedPort string
    Port
    MaxScaleInstance int
    Maximum number of instances in auto-scaled mode
    MinScaleInstance int
    Minimum number of instances in auto-scaled mode
    NbInstance int
    Number of instance running (input, mutually exclusive with parameter autoscale)
    Configuration LogsInputConfigurationArgs
    Input configuration
    Description string
    Input description
    EngineId string
    Input engine ID
    ServiceName string
    service name
    StreamId string
    Associated Graylog stream
    Title string
    Input title
    AllowedNetworks []string
    List of IP blocks
    Autoscale bool
    Whether the workload is auto-scaled (mutually exclusive with parameter nb_instance)
    ExposedPort string
    Port
    MaxScaleInstance int
    Maximum number of instances in auto-scaled mode
    MinScaleInstance int
    Minimum number of instances in auto-scaled mode
    NbInstance int
    Number of instance running (input, mutually exclusive with parameter autoscale)
    configuration LogsInputConfiguration
    Input configuration
    description String
    Input description
    engineId String
    Input engine ID
    serviceName String
    service name
    streamId String
    Associated Graylog stream
    title String
    Input title
    allowedNetworks List<String>
    List of IP blocks
    autoscale Boolean
    Whether the workload is auto-scaled (mutually exclusive with parameter nb_instance)
    exposedPort String
    Port
    maxScaleInstance Integer
    Maximum number of instances in auto-scaled mode
    minScaleInstance Integer
    Minimum number of instances in auto-scaled mode
    nbInstance Integer
    Number of instance running (input, mutually exclusive with parameter autoscale)
    configuration LogsInputConfiguration
    Input configuration
    description string
    Input description
    engineId string
    Input engine ID
    serviceName string
    service name
    streamId string
    Associated Graylog stream
    title string
    Input title
    allowedNetworks string[]
    List of IP blocks
    autoscale boolean
    Whether the workload is auto-scaled (mutually exclusive with parameter nb_instance)
    exposedPort string
    Port
    maxScaleInstance number
    Maximum number of instances in auto-scaled mode
    minScaleInstance number
    Minimum number of instances in auto-scaled mode
    nbInstance number
    Number of instance running (input, mutually exclusive with parameter autoscale)
    configuration dbaas.LogsInputConfigurationArgs
    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_instance int
    Maximum number of instances in auto-scaled mode
    min_scale_instance int
    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
    engineId String
    Input engine ID
    serviceName String
    service name
    streamId String
    Associated Graylog stream
    title String
    Input title
    allowedNetworks List<String>
    List of IP blocks
    autoscale Boolean
    Whether the workload is auto-scaled (mutually exclusive with parameter nb_instance)
    exposedPort String
    Port
    maxScaleInstance Number
    Maximum number of instances in auto-scaled mode
    minScaleInstance Number
    Minimum number of instances in auto-scaled mode
    nbInstance 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:

    CreatedAt string
    Input creation
    CurrentNbInstance int
    Number of instance running (returned by the API)
    Hostname string
    Hostname
    Id string
    The provider-assigned unique ID for this managed resource.
    InputId string
    Input ID
    IsRestartRequired bool
    Indicate if input need to be restarted
    PublicAddress string
    Input IP address
    SslCertificate string
    Input SSL certificate
    Status string
    init: configuration required, pending: ready to start, running: available
    UpdatedAt string
    Input last update
    CreatedAt string
    Input creation
    CurrentNbInstance int
    Number of instance running (returned by the API)
    Hostname string
    Hostname
    Id string
    The provider-assigned unique ID for this managed resource.
    InputId string
    Input ID
    IsRestartRequired bool
    Indicate if input need to be restarted
    PublicAddress string
    Input IP address
    SslCertificate string
    Input SSL certificate
    Status string
    init: configuration required, pending: ready to start, running: available
    UpdatedAt string
    Input last update
    createdAt String
    Input creation
    currentNbInstance Integer
    Number of instance running (returned by the API)
    hostname String
    Hostname
    id String
    The provider-assigned unique ID for this managed resource.
    inputId String
    Input ID
    isRestartRequired Boolean
    Indicate if input need to be restarted
    publicAddress String
    Input IP address
    sslCertificate String
    Input SSL certificate
    status String
    init: configuration required, pending: ready to start, running: available
    updatedAt String
    Input last update
    createdAt string
    Input creation
    currentNbInstance number
    Number of instance running (returned by the API)
    hostname string
    Hostname
    id string
    The provider-assigned unique ID for this managed resource.
    inputId string
    Input ID
    isRestartRequired boolean
    Indicate if input need to be restarted
    publicAddress string
    Input IP address
    sslCertificate string
    Input SSL certificate
    status string
    init: configuration required, pending: ready to start, running: available
    updatedAt string
    Input last update
    created_at str
    Input creation
    current_nb_instance int
    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_required bool
    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
    createdAt String
    Input creation
    currentNbInstance Number
    Number of instance running (returned by the API)
    hostname String
    Hostname
    id String
    The provider-assigned unique ID for this managed resource.
    inputId String
    Input ID
    isRestartRequired Boolean
    Indicate if input need to be restarted
    publicAddress String
    Input IP address
    sslCertificate String
    Input SSL certificate
    status String
    init: configuration required, pending: ready to start, running: available
    updatedAt 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.
    The following state arguments are supported:
    AllowedNetworks List<string>
    List of IP blocks
    Autoscale bool
    Whether the workload is auto-scaled (mutually exclusive with parameter nb_instance)
    Configuration LogsInputConfiguration
    Input configuration
    CreatedAt string
    Input creation
    CurrentNbInstance int
    Number of instance running (returned by the API)
    Description string
    Input description
    EngineId string
    Input engine ID
    ExposedPort string
    Port
    Hostname string
    Hostname
    InputId string
    Input ID
    IsRestartRequired bool
    Indicate if input need to be restarted
    MaxScaleInstance int
    Maximum number of instances in auto-scaled mode
    MinScaleInstance int
    Minimum number of instances in auto-scaled mode
    NbInstance int
    Number of instance running (input, mutually exclusive with parameter autoscale)
    PublicAddress string
    Input IP address
    ServiceName string
    service name
    SslCertificate string
    Input SSL certificate
    Status string
    init: configuration required, pending: ready to start, running: available
    StreamId string
    Associated Graylog stream
    Title string
    Input title
    UpdatedAt string
    Input last update
    AllowedNetworks []string
    List of IP blocks
    Autoscale bool
    Whether the workload is auto-scaled (mutually exclusive with parameter nb_instance)
    Configuration LogsInputConfigurationArgs
    Input configuration
    CreatedAt string
    Input creation
    CurrentNbInstance int
    Number of instance running (returned by the API)
    Description string
    Input description
    EngineId string
    Input engine ID
    ExposedPort string
    Port
    Hostname string
    Hostname
    InputId string
    Input ID
    IsRestartRequired bool
    Indicate if input need to be restarted
    MaxScaleInstance int
    Maximum number of instances in auto-scaled mode
    MinScaleInstance int
    Minimum number of instances in auto-scaled mode
    NbInstance int
    Number of instance running (input, mutually exclusive with parameter autoscale)
    PublicAddress string
    Input IP address
    ServiceName string
    service name
    SslCertificate string
    Input SSL certificate
    Status string
    init: configuration required, pending: ready to start, running: available
    StreamId string
    Associated Graylog stream
    Title string
    Input title
    UpdatedAt string
    Input last update
    allowedNetworks List<String>
    List of IP blocks
    autoscale Boolean
    Whether the workload is auto-scaled (mutually exclusive with parameter nb_instance)
    configuration LogsInputConfiguration
    Input configuration
    createdAt String
    Input creation
    currentNbInstance Integer
    Number of instance running (returned by the API)
    description String
    Input description
    engineId String
    Input engine ID
    exposedPort String
    Port
    hostname String
    Hostname
    inputId String
    Input ID
    isRestartRequired Boolean
    Indicate if input need to be restarted
    maxScaleInstance Integer
    Maximum number of instances in auto-scaled mode
    minScaleInstance Integer
    Minimum number of instances in auto-scaled mode
    nbInstance Integer
    Number of instance running (input, mutually exclusive with parameter autoscale)
    publicAddress String
    Input IP address
    serviceName String
    service name
    sslCertificate String
    Input SSL certificate
    status String
    init: configuration required, pending: ready to start, running: available
    streamId String
    Associated Graylog stream
    title String
    Input title
    updatedAt String
    Input last update
    allowedNetworks string[]
    List of IP blocks
    autoscale boolean
    Whether the workload is auto-scaled (mutually exclusive with parameter nb_instance)
    configuration LogsInputConfiguration
    Input configuration
    createdAt string
    Input creation
    currentNbInstance number
    Number of instance running (returned by the API)
    description string
    Input description
    engineId string
    Input engine ID
    exposedPort string
    Port
    hostname string
    Hostname
    inputId string
    Input ID
    isRestartRequired boolean
    Indicate if input need to be restarted
    maxScaleInstance number
    Maximum number of instances in auto-scaled mode
    minScaleInstance number
    Minimum number of instances in auto-scaled mode
    nbInstance number
    Number of instance running (input, mutually exclusive with parameter autoscale)
    publicAddress string
    Input IP address
    serviceName string
    service name
    sslCertificate string
    Input SSL certificate
    status string
    init: configuration required, pending: ready to start, running: available
    streamId string
    Associated Graylog stream
    title string
    Input title
    updatedAt 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.LogsInputConfigurationArgs
    Input configuration
    created_at str
    Input creation
    current_nb_instance int
    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_required bool
    Indicate if input need to be restarted
    max_scale_instance int
    Maximum number of instances in auto-scaled mode
    min_scale_instance int
    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
    allowedNetworks 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
    createdAt String
    Input creation
    currentNbInstance Number
    Number of instance running (returned by the API)
    description String
    Input description
    engineId String
    Input engine ID
    exposedPort String
    Port
    hostname String
    Hostname
    inputId String
    Input ID
    isRestartRequired Boolean
    Indicate if input need to be restarted
    maxScaleInstance Number
    Maximum number of instances in auto-scaled mode
    minScaleInstance Number
    Minimum number of instances in auto-scaled mode
    nbInstance Number
    Number of instance running (input, mutually exclusive with parameter autoscale)
    publicAddress String
    Input IP address
    serviceName String
    service name
    sslCertificate String
    Input SSL certificate
    status String
    init: configuration required, pending: ready to start, running: available
    streamId String
    Associated Graylog stream
    title String
    Input title
    updatedAt String
    Input last update

    Supporting Types

    LogsInputConfiguration, LogsInputConfigurationArgs

    flowgger Property Map
    Flowgger configuration
    logstash Property Map
    Logstash configuration

    LogsInputConfigurationFlowgger, LogsInputConfigurationFlowggerArgs

    LogFormat string
    Type of format to decode. One of "RFC5424", "LTSV", "GELF", "CAPNP"
    LogFraming string
    Indicates how messages are delimited. One of "LINE", "NUL", "SYSLEN", "CAPNP"
    LogFormat string
    Type of format to decode. One of "RFC5424", "LTSV", "GELF", "CAPNP"
    LogFraming string
    Indicates how messages are delimited. One of "LINE", "NUL", "SYSLEN", "CAPNP"
    logFormat String
    Type of format to decode. One of "RFC5424", "LTSV", "GELF", "CAPNP"
    logFraming String
    Indicates how messages are delimited. One of "LINE", "NUL", "SYSLEN", "CAPNP"
    logFormat string
    Type of format to decode. One of "RFC5424", "LTSV", "GELF", "CAPNP"
    logFraming 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"
    logFormat String
    Type of format to decode. One of "RFC5424", "LTSV", "GELF", "CAPNP"
    logFraming String
    Indicates how messages are delimited. One of "LINE", "NUL", "SYSLEN", "CAPNP"

    LogsInputConfigurationLogstash, LogsInputConfigurationLogstashArgs

    InputSection string
    The filter section of logstash.conf
    FilterSection string
    The filter section of logstash.conf
    PatternSection string
    The list of customs Grok patterns
    InputSection string
    The filter section of logstash.conf
    FilterSection string
    The filter section of logstash.conf
    PatternSection string
    The list of customs Grok patterns
    inputSection String
    The filter section of logstash.conf
    filterSection String
    The filter section of logstash.conf
    patternSection String
    The list of customs Grok patterns
    inputSection string
    The filter section of logstash.conf
    filterSection string
    The filter section of logstash.conf
    patternSection 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
    inputSection String
    The filter section of logstash.conf
    filterSection String
    The filter section of logstash.conf
    patternSection 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.
    ovh logo
    OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud