Show / Hide Table of Contents

Class LogsIndexOrder

Provides a Datadog Logs Index API resource. This can be used to manage the order of Datadog logs indexes.

Example Usage

using Pulumi;
using Datadog = Pulumi.Datadog;

class MyStack : Stack
{
public MyStack()
{
    var sampleIndexOrder = new Datadog.LogsIndexOrder("sampleIndexOrder", new Datadog.LogsIndexOrderArgs
    {
        Name = "sample_index_order",
        Indexes = 
        {
            datadog_logs_index.Sample_index.Id,
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
LogsIndexOrder
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Datadog
Assembly: Pulumi.Datadog.dll
Syntax
public class LogsIndexOrder : CustomResource

Constructors

View Source

LogsIndexOrder(String, LogsIndexOrderArgs, CustomResourceOptions)

Create a LogsIndexOrder resource with the given unique name, arguments, and options.

Declaration
public LogsIndexOrder(string name, LogsIndexOrderArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

LogsIndexOrderArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Indexes

The index resource list. Logs are tested against the query filter of each index one by one following the order of the list.

Declaration
public Output<ImmutableArray<string>> Indexes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Name

The unique name of the index order resource.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, LogsIndexOrderState, CustomResourceOptions)

Get an existing LogsIndexOrder resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static LogsIndexOrder Get(string name, Input<string> id, LogsIndexOrderState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

LogsIndexOrderState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
LogsIndexOrder
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.