datadog.getLogsIndexesOrder
Explore with Pulumi AI
Get the current order of your log indexes.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datadog = Pulumi.Datadog;
return await Deployment.RunAsync(() =>
{
var test = Datadog.GetLogsIndexesOrder.Invoke();
});
package main
import (
"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datadog.GetLogsIndexesOrder(ctx, nil, 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.datadog.DatadogFunctions;
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 test = DatadogFunctions.getLogsIndexesOrder();
}
}
import pulumi
import pulumi_datadog as datadog
test = datadog.get_logs_indexes_order()
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
const test = datadog.getLogsIndexesOrder({});
variables:
test:
fn::invoke:
Function: datadog:getLogsIndexesOrder
Arguments: {}
Using getLogsIndexesOrder
function getLogsIndexesOrder(opts?: InvokeOptions): Promise<GetLogsIndexesOrderResult>
def get_logs_indexes_order(opts: Optional[InvokeOptions] = None) -> GetLogsIndexesOrderResult
func GetLogsIndexesOrder(ctx *Context, opts ...InvokeOption) (*GetLogsIndexesOrderResult, error)
> Note: This function is named GetLogsIndexesOrder
in the Go SDK.
public static class GetLogsIndexesOrder
{
public static Task<GetLogsIndexesOrderResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetLogsIndexesOrderResult> getLogsIndexesOrder(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: datadog:index/getLogsIndexesOrder:getLogsIndexesOrder
arguments:
# arguments dictionary
getLogsIndexesOrder Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Index
Names List<string> Array of strings identifying by their name(s) the index(es) of your organization. Logs are tested against the query filter of each index one by one, following the order of the array. Logs are eventually stored in the first matching index.
- Id string
The provider-assigned unique ID for this managed resource.
- Index
Names []string Array of strings identifying by their name(s) the index(es) of your organization. Logs are tested against the query filter of each index one by one, following the order of the array. Logs are eventually stored in the first matching index.
- id String
The provider-assigned unique ID for this managed resource.
- index
Names List<String> Array of strings identifying by their name(s) the index(es) of your organization. Logs are tested against the query filter of each index one by one, following the order of the array. Logs are eventually stored in the first matching index.
- id string
The provider-assigned unique ID for this managed resource.
- index
Names string[] Array of strings identifying by their name(s) the index(es) of your organization. Logs are tested against the query filter of each index one by one, following the order of the array. Logs are eventually stored in the first matching index.
- id str
The provider-assigned unique ID for this managed resource.
- index_
names Sequence[str] Array of strings identifying by their name(s) the index(es) of your organization. Logs are tested against the query filter of each index one by one, following the order of the array. Logs are eventually stored in the first matching index.
- id String
The provider-assigned unique ID for this managed resource.
- index
Names List<String> Array of strings identifying by their name(s) the index(es) of your organization. Logs are tested against the query filter of each index one by one, following the order of the array. Logs are eventually stored in the first matching index.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
datadog
Terraform Provider.