LogTailConfig

Create a LogTailConfig Resource

def LogTailConfig(resource_name, opts=None, input_detail=None, input_type=None, log_sample=None, logstore=None, name=None, output_type=None, project=None, __props__=None);
name string
The unique name of the resource.
args LogTailConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args LogTailConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args LogTailConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

LogTailConfig Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The LogTailConfig resource accepts the following input properties:

InputDetail string

The logtail configure the required JSON files. (Refer to details)

InputType string

The input type. Currently only two types of files and plugin are supported.

Logstore string

The log store name to the query index belongs.

OutputType string

The output type. Currently, only LogService is supported.

Project string

The project name to the log store belongs.

LogSample string

(Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.

Name string

The Logtail configuration name, which is unique in the same project.

InputDetail string

The logtail configure the required JSON files. (Refer to details)

InputType string

The input type. Currently only two types of files and plugin are supported.

Logstore string

The log store name to the query index belongs.

OutputType string

The output type. Currently, only LogService is supported.

Project string

The project name to the log store belongs.

LogSample string

(Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.

Name string

The Logtail configuration name, which is unique in the same project.

inputDetail string

The logtail configure the required JSON files. (Refer to details)

inputType string

The input type. Currently only two types of files and plugin are supported.

logstore string

The log store name to the query index belongs.

outputType string

The output type. Currently, only LogService is supported.

project string

The project name to the log store belongs.

logSample string

(Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.

name string

The Logtail configuration name, which is unique in the same project.

input_detail str

The logtail configure the required JSON files. (Refer to details)

input_type str

The input type. Currently only two types of files and plugin are supported.

logstore str

The log store name to the query index belongs.

output_type str

The output type. Currently, only LogService is supported.

project str

The project name to the log store belongs.

log_sample str

(Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.

name str

The Logtail configuration name, which is unique in the same project.

Outputs

All input properties are implicitly available as output properties. Additionally, the LogTailConfig resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing LogTailConfig Resource

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

public static get(name: string, id: Input<ID>, state?: LogTailConfigState, opts?: CustomResourceOptions): LogTailConfig
static get(resource_name, id, opts=None, input_detail=None, input_type=None, log_sample=None, logstore=None, name=None, output_type=None, project=None, __props__=None);
func GetLogTailConfig(ctx *Context, name string, id IDInput, state *LogTailConfigState, opts ...ResourceOption) (*LogTailConfig, error)
public static LogTailConfig Get(string name, Input<string> id, LogTailConfigState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

InputDetail string

The logtail configure the required JSON files. (Refer to details)

InputType string

The input type. Currently only two types of files and plugin are supported.

LogSample string

(Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.

Logstore string

The log store name to the query index belongs.

Name string

The Logtail configuration name, which is unique in the same project.

OutputType string

The output type. Currently, only LogService is supported.

Project string

The project name to the log store belongs.

InputDetail string

The logtail configure the required JSON files. (Refer to details)

InputType string

The input type. Currently only two types of files and plugin are supported.

LogSample string

(Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.

Logstore string

The log store name to the query index belongs.

Name string

The Logtail configuration name, which is unique in the same project.

OutputType string

The output type. Currently, only LogService is supported.

Project string

The project name to the log store belongs.

inputDetail string

The logtail configure the required JSON files. (Refer to details)

inputType string

The input type. Currently only two types of files and plugin are supported.

logSample string

(Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.

logstore string

The log store name to the query index belongs.

name string

The Logtail configuration name, which is unique in the same project.

outputType string

The output type. Currently, only LogService is supported.

project string

The project name to the log store belongs.

input_detail str

The logtail configure the required JSON files. (Refer to details)

input_type str

The input type. Currently only two types of files and plugin are supported.

log_sample str

(Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.

logstore str

The log store name to the query index belongs.

name str

The Logtail configuration name, which is unique in the same project.

output_type str

The output type. Currently, only LogService is supported.

project str

The project name to the log store belongs.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.