LogTailConfig
Create a LogTailConfig Resource
new LogTailConfig(name: string, args: LogTailConfigArgs, opts?: CustomResourceOptions);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);func NewLogTailConfig(ctx *Context, name string, args LogTailConfigArgs, opts ...ResourceOption) (*LogTailConfig, error)public LogTailConfig(string name, LogTailConfigArgs args, CustomResourceOptions? opts = null)- 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:
- Input
Detail string The logtail configure the required JSON files. (Refer to details)
- Input
Type 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.
- Output
Type string The output type. Currently, only LogService is supported.
- Project string
The project name to the log store belongs.
- Log
Sample 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 string The logtail configure the required JSON files. (Refer to details)
- Input
Type 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.
- Output
Type string The output type. Currently, only LogService is supported.
- Project string
The project name to the log store belongs.
- Log
Sample 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 string The logtail configure the required JSON files. (Refer to details)
- input
Type 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.
- output
Type string The output type. Currently, only LogService is supported.
- project string
The project name to the log store belongs.
- log
Sample 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:
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): LogTailConfigstatic 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:
- Input
Detail string The logtail configure the required JSON files. (Refer to details)
- Input
Type string The input type. Currently only two types of files and plugin are supported.
- Log
Sample 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.
- Output
Type string The output type. Currently, only LogService is supported.
- Project string
The project name to the log store belongs.
- Input
Detail string The logtail configure the required JSON files. (Refer to details)
- Input
Type string The input type. Currently only two types of files and plugin are supported.
- Log
Sample 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.
- Output
Type string The output type. Currently, only LogService is supported.
- Project string
The project name to the log store belongs.
- input
Detail string The logtail configure the required JSON files. (Refer to details)
- input
Type string The input type. Currently only two types of files and plugin are supported.
- log
Sample 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.
- output
Type 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
alicloudTerraform Provider.