1. Packages
  2. OVH
  3. API Docs
  4. Dbaas
  5. getLogsInputEngine
OVHCloud v0.50.0 published on Friday, Sep 20, 2024 by OVHcloud

ovh.Dbaas.getLogsInputEngine

Explore with Pulumi AI

ovh logo
OVHCloud v0.50.0 published on Friday, Sep 20, 2024 by OVHcloud

    Use this data source to retrieve information about a DBaas logs input engine.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@pulumi/ovh";
    
    const logstash = ovh.Dbaas.getLogsInputEngine({
        isDeprecated: true,
        name: "logstash",
        serviceName: "ldp-xx-xxxxx",
        version: "6.8",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    logstash = ovh.Dbaas.get_logs_input_engine(is_deprecated=True,
        name="logstash",
        service_name="ldp-xx-xxxxx",
        version="6.8")
    
    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.GetLogsInputEngine(ctx, &dbaas.GetLogsInputEngineArgs{
    			IsDeprecated: pulumi.BoolRef(true),
    			Name:         pulumi.StringRef("logstash"),
    			ServiceName:  "ldp-xx-xxxxx",
    			Version:      pulumi.StringRef("6.8"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        var logstash = Ovh.Dbaas.GetLogsInputEngine.Invoke(new()
        {
            IsDeprecated = true,
            Name = "logstash",
            ServiceName = "ldp-xx-xxxxx",
            Version = "6.8",
        });
    
    });
    
    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 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()
                .isDeprecated(true)
                .name("logstash")
                .serviceName("ldp-xx-xxxxx")
                .version("6.8")
                .build());
    
        }
    }
    
    variables:
      logstash:
        fn::invoke:
          Function: ovh:Dbaas:getLogsInputEngine
          Arguments:
            isDeprecated: true
            name: logstash
            serviceName: ldp-xx-xxxxx
            version: '6.8'
    

    Using getLogsInputEngine

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLogsInputEngine(args: GetLogsInputEngineArgs, opts?: InvokeOptions): Promise<GetLogsInputEngineResult>
    function getLogsInputEngineOutput(args: GetLogsInputEngineOutputArgs, opts?: InvokeOptions): Output<GetLogsInputEngineResult>
    def get_logs_input_engine(is_deprecated: Optional[bool] = None,
                              name: Optional[str] = None,
                              service_name: Optional[str] = None,
                              version: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetLogsInputEngineResult
    def get_logs_input_engine_output(is_deprecated: Optional[pulumi.Input[bool]] = None,
                              name: Optional[pulumi.Input[str]] = None,
                              service_name: Optional[pulumi.Input[str]] = None,
                              version: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetLogsInputEngineResult]
    func GetLogsInputEngine(ctx *Context, args *GetLogsInputEngineArgs, opts ...InvokeOption) (*GetLogsInputEngineResult, error)
    func GetLogsInputEngineOutput(ctx *Context, args *GetLogsInputEngineOutputArgs, opts ...InvokeOption) GetLogsInputEngineResultOutput

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

    public static class GetLogsInputEngine 
    {
        public static Task<GetLogsInputEngineResult> InvokeAsync(GetLogsInputEngineArgs args, InvokeOptions? opts = null)
        public static Output<GetLogsInputEngineResult> Invoke(GetLogsInputEngineInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLogsInputEngineResult> getLogsInputEngine(GetLogsInputEngineArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: ovh:Dbaas/getLogsInputEngine:getLogsInputEngine
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ServiceName string
    The service name. It's the ID of your Logs Data Platform instance.
    IsDeprecated bool
    Indicates if engine will soon not be supported.
    Name string
    The name of the logs input engine.
    Version string
    Software version
    ServiceName string
    The service name. It's the ID of your Logs Data Platform instance.
    IsDeprecated bool
    Indicates if engine will soon not be supported.
    Name string
    The name of the logs input engine.
    Version string
    Software version
    serviceName String
    The service name. It's the ID of your Logs Data Platform instance.
    isDeprecated Boolean
    Indicates if engine will soon not be supported.
    name String
    The name of the logs input engine.
    version String
    Software version
    serviceName string
    The service name. It's the ID of your Logs Data Platform instance.
    isDeprecated boolean
    Indicates if engine will soon not be supported.
    name string
    The name of the logs input engine.
    version string
    Software version
    service_name str
    The service name. It's the ID of your Logs Data Platform instance.
    is_deprecated bool
    Indicates if engine will soon not be supported.
    name str
    The name of the logs input engine.
    version str
    Software version
    serviceName String
    The service name. It's the ID of your Logs Data Platform instance.
    isDeprecated Boolean
    Indicates if engine will soon not be supported.
    name String
    The name of the logs input engine.
    version String
    Software version

    getLogsInputEngine Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    IsDeprecated bool
    Name string
    ServiceName string
    Version string
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDeprecated bool
    Name string
    ServiceName string
    Version string
    id String
    The provider-assigned unique ID for this managed resource.
    isDeprecated Boolean
    name String
    serviceName String
    version String
    id string
    The provider-assigned unique ID for this managed resource.
    isDeprecated boolean
    name string
    serviceName string
    version string
    id str
    The provider-assigned unique ID for this managed resource.
    is_deprecated bool
    name str
    service_name str
    version str
    id String
    The provider-assigned unique ID for this managed resource.
    isDeprecated Boolean
    name String
    serviceName String
    version String

    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 v0.50.0 published on Friday, Sep 20, 2024 by OVHcloud