Alibaba Cloud

v3.28.0 published on Tuesday, Aug 16, 2022 by Pulumi

LogTailConfig

Import

Logtial config can be imported using the id, e.g.

 $ pulumi import alicloud:log/logTailConfig:LogTailConfig example tf-log:tf-log-store:tf-log-config

Create LogTailConfig Resource

new LogTailConfig(name: string, args: LogTailConfigArgs, opts?: CustomResourceOptions);
@overload
def LogTailConfig(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  input_detail: Optional[str] = None,
                  input_type: Optional[str] = None,
                  log_sample: Optional[str] = None,
                  logstore: Optional[str] = None,
                  name: Optional[str] = None,
                  output_type: Optional[str] = None,
                  project: Optional[str] = None)
@overload
def LogTailConfig(resource_name: str,
                  args: LogTailConfigArgs,
                  opts: Optional[ResourceOptions] = None)
func NewLogTailConfig(ctx *Context, name string, args LogTailConfigArgs, opts ...ResourceOption) (*LogTailConfig, error)
public LogTailConfig(string name, LogTailConfigArgs args, CustomResourceOptions? opts = null)
public LogTailConfig(String name, LogTailConfigArgs args)
public LogTailConfig(String name, LogTailConfigArgs args, CustomResourceOptions options)
type: alicloud:log:LogTailConfig
properties: # The arguments to resource properties.
options: # 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.
resource_name str
The unique name of the resource.
args LogTailConfigArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control 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.
name String
The unique name of the resource.
args LogTailConfigArgs
The arguments to resource properties.
options 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 Architecture and Concepts 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.

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.

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.

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 string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up 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
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        input_detail: Optional[str] = None,
        input_type: Optional[str] = None,
        log_sample: Optional[str] = None,
        logstore: Optional[str] = None,
        name: Optional[str] = None,
        output_type: Optional[str] = None,
        project: Optional[str] = None) -> LogTailConfig
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)
public static LogTailConfig get(String name, Output<String> id, LogTailConfigState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
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.

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.

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.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.