Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
Use this data source to retrieve UUIDs of DBaas logs clusters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const logstash = ovh.Dbaas.getLogsClusters({
serviceName: "ldp-xx-xxxxx",
});
import pulumi
import pulumi_ovh as ovh
logstash = ovh.Dbaas.get_logs_clusters(service_name="ldp-xx-xxxxx")
package main
import (
"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dbaas.GetLogsClusters(ctx, &dbaas.GetLogsClustersArgs{
ServiceName: "ldp-xx-xxxxx",
}, 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.GetLogsClusters.Invoke(new()
{
ServiceName = "ldp-xx-xxxxx",
});
});
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.GetLogsClustersArgs;
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.getLogsClusters(GetLogsClustersArgs.builder()
.serviceName("ldp-xx-xxxxx")
.build());
}
}
variables:
logstash:
fn::invoke:
function: ovh:Dbaas:getLogsClusters
arguments:
serviceName: ldp-xx-xxxxx
Using getLogsClusters
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 getLogsClusters(args: GetLogsClustersArgs, opts?: InvokeOptions): Promise<GetLogsClustersResult>
function getLogsClustersOutput(args: GetLogsClustersOutputArgs, opts?: InvokeOptions): Output<GetLogsClustersResult>def get_logs_clusters(service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLogsClustersResult
def get_logs_clusters_output(service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogsClustersResult]func GetLogsClusters(ctx *Context, args *GetLogsClustersArgs, opts ...InvokeOption) (*GetLogsClustersResult, error)
func GetLogsClustersOutput(ctx *Context, args *GetLogsClustersOutputArgs, opts ...InvokeOption) GetLogsClustersResultOutput> Note: This function is named GetLogsClusters in the Go SDK.
public static class GetLogsClusters
{
public static Task<GetLogsClustersResult> InvokeAsync(GetLogsClustersArgs args, InvokeOptions? opts = null)
public static Output<GetLogsClustersResult> Invoke(GetLogsClustersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLogsClustersResult> getLogsClusters(GetLogsClustersArgs args, InvokeOptions options)
public static Output<GetLogsClustersResult> getLogsClusters(GetLogsClustersArgs args, InvokeOptions options)
fn::invoke:
function: ovh:Dbaas/getLogsClusters:getLogsClusters
arguments:
# arguments dictionaryThe following arguments are supported:
- Service
Name string - The service name. It's the ID of your Logs Data Platform instance.
- Service
Name string - The service name. It's the ID of your Logs Data Platform instance.
- service
Name String - The service name. It's the ID of your Logs Data Platform instance.
- service
Name string - The service name. It's the ID of your Logs Data Platform instance.
- service_
name str - The service name. It's the ID of your Logs Data Platform instance.
- service
Name String - The service name. It's the ID of your Logs Data Platform instance.
getLogsClusters Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string - Urn string
- Uuids List<string>
- is the cluster id
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string - Urn string
- Uuids []string
- is the cluster id
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String - urn String
- uuids List<String>
- is the cluster id
- id string
- The provider-assigned unique ID for this managed resource.
- service
Name string - urn string
- uuids string[]
- is the cluster id
- id str
- The provider-assigned unique ID for this managed resource.
- service_
name str - urn str
- uuids Sequence[str]
- is the cluster id
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String - urn String
- uuids List<String>
- is the cluster id
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
