Datadog

Pulumi Official
Package maintained by Pulumi
v4.10.0 published on Monday, Jul 25, 2022 by Pulumi

getLogsIndexesOrder

Get the current order of your log indexes.

Example Usage

using Pulumi;
using Datadog = Pulumi.Datadog;

class MyStack : Stack
{
    public MyStack()
    {
        var test = Output.Create(Datadog.GetLogsIndexesOrder.InvokeAsync());
    }

}
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 java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var test = Output.of(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 = pulumi.output(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.

IndexNames List<string>
Id string

The provider-assigned unique ID for this managed resource.

IndexNames []string
id String

The provider-assigned unique ID for this managed resource.

indexNames List<String>
id string

The provider-assigned unique ID for this managed resource.

indexNames string[]
id str

The provider-assigned unique ID for this managed resource.

index_names Sequence[str]
id String

The provider-assigned unique ID for this managed resource.

indexNames List<String>

Package Details

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

This Pulumi package is based on the datadog Terraform Provider.