Class LogTailConfig
Inherited Members
Namespace: Pulumi.AliCloud.Log
Assembly: Pulumi.AliCloud.dll
Syntax
public class LogTailConfig : CustomResource
Constructors
View SourceLogTailConfig(String, LogTailConfigArgs, CustomResourceOptions)
Create a LogTailConfig resource with the given unique name, arguments, and options.
Declaration
public LogTailConfig(string name, LogTailConfigArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| LogTailConfigArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceInputDetail
The logtail configure the required JSON files. (Refer to details)
Declaration
public Output<string> InputDetail { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
InputType
The input type. Currently only two types of files and plugin are supported.
Declaration
public Output<string> InputType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LogSample
(Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.
Declaration
public Output<string> LogSample { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Logstore
The log store name to the query index belongs.
Declaration
public Output<string> Logstore { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The Logtail configuration name, which is unique in the same project.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OutputType
The output type. Currently, only LogService is supported.
Declaration
public Output<string> OutputType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Project
The project name to the log store belongs.
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, LogTailConfigState, CustomResourceOptions)
Get an existing LogTailConfig resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static LogTailConfig Get(string name, Input<string> id, LogTailConfigState 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. |
| LogTailConfigState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| LogTailConfig |