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 information about a DBaas logs output opensearch index.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const index = ovh.Dbaas.getLogsOutputOpenSearchIndex({
serviceName: "ldp-xx-xxxxx",
name: "index-name",
});
import pulumi
import pulumi_ovh as ovh
index = ovh.Dbaas.get_logs_output_open_search_index(service_name="ldp-xx-xxxxx",
name="index-name")
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.GetLogsOutputOpenSearchIndex(ctx, &dbaas.GetLogsOutputOpenSearchIndexArgs{
ServiceName: "ldp-xx-xxxxx",
Name: "index-name",
}, 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 index = Ovh.Dbaas.GetLogsOutputOpenSearchIndex.Invoke(new()
{
ServiceName = "ldp-xx-xxxxx",
Name = "index-name",
});
});
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.GetLogsOutputOpenSearchIndexArgs;
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 index = DbaasFunctions.getLogsOutputOpenSearchIndex(GetLogsOutputOpenSearchIndexArgs.builder()
.serviceName("ldp-xx-xxxxx")
.name("index-name")
.build());
}
}
variables:
index:
fn::invoke:
function: ovh:Dbaas:getLogsOutputOpenSearchIndex
arguments:
serviceName: ldp-xx-xxxxx
name: index-name
Using getLogsOutputOpenSearchIndex
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 getLogsOutputOpenSearchIndex(args: GetLogsOutputOpenSearchIndexArgs, opts?: InvokeOptions): Promise<GetLogsOutputOpenSearchIndexResult>
function getLogsOutputOpenSearchIndexOutput(args: GetLogsOutputOpenSearchIndexOutputArgs, opts?: InvokeOptions): Output<GetLogsOutputOpenSearchIndexResult>def get_logs_output_open_search_index(name: Optional[str] = None,
nb_shard: Optional[int] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLogsOutputOpenSearchIndexResult
def get_logs_output_open_search_index_output(name: Optional[pulumi.Input[str]] = None,
nb_shard: Optional[pulumi.Input[int]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogsOutputOpenSearchIndexResult]func LookupLogsOutputOpenSearchIndex(ctx *Context, args *LookupLogsOutputOpenSearchIndexArgs, opts ...InvokeOption) (*LookupLogsOutputOpenSearchIndexResult, error)
func LookupLogsOutputOpenSearchIndexOutput(ctx *Context, args *LookupLogsOutputOpenSearchIndexOutputArgs, opts ...InvokeOption) LookupLogsOutputOpenSearchIndexResultOutput> Note: This function is named LookupLogsOutputOpenSearchIndex in the Go SDK.
public static class GetLogsOutputOpenSearchIndex
{
public static Task<GetLogsOutputOpenSearchIndexResult> InvokeAsync(GetLogsOutputOpenSearchIndexArgs args, InvokeOptions? opts = null)
public static Output<GetLogsOutputOpenSearchIndexResult> Invoke(GetLogsOutputOpenSearchIndexInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLogsOutputOpenSearchIndexResult> getLogsOutputOpenSearchIndex(GetLogsOutputOpenSearchIndexArgs args, InvokeOptions options)
public static Output<GetLogsOutputOpenSearchIndexResult> getLogsOutputOpenSearchIndex(GetLogsOutputOpenSearchIndexArgs args, InvokeOptions options)
fn::invoke:
function: ovh:Dbaas/getLogsOutputOpenSearchIndex:getLogsOutputOpenSearchIndex
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- Index name
- Service
Name string - The service name. It's the ID of your Logs Data Platform instance.
- Nb
Shard int - Number of shard
- Name string
- Index name
- Service
Name string - The service name. It's the ID of your Logs Data Platform instance.
- Nb
Shard int - Number of shard
- name String
- Index name
- service
Name String - The service name. It's the ID of your Logs Data Platform instance.
- nb
Shard Integer - Number of shard
- name string
- Index name
- service
Name string - The service name. It's the ID of your Logs Data Platform instance.
- nb
Shard number - Number of shard
- name str
- Index name
- service_
name str - The service name. It's the ID of your Logs Data Platform instance.
- nb_
shard int - Number of shard
- name String
- Index name
- service
Name String - The service name. It's the ID of your Logs Data Platform instance.
- nb
Shard Number - Number of shard
getLogsOutputOpenSearchIndex Result
The following output properties are available:
- Alert
Notify boolEnabled - If set, notify when size is near 80, 90 or 100 % of its maximum capacity
- Created
At string - Index creation
- Current
Size int - Current index size (in bytes)
- Description string
- Index description
- Id string
- The provider-assigned unique ID for this managed resource.
- Index
Id string - Index ID
- Is
Editable bool - Indicates if you are allowed to edit entry
- Max
Size int - Maximum index size (in bytes)
- Name string
- Index name
- Nb
Shard int - Number of shard
- Service
Name string - Updated
At string - Index last update
- Alert
Notify boolEnabled - If set, notify when size is near 80, 90 or 100 % of its maximum capacity
- Created
At string - Index creation
- Current
Size int - Current index size (in bytes)
- Description string
- Index description
- Id string
- The provider-assigned unique ID for this managed resource.
- Index
Id string - Index ID
- Is
Editable bool - Indicates if you are allowed to edit entry
- Max
Size int - Maximum index size (in bytes)
- Name string
- Index name
- Nb
Shard int - Number of shard
- Service
Name string - Updated
At string - Index last update
- alert
Notify BooleanEnabled - If set, notify when size is near 80, 90 or 100 % of its maximum capacity
- created
At String - Index creation
- current
Size Integer - Current index size (in bytes)
- description String
- Index description
- id String
- The provider-assigned unique ID for this managed resource.
- index
Id String - Index ID
- is
Editable Boolean - Indicates if you are allowed to edit entry
- max
Size Integer - Maximum index size (in bytes)
- name String
- Index name
- nb
Shard Integer - Number of shard
- service
Name String - updated
At String - Index last update
- alert
Notify booleanEnabled - If set, notify when size is near 80, 90 or 100 % of its maximum capacity
- created
At string - Index creation
- current
Size number - Current index size (in bytes)
- description string
- Index description
- id string
- The provider-assigned unique ID for this managed resource.
- index
Id string - Index ID
- is
Editable boolean - Indicates if you are allowed to edit entry
- max
Size number - Maximum index size (in bytes)
- name string
- Index name
- nb
Shard number - Number of shard
- service
Name string - updated
At string - Index last update
- alert_
notify_ boolenabled - If set, notify when size is near 80, 90 or 100 % of its maximum capacity
- created_
at str - Index creation
- current_
size int - Current index size (in bytes)
- description str
- Index description
- id str
- The provider-assigned unique ID for this managed resource.
- index_
id str - Index ID
- is_
editable bool - Indicates if you are allowed to edit entry
- max_
size int - Maximum index size (in bytes)
- name str
- Index name
- nb_
shard int - Number of shard
- service_
name str - updated_
at str - Index last update
- alert
Notify BooleanEnabled - If set, notify when size is near 80, 90 or 100 % of its maximum capacity
- created
At String - Index creation
- current
Size Number - Current index size (in bytes)
- description String
- Index description
- id String
- The provider-assigned unique ID for this managed resource.
- index
Id String - Index ID
- is
Editable Boolean - Indicates if you are allowed to edit entry
- max
Size Number - Maximum index size (in bytes)
- name String
- Index name
- nb
Shard Number - Number of shard
- service
Name String - updated
At String - Index last update
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
