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,
},
});
}
}
Inherited Members
Namespace: Pulumi.Datadog
Assembly: Pulumi.Datadog.dll
Syntax
public class LogsIndexOrder : CustomResource
Constructors
View SourceLogsIndexOrder(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 SourceIndexes
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>> |
Name
The unique name of the index order resource.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(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 |