Ovh

v0.0.4 published on Saturday, Sep 17, 2022 by lbrlabs

getDbaasLogsInputEngine

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

Example Usage

using System.Collections.Generic;
using Pulumi;
using Ovh = Pulumi.Ovh;

return await Deployment.RunAsync(() => 
{
    var logstash = Ovh.GetDbaasLogsInputEngine.Invoke(new()
    {
        IsDeprecated = true,
        Name = "logstash",
        Version = "6.8",
    });

});
package main

import (
	"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ovh.GetDbaasLogsInputEngine(ctx, &GetDbaasLogsInputEngineArgs{
			IsDeprecated: pulumi.BoolRef(true),
			Name:         pulumi.StringRef("logstash"),
			Version:      pulumi.StringRef("6.8"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.OvhFunctions;
import com.pulumi.ovh.inputs.GetDbaasLogsInputEngineArgs;
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 = OvhFunctions.getDbaasLogsInputEngine(GetDbaasLogsInputEngineArgs.builder()
            .isDeprecated(true)
            .name("logstash")
            .version("6.8")
            .build());

    }
}
import pulumi
import pulumi_ovh as ovh

logstash = ovh.get_dbaas_logs_input_engine(is_deprecated=True,
    name="logstash",
    version="6.8")
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";

const logstash = pulumi.output(ovh.getDbaasLogsInputEngine({
    isDeprecated: true,
    name: "logstash",
    version: "6.8",
}));
variables:
  logstash:
    Fn::Invoke:
      Function: ovh:getDbaasLogsInputEngine
      Arguments:
        isDeprecated: true
        name: logstash
        version: 6.8

Using getDbaasLogsInputEngine

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 getDbaasLogsInputEngine(args: GetDbaasLogsInputEngineArgs, opts?: InvokeOptions): Promise<GetDbaasLogsInputEngineResult>
function getDbaasLogsInputEngineOutput(args: GetDbaasLogsInputEngineOutputArgs, opts?: InvokeOptions): Output<GetDbaasLogsInputEngineResult>
def get_dbaas_logs_input_engine(is_deprecated: Optional[bool] = None,
                                name: Optional[str] = None,
                                version: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetDbaasLogsInputEngineResult
def get_dbaas_logs_input_engine_output(is_deprecated: Optional[pulumi.Input[bool]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                version: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetDbaasLogsInputEngineResult]
func GetDbaasLogsInputEngine(ctx *Context, args *GetDbaasLogsInputEngineArgs, opts ...InvokeOption) (*GetDbaasLogsInputEngineResult, error)
func GetDbaasLogsInputEngineOutput(ctx *Context, args *GetDbaasLogsInputEngineOutputArgs, opts ...InvokeOption) GetDbaasLogsInputEngineResultOutput

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

public static class GetDbaasLogsInputEngine 
{
    public static Task<GetDbaasLogsInputEngineResult> InvokeAsync(GetDbaasLogsInputEngineArgs args, InvokeOptions? opts = null)
    public static Output<GetDbaasLogsInputEngineResult> Invoke(GetDbaasLogsInputEngineInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDbaasLogsInputEngineResult> getDbaasLogsInputEngine(GetDbaasLogsInputEngineArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: ovh:index/getDbaasLogsInputEngine:getDbaasLogsInputEngine
  Arguments:
    # Arguments dictionary

The following arguments are supported:

IsDeprecated bool

Indicates if engine will soon not be supported.

Name string

The name of the logs input engine.

Version string

Software version

IsDeprecated bool

Indicates if engine will soon not be supported.

Name string

The name of the logs input engine.

Version string

Software version

isDeprecated Boolean

Indicates if engine will soon not be supported.

name String

The name of the logs input engine.

version String

Software version

isDeprecated boolean

Indicates if engine will soon not be supported.

name string

The name of the logs input engine.

version string

Software version

is_deprecated bool

Indicates if engine will soon not be supported.

name str

The name of the logs input engine.

version str

Software version

isDeprecated Boolean

Indicates if engine will soon not be supported.

name String

The name of the logs input engine.

version String

Software version

getDbaasLogsInputEngine Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

IsDeprecated bool
Name string
Version string
Id string

The provider-assigned unique ID for this managed resource.

IsDeprecated bool
Name string
Version string
id String

The provider-assigned unique ID for this managed resource.

isDeprecated Boolean
name String
version String
id string

The provider-assigned unique ID for this managed resource.

isDeprecated boolean
name string
version string
id str

The provider-assigned unique ID for this managed resource.

is_deprecated bool
name str
version str
id String

The provider-assigned unique ID for this managed resource.

isDeprecated Boolean
name String
version String

Package Details

Repository
https://github.com/lbrlabs/pulumi-ovh
License
Apache-2.0
Notes

This Pulumi package is based on the ovh Terraform Provider.